试题与答案

以下哪一个不是栈的基本运算A.删除栈顶元素 B.删除栈底元素 C.判断栈是否为空 D

题型:单项选择题

题目:

以下哪一个不是栈的基本运算

A.删除栈顶元素

B.删除栈底元素

C.判断栈是否为空

D.将栈置为空栈

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/1202/284f3d31ea192a55b5b0dd6c0523523e.html

下面是错误答案,用来干扰机器的。

参考答案:C

试题推荐
题型:完形填空
完形填空。
     Why did I come today? I wondered. My Christmas   1   contained several people that claimed they wanted
nothing, but I knew their feelings would be hurt   2   I didn't buy them anything, so gift buying was   3   but
fun.
     Hurriedly and   4  , I finished shopping and joined the long checkout lines. In front of me were a boy of
about 5 and a younger girl. She carried a beautiful pair of shiny, gold house slippers. When we finally   5   the
checkout register, the girl   6   placed the shoes on the counter. She treated them as though they were a   7  .
     "That will be $6.09," the cashier said. The boy   8   his pockets. He finally came up with $3.12." I guess
we will have to put them back," he   9   said. "We will come back some time, maybe tomorrow."
     With that statement, a soft  10  broke from the little girl. "But Jesus would have loved these shoes," she
cried.
     "Well, we'll go home and work some more. Don't cry. We'll surely  11 ," he said.
     Quickly I handed $3.00 to the cashier. These children had waited in line for a long time. And,  12 , it was
Christmas. Suddenly a pair of arms came around me and a small voice  13  said, "Thank you, lady." 
     "What did you  14  when you said Jesus would like the shoes?" I asked. The boy answered, "Our mommy
is sick and going to  15 . Daddy said she might go before Christmas to be with Jesus. "The girl spoke," My
Sunday school teacher said the streets in heaven are shiny gold, just like these shoes. Won't mommy be  16  
walking on those streets to  17  these shoes?"
     My eyes  18  as I looked into her tear-stained face. "Yes," I answered, "I am  19  she will." Silently I
thanked God for using these children to  20  me of the true spirit of giving.
( )1. A. plan        
( )2. A. if         
( )3. A. something  
( )4. A. patiently  
( )5. A. approached   
( )6. A. immediately
( )7. A. gift       
( )8. A. opened     
( )9. A. bravely    
( )10. A. howl       
( )11. A. leave      
( )12. A. above all  
( )13. A. gralefully 
( )14. A. request      
( )15. A. hospital   
( )16. A. equal      
( )17. A. wear       
( )18. A. pained     
( )19. A. sure       
( )20. A. inform      
B. list           
B. because        
B. nothing      
B. unconfidently  
B. passed        
B. hesitantly     
B. treasure      
B. touched        
B. uncertainly   
B. sob             
B. come        
B. at last        
B. sweetly       
B. mean           
B. tomb           
B. comfortable     
B. match        
B. shut            
B. afraid       
B. warn          
C. goods        
C. unless       
C. anything     
C. unwillingly  
C. checked      
C. shyly      
C. life         
C. tore         
C. slowly        
C. smile          
C. return  
C. at least    
C. gracefully  
C. attempt     
C. heaven       
C. convenient      
C. show       
C. flooded      
C. glad        
C. cure       
D. purchases      
D. since          
D. everything     
D. curiously        
D. found           
D. carefully     
D. prize        
D. searched       
D. doubtfully                   
D. sigh               
D. arrive    
D. after all     
D. kindly        
D. expect         
D. sky            
D. beautiful      
D. fit            
D. dried            
D. confident      
D. remind     
查看答案
题型:材料分析题

“温饱”“小康”“总体小康”“全面小康”“共同富裕”“社会主义现代化”这些概念各有特征,也分别是我国社会主义现代化建设的阶段性目标。

结合所学知识,回答以下问题:

(1)社会主义的最终目标是什么?

________________________________________________________________________________

(2)这个目标的特征是什么?

________________________________________________________________________________

