问题 单项选择题

在C盘当前文件夹下建立一个名为SDat.txt的顺序文件。要求用InputBox函数输入5名学生的学号(StuNo)、姓名(StuName)和英语成绩(StuEng)。则在下列横线处合适的语句是( )。 Private Sub Form_Click()Open "C:\SDat.txt" For Output As 1For i=1 To 5 StuNo=InputBox("请输入学号") StuName=InputBox("请输入姓名") StuEndg=Val(InputBox("请输入英语成绩"))Next iClose #1 End Sub

A.Input #1,StuNo,StuName,StuEndg

B.Put #1,StuNo,StuName,StuEndg

C.Vrite #1,StuNO,StuName,StuEndg

D.Get #1,StuNo,StuName,StuEndg

答案

参考答案:C

解析: 顺序文件的读操作使用Input语句,写操作使用Print或Write语句。 Write语句的正确格式为:Write#文件号,表达式表,各表达式之间用逗号隔开。 随机文件的写操作使用Put#语句,读操作使用Get#语句。

阅读理解

We live in a digital world now, and a student’s technology needs have changed. For the early years, when you are in primary school, you can get by with no technology at all. Even if you have a computer, it’s a good idea to get children familiar with libraries. At this age, trips to the library are like family outings.

As you get closer to middle school, a computer with Internet access becomes more of a necessity. Teachers will often give assignments that require a student to use the Internet for research. After a computer, technology choices for students become more difficult to make – especially when it comes to cell-phones. Kids will beg their parents for a cell-phone, especially in middle school. For many parents, it’s a safety issue: They want to know that their kids can reach them quickly if necessary. For teachers, cell phones can be used to record lessons when students are absent. But many teachers dislike cell-phones. Some kids send messages or have talks in the class. Sending messages also raises the problem of cheating on exams. More and more schools are now forbidding the use of cell-phones.

Many kids see iPods as necessary things to have. IPods are great for music, but do they do anything good for your children’s education? Maybe they do. That’s the opinion of Doug Johnson, an educator for 30 years. Johnson says that educators should accept all new forms of technology in the classroom, including iPods. “Some do more with their cell- phones than we can do with our laptops,” he jokes. “I don’t think we should be afraid. The truth is that it’s easier to change the way we teach than to change the technology habits of an entire generation.”

小题1:According to author, primary school children should___.

A.use the computer and the Internet regularly

B.ask their parents to buy them cell-phones

C.buy iPods to listen to music

D.go to libraries to read more books小题2:Why do parents agree to buy their children cell-phones?

A.They want their children to be cool.

B.They think cell-phones be helpful to their study.

C.They want to keep in touch with their children.

D.They want their children to keep up to date.小题3:The following are all reasons why many teachers dislike cell-phones EXCEPT ____.

A.cell-phones can be used to cheat on exams

B.schoolchildren will send messages during class

C.cell-phones can be used to record lessons

D.schoolchildren might talk on them during class小题4: What does the underlined word “that” refers to?

A.iPods can be used to listen to music.

B.iPods can be helpful for children’s education.

C.iPods can be used to play games.

D.iPods are necessary for children’s lives.小题5:We can infer from what Doug Johnson said that _____.

A.cell-phones are not useful to students

B.teachers should let students use cell-phones

C.it’s better for teachers to change their teaching methods

D.schoolchildren should follow the trends(潮流) of fashion

单项选择题