首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下列数据类型定义中,正确的是
下列数据类型定义中,正确的是
admin
2013-01-23
30
问题
下列数据类型定义中,正确的是
选项
A、Type Student Num As Long Name As String End Type
B、Type Student Num As Integer Name As String * 10 End Type
C、Private Type Num As Long Score As Single End Type
D、Private Type Student Name As String Score(10)As String * 10 End Type
答案
2
解析
自定义类型的一般格式为:
Type<数据类型名>
<成员名> As 类型名
……
End Type
根据自定义类型的格式可以排除C、D两项。成员名如果是字符串类型时,一般要指明字符串长度。排除选项A,只有B项是正确的。
转载请注明原文地址:https://jikaoti.com/ti/f2O0FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
下面叙述正确的是
下列程序实现的功能是:从键盘上输入10个整数,并把它们写到“D:”盘“a1.dat”文件中,然后从中读出第5个数并输出。PrivateSubForm_Click()DimkAsIntegerDimnAsI
关于多重窗体应用程序,以下描述不正确的是
假定已在窗体上画了多个控件,并有一个控件是活动的,为了在属性窗口中设置窗体的属性,预先应该执行的操作是
栈结构不适用于下列哪一种应用?
要使一个文本框显示多行文件,应使它的()设为True。
数据库理论中,数据的独立性一般可分为物理独立性和【】
在窗体上画一个名称为Command1的命令按钮,然后编写如下通用过程和命令按钮的事件过程:PrivateFunctionf(mAsInteger)IfmMod2=0Then
表示条件“X+Y大于10小于100,且X-Y要小于0”的逻辑表达式为()。
随机试题
在借贷期限内根据市场资金供求变化定期调整的利率是()
等电点
下列叙述中与阿莫西林不符的是
白银市丰华区浩宇水泥有限公司,系私营有限责任公司,主要生产、经营水泥及水泥制品,法定代表人为伍某。经查,该公司利用购货方是本地区不索要发票的混凝土生产企业或个人,采取设置账外账等手段,将这部分收入不向税务机关进行申报纳税。根据《中华人民共和国税收征收管理法
根据《合同法》的规定,当事人订立合同,应当具有相应的()。
文天祥的“万象画图里,千崖玉界中”运用了夸张的修辞手法,说明临海的武坑犹如海上缥缈的仙国。()
法律制度是人类社会发展到一定阶段的产物,战国时期魏国李悝制定了《法经》,它是中国历史上第一部系统的封建成文法典。唐代时期在总结前代立法经验的基础上制定了《永徽律疏》,即《庸律疏议》。《永徽律疏》的完成标志着封建立法达到最高水平,成为中华法系法律制度的代表性
设P1=,P2=,则必有().
"Themorethatyouread,themorethingsyouwillknow.Themorethatyoulearn,themoreplacesyou’llgo."Thesesimple-but-t
Asisknowntoall,tradeandspecializationgohandinhandandenableeachofustohavemoreproductstouse.
最新回复
(
0
)