(3)如何实现上述目标?

________________________________________________________________________________

查看答案
题型:单项选择题

My Views on Gambling
Most of life is a gamble. Very many of the things we do involve taking some risk in order to achieve a satisfactory result. We undertake a new job with no idea of the more indirect consequences of our action. Marriage is certainly a gamble and so is the bringing into existence of children, who could prove sad liabilities. A journey, a business transaction, even a chance remark may result immediately or ultimately in tragedy. Perpetually we gamble-against life, destiny, chance, the unknown, call the invisible opponent what we will. Human survival and progress indicate that usually we win.
So the gambling instinct must be an elemental one. Taking risks to achieve something is a characteristic of all forms of life, including humanity. As soon as man acquired property, the challenge he habitually issued to destiny found an additional expression in a human contest. Early may well have staked his flint axe, his bearskin, his wife, in the hope of adding to his possessions. The acquirement of desirable but nonessential commodities must have increased his scope enormously, while the risk of complete disaster lessened.
So long as man was gambling against destiny, the odds were usually in his favor, especially when he used commonsense. But as the methods of gambling multiplied, the chances of success decreased. A wager against one person offered on average even chances and no third party profited by the transaction. But as soon as commercialized city life developed, mass gambling become common. Thousands of people now compete for large prizes, but with only minute chances of success, while the organizers of gambling concerns enjoy big profits with, in some cases, no risk at all. Few clients of the betting shops, football pools, state lotteries, bingo sessions, even charity raffles, realize fully the flimsiness of their chances and the fact that without fantastic luck they are certain to lose rather than gain.
Little irreparable harm results for the normal individual. That big business profits from the satisfaction of a human instinct is a common enough phenomenon. The average wage-earner, who leads a colorless existence, devotes a small percentage of his earnings to keeping alive with extraordinary constancy the dream of achieving some magic change in his life. Gambling is in most cases a non-toxic drug against boredom and apathy and may well preserve good temper, patience and optimism in dreary circumstances. A sudden windfall may unbalance a weaker, less intelligent person and even ruin his life. And the line of something for nothing as an ideal evokes criticism from the more rigidly upright representatives of the community. But few of us have the right to condemn as few of us can say we never gamble-even it is only investing a few pence a week in the firm’s football sweep or the church bazaar "lucky dip."
Trouble develops, however, when any human instinct or appetite becomes overdeveloped. Moderate drinking produces few harmful effects but drunkenness and alcoholism can have terrible consequences. With an unlucky combination of temperament and circumstances, gambling can only become an obsession, almost a form of insanity, resulting in the loss not only of a man’s property but of his self-respect and his conscience. Far worse are the sufferings of his dependants, deprived of material comfort and condemned to watching his deterioration and hopelessness. They share none of his feverish excitement or the exhilaration of his rare success. The fact that he does not wish to be cured makes psychological treatment of the gambling addict almost impossible. He will use any means, including stealing, to enable him to carry on. It might be possible to pay what salary he can earn to his wife for the family maintenance but this is clearly no solution. Nothing-education, home environment, other interest, wise discouragement-is likely to restrain the obsessed gambler and even when it is he alone who suffers the consequences, his disease is a cruel one, resulting in a wasted, unhappy life.
Even in the case of the more physically harmful of human indulgences, repressive legislation often merely increases the damage by causing more vicious activities designed to perpetuate the indulgence in secret. On the whole, though negative, gambling is no vice within reasonable limits. It would still exist in an ideal society. The most we can hope for is control over exaggerated profits resulting from its business exploitation, far more attention and research devoted to the unhappy gambling addict and the type of education which will encourage an interest in so many other constructive activities that gambling itself will lose its fascination as an opiate to a dreary existence. It could be regarded as an occasional mildly exciting game, never to be taken very seriously.

The bringing into existence of children is also a gamble because they may

A.be mentally retarded.

B.become our disappointment.

C.go against us.

D.become our opponents.

查看答案
微信公众账号搜索答案