问题 完形填空
完形填空。
     I grew up poor - living with six brothers, my father and a wonderful mother. We had   1  money and
few worldly goods, but plenty of love and attention. I was   2   and energetic. I understood that no matter
how poor a person was, they could   3   afford a dream.
     My dream was to be a   4  . When I was sixteen, I could crush a baseball, throw a ninety-mile-per-hour fastball. I was also   5  : my high - school coach was Ollie Jarvis, who   6  me the difference between having a dream and showing strong belief. One particular   7  with him changed my life forever.
     It was a summer and a friend recommended me for a summer   8  . This meant a chance for my first
income - cash for a new bike and new clothes, and the   9  of savings for a house for my mother. The
opportunity was attracting, and I wanted to   10   at it.
     Then I realized I would have to   11   summer baseball to handle the work schedule, and that meant I
would have to tell Coach Jarvis I wouldn't be playing. I was   12   about this.
     When I told Coach Jarvis, he was as   13  as I expected him to be. "You have your whole life to work," he said. "Your   14  days are limited. You can't afford to waste them."
     I stood before him with my head   15  , trying to think of how to explain to him why my dream of buying my mom a house and having money in my pocket was worth   16   his disappointment in me.
     "How much are you going to make at this job?" he demanded.
     "$ 3.25 an hour," I replied.
     "Well, is $ 3.25 an hour the price of a   17  ?" he asked.
     That   18  laid bare for me the difference between wanting something right now and having a goal. I
devoted myself to   19   that summer, and within the year I was offered a $ 20,000 contract. I signed with
the Denver Broncos in 1984 for $ 1.7 million, and bought my mother the   20  of my dreams.
( )1. A. some    
( )2. A. happy    
( )3. A. only    
( )4. A. teacher  
( )5. A. lucky    
( )6. A. taught  
( )7. A. match    
( )8. A. job      
( )9. A. cause    
( )10. A. stand  
( )11. A. take out
( )12. A. excited
( )13. A. mad    
( )14. A. working
( )15. A. shaking
( )16. A. feeling
( )17. A. dream  
( )18. A. offer  
( )19. A. study  
( )20. A. clothes
B. little
B. lovely
B. ever  
B. coach  
B. satisfied
B. asked  
B. story  
B. camp  
B. start  
B. call  
B. cut off
B. curious
B. puzzled
B. playing
B. hanging
B. suffering
B. game  
B. price  
B. sports
B. bike  
C. no     
C. angry  
C. still  
C. doctor  
C. hopeful
C. told    
C. moment  
C. holiday
C. need    
C. look    
C. put on  
C. anxious
C. regretful
C. learning
C. holding
C. facing  
C. chance  
C. question
C. homework
C. house  
D. much          
D. noisy        
D. almost        
D. sportsman    
D. surprised    
D. trained      
D. incident      
D. course        
D. amount        
D. jump          
D. give up      
D. disappointed  
D. discouraged  
D. shining      
D. nodding      
D. expressing    
D. life          
D. order        
D. business      
D. goods        
答案

1-5:  BACDA  6-10:  ADABD  11-15:  DCABB  16-20:  CACBC

问答题

【应用说明】 某应用程序可选择打开用户指定的文本文件,将其内容显示在指定的文本框内供用户编辑,并将编辑后的结果保存在用户指定的文件中。运行时的窗口如图6-1所示,其中有6个标签、一个驱动器列表框、一个目录列表框、一个文件列表框、一个文件类型组合框、一个文件编辑文本框、一个文件名文本框以及两个命令按钮。

该程序的开发要求如下。 (1)通过驱动器列表框(Drivel)、目录列表框(Dirl)和文件列表框(Filel),选择文件。 (2)文件类型组合框(Cmb_type)设置为下拉式列表框,其中有三个供选项,分别为“所有文件(*.*)”、“文本文件(*.txt)”和“可执行文件(*.exe)”。在文件列表框中列出的文件类型会自动与文件类型组合框中选择的文件类型相匹配。 (3)在文件列表框中单击一个文件名时,该文件名会显示在文件名文本框 (Txt filename)中。 (4)在文件列表框中双击一个文件名时,若是文本文件,则在文件编辑文本框 (Txt file)中显示该文件的内容并可进行编辑;若不是文本文件,则弹出一个对话框,提示“请选择文本文件!”。 (5)对于编辑后的文本文件,可在文件名文本框中输入新的文件名,并单击命令按钮(Cmd save)进行保存。【Visual Basic程序代码】 Private Sub Form_Load() Cmb_type.Addltem "所有文件(*.*)" Cmb_type.Addltem "文本文件(*.txt)" Cmb_type.Addltem "可执行文件(*.exe)" Cmb_type.ListIndex=0 Filel.Pattern="*.*": Txt_filename.Text=" " Txt_file.Text= " " End Sub Private Sub Dirl Change() Filel.Path= (1) End Sub Private Sub Drivel Change() Dirl.Path=Drivel.Drive End Sub Private Sub Cmb_type_click() Select Case Cmb_type. (2) Case 0 Filel.Pattern="*.*"Case 1 Filel.Pattern="*.txt"Case 2 Filel.Pattern="*.exe" End Select End Sub Private Sub Cmd_save_Click() usrFile=GetFileName() ’函数GetFileName获得要保存的文件名 Open usrFile For Output As #1 ’定义usrFile为1号输出文件 Print #1,Txt file.Text ’输出到1号文件 Close #1 End Sub Private Sub Filel_DblClick()If right(Filel.FileName,3)<> (3) Then MsgBox "请选择文本文件!" Exit SubEnd IfusrFile=GetFileName() ’函数GetFileName获得要打开的文件名Open usrFile For Input As #1’定义usrFile为1号输入文件Txt_file.Text=" "DO While (4) EOF(1) Line Input #l,fContext’从1号文件读入一行 Txt_file.Text;Txt file.Text + (5) +vbCrLfLoopClose #1 End Sub ’其他代码略

单项选择题