Section A
Directions: In this section, you will hear 8 short conversations and 2 long conversations. At the end of each conversation, one or more questions will be asked about what was said. Both the conversation and the questions will be spoken only once. After each question there will be a pause. During the pause, you must read the four choices marked A, B, C and D, and decide which is the best answer.
听力原文:M: What is Mr. Johnson going to do with his old house on Paris Road? Rent it or sell it?
W: I think he is thinking of turning it into a restaurant, which isn't a bad idea, because it's still a solid building.
Q: What will Mr. Johnson do with his old house?
(12)
A.He may convert it and use it as a restaurant.
B.He may pull it down and build a new restaurant.
C.He may rent it out for use as a restaurant.
D.He may sell it.
第1题
有如下程序:
Private type stu
X as string
Y as integer
End type
Private Sub Command1_Click()
Dim a as stu
a.x=”ABCD”
a.Y=12345
print a
End Sub
程序运行时出现错误,错误的原因是
A)Type定义语句没有放在标准模块中
B)变量声明语句有错
C)赋值语句不对
D)输出语句print不对
第2题
有如下程序:
Private Type stu
X As String
Y As Integer
End Type
Private Sub Command1 Click()
Dim a As stu
X="ABCD"
Y=12345
Print a
End Sub
程序运行时出现错误,错误的原因是()。
A.Type定义语句没有放在标准模块中
B.变量声明语句有错
C.赋值语句不对
D.输出语句Print不对
第3题
有如下语句: Type Student Name As String Age As Integer Sex As String End Type Dim Stu As Student With Stu .Name="张红" .Age=22 .Sex="女" End With 执行Print Stu.Age语句后的结果是
A.张红
B.22
C.“女”
D.Age
第4题
设有如下程序:
Private Sub Form. Click()
Dim i As Integer,x As String,y As String
x="ABCDEFG"
For i=4 To 1Step-1
y=Mid(X,i,i)+y
Next i
Print y
End Sub
程序运行后,单击窗体,输出结果为()。
A.ABCCDEDEFG
B.AABBCDEFG
C.ABCDEFG
D.AABBCCDDEEFFGG
第5题
由如下程序: Type Student Num As Integer Name As String * 13 End Type Dim stu(30)As Student 该程序段定义了两个程序成分,它们分别是 ______。
A.记录类型和记录数组
B.记录类型和记录变量
C.显示类型和记录数组
D.记录变量和记录数组
第6题
设有如下程序:
Private Sub Form_Click()
Dim i As Integer,x As String,Y As String
x=”ABCDEFG”
For i=4 To 1 Step-1
y=Mid(x,i,i)+y
Next i
Print y
End Sub
程序运行后,单击窗体,输出结果为
A.ABCCDEDEFG
B.AABBCDEFG
C.ABCDEFG
D.AABBCCDDEEFFGG
第7题
要建立一个随机文件记录学生的信息,如下定义了学生的记录类型,由学号、姓名、5门课程成绩(百分制)组成,下列的定义正确的是()。
A.Type sru no As Integer name As String score(1 To 5)As Single End Type
B.Type stu no As Integer name As String*10 score()As Single End Type
C.Type stu no As Integer name As String*10 score(1 To 5)As Single End Type
D.Type stu no As Integer name As String score()As Single End Type
第8题
要建立一个随机文件记录学生的信息,如下定义了学生的记录类型,由学号、姓名、5门课程成绩(百分制)组成,下列的定义正确的是()。
A.Type stu no As Integer name As String score(1 To 5)AS Single End Type
B.Type stu no As Integer name As String*10 score()As Single End Type
C.Type stu no As Integer name As String*10 score(1 To 5)As single End Type
D.Type stu no As Integer name As String score()As Single End Type
第9题
(13 )有如下用户定义类型及操作语句:
Type Student
SNo As String
SName As String
SAge As Integer
End Type
Dim Stu As Student
With Stu
. SNo = "200609001 ”
.SName = ” 陈果果 ”
.Age 二 19
End With
执行 MsgBox Stu.Age 后,消息框输出结果是 【 13 】 。
第10题
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!