问题 单项选择题

则以下叙述中正确的是 ______。

A.记录类型animal不能在Form1中定义,必须在标准模块中定义

B.由于Put命令中没有指明记录号,因此每次都把记录写到文件的末尾

C.Open "c:\vb Test.dat"For Random As # 1 Len=Len(reC)

D.语句"Put # 1,,rec"将animal类型的两个数据元素写到文件中

E.如果文件c:\vbTest.dat不存在,则Open命令执行失败

答案

参考答案:D

解析:[评析] 记录类型可以在标准模块中定义,也可以在窗体模块中定义。如果文件c:\vbTest.dat不存在,Open命令是可以执行的;随机访问模式中文件的写操作使用Put命令,其形式如下:Put[#]文件号,[记录号],变量名。其中:记录号是大于1的整数,表示写入的是第几条记录;如果忽略记录号,则表示在当前记录后插入一条记录。

完形填空
完形填空。
     What is the best way to study? This is a very important question. Some Chinese students often   1   very,
very hard for long hours. This is a   2  , but it is not a better way to study. An efficient (有效率的) student
must   3   enough sleep, enough food and enough rest. Every   4   you   5   to   6   your studies, you'll find
yourself stronger than before and you'll learn more.
     Perhaps we can   7   that learning English is   8   taking Chinese medicine. We don't mean that it's bitter
(苦). We mean that like "Chinese medicine, the efficiency (效率) of your study   9   slowly but surely  10 
 lowly, Slowly every day and effects will come just like Chinese medicine."
( )1. A. play   
(     )2. A. best   
(     )3. A. have   
(     )4. A. month  
(     )5. A. want   
(     )6. A. begin  
(     )7. A. say    
(     )8. A. about  
(     )9. A. returns
(     )10. A. sleep 
B. study  
B. better 
B. do     
B. week   
B. hope   
B. return 
B. guess  
B. on     
B. comes  
B. know       
C. sleep  
C. good    
C. want   
C. hour   
C. need      
C. go     
C. talk   
C. as     
C. gives  
C. learn  
D. think   
D. bad      
D. make     
D. day      
D. wish                        
D. are      
D. know     
D. like     
D. gets     
D. play     
填空题