首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
以下能正确定义数据类型SystemInfo的代码是( )。
以下能正确定义数据类型SystemInfo的代码是( )。
admin
2018-09-29
28
问题
以下能正确定义数据类型SystemInfo的代码是( )。
选项
A、Type Systemlnfo
DiskDrives As String*10
Memory As Long
End Type
B、Type SystemInfo
DiskDrives As String*10
Memory As Long
End SystemInfo
C、Type SystemInfo
DiskDrives String*10
Memory Long
End Type Systemlnfo
D、TypedefSystemlnfo
DiskDrives String*10
Memory Long
End Type
答案
A
解析
本题考查自定义类型的定义。自定义类型要求以Type开始,以End Type结束,在两者之间包含有各个成员的说明,要求字符串定义为定长字符串,同时每个成员的类型以“As”引出。
转载请注明原文地址:https://jikaoti.com/ti/56m0FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
(1)在名称为Forml的窗体上添加一个名称为Commandl的命令按钮,标题为“打开文件”,再添加一个名称为CDl的通用对话框。程序运行后,如果单击命令按钮,则弹出打开文件对话框,请按下列要求设置属性和编写代码:①设置适当属性,使对话框的标题为
一般情况下,当对关系R和S进行自然连接时,要求R和S含有一个或者多个共有的
下列叙述中正确的是
设栈的顺序存储空间为S(0:49),栈底指针bottom=49,栈顶指针top=30(指向栈顶元素)。则栈中的元素个数为
在窗体上画一个命令按钮,然后编写如下事件过程:PrivateSubCommand1_Click() DimI,Num Randomize Do ForI=1To1000 Num=Int(Rnd*
语句Dima(-3To4,3To6)AsInteger定义的数组的元素个数是( )。
窗体上有一个菜单编辑器设计的菜单。运行程序,并在窗体上单击鼠标右键,则弹出一个快捷菜单,如图所示。下列说法错误的是()。
如果希望向一个顺序文件写入数据,但又要保留文件中的原有内容,应采取的文件打开方式是
算法的空间复杂度是指( )。
随机试题
“自叙传”小说或“身边小说”的开创者与成绩最卓越者是()
乳香、没药的炮制,采用的方法是
下列选项中哪些盗窃行为并不以盗窃罪论处,而是按其他犯罪定罪量刑?()
根据《地图管理条例》,下列内容中,不符合《地图管理条例》立法目的的是()。
1999年,国际货币基金组织采取新的分类法,按照汇率弹性由小到大,将汇率制度分为8种,下列不包括的是()。
简述幼儿园课程的基本要素。
李老师在教师节收了学生家长送给他的一盆盆栽,李老师的行为违背的教师职业道德规范是()
人民法院在审理行政案件中,认为行政机关的主管人员、直接责任人员违法违纪的,应当将有关材料移送监察机关、该行政机关或者其上一级行政机关;认为有犯罪行为的,应当将有关材料移送公安、检察机关。()
Artwasherfavoritesubjectatschool,butshedidadegreeingeography.
In1803,theU.S.purchasedLouisianafrom______.
最新回复
(
0
)