试题查看

首页 > 计算机二级考试 > 试题查看
【单选题】

设在工程中定义了如下类型:

Type stutype
inoAs Integer
stmameAs String*20
strsexAs String*1
smarkAs Single
End Type
在窗体上正确使用这个类型的是下列哪个操作()。
A.SubCommand1_click()
DimstudentAs Stutype
With student
.ino=12
.strname=smith
.strsex=男
.smark=89
End With
End Sub
B.SubCommand1_Click()
Dim studentAs Stutype
With student
.ino=12
.strname="smith"
.strsex="男"
.smark=89
End With
End Sub
C.SubCommand1_Click()
Dim studentAs Stutype
With Stutype
.ino=12
.strname="smith"
.strsex="男"
.smark=89
End With
End Sub
D.SubCommand1_click()
Dim studentAs Stutype
With student
.ino=12
.strname="smith"
.strsex="男"
.smark=89
End student
End Sub
查看答案解析

参考答案:

正在加载...

答案解析

正在加载...

根据网考网移动考试中心的统计,该试题:

10%的考友选择了A选项

82%的考友选择了B选项

4%的考友选择了C选项

4%的考友选择了D选项

你可能感兴趣的试题

十进制整数100转换为二进制数是A.1100100B.1101000C.1100存储400个24×24点阵汉字字形所需的存储容量是A.255KBB.75KBC.与十进制数1023等值的十六进制数为A.3FDHB.3FFIIC.2FDHD.3要从自定义对话框Form2中退出,可以在该对话框的“退出”按钮Click事件过程声明一个变量为局部变量应该用()。A.GlobalB.PrivateC.Stat下列叙述中正确的是()。A.线性链表的各元素在存储空间中的位置必须是连续的B.线