首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
以下自定义数据类型的语句中,正确的是
以下自定义数据类型的语句中,正确的是
admin
2015-11-24
25
问题
以下自定义数据类型的语句中,正确的是
选项
A、Type student ID As String*20 name As String*10 age As Integer End student
B、Type student ID As String*20 name As String*10 age As Integer End Type
C、Type student ID As String name As String age As Integer End student
D、Type ID As String*20 name As String*10 age As Integer End Type student
答案
B
解析
聊e语句用于在模块级别中定义一个用户自己的数据类型,其本质上是一个数据类型集合,它含有一个或一个以上的元素,每个元素可以被定义为不同的数据类型。自定义类型中的元素可以是变长字符串,也可以是定长字符串。但在随机文件中使用时,必须使用定长字符串,一般格式为:String*常数。 其中,“常数”是用于指定字符串长度的数。
转载请注明原文地址:https://kaotiyun.com/show/0CLp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
下列程序段的执行结果是()。a=75Ifa>60Theni=1Ifa>70Theni=2Ifa>80Theni=3Ifa<90Theni=4Print"i=";i
关于创建通用过程的方法叙述正确的是()。
下列能正确产生[1,30]之间的随机整数的表达式是()。
栈和队列的共同特点是
软件定义时期主要包括【】和需求分析两个阶段。
如果一个变量未经定义就直接使用,则该变量的类型为
关于结构化程序设计原则和方法的描述错误的是()。
网络信息服务管理工具被包含在ⅥsualBask的()中。
数据库系统其内部分为三级模式,即概念模式、内模式和外模式。其中,______是用户的数据视图,也就是用户所见到的数据模式。
一个项目具有一个项目主管,一个项目主管可管理多个项目,则实体“项目主管”与实体“项目”的联系属于______的联系。
随机试题
在Access中创建模块使用的语言是()
属于两个总体之间对比的相对指标为()。
本案中,县工商局向兴达公司颁发营业执照的行为,从行政行为的分类看,属于( )。本案中,县地方税务局和县工商局对兴达公司都实施了罚款行为,从行政法角度看,这两个处罚行为( )。
关于担保物权的表述正确的有()。
投资收益、资产减值损失和营业外收入都会影响企业的营业利润。()
某幼儿能够依靠生活作息制度来认识时间,如“下午是午睡起来以后”,这说明该幼儿()。
在十二平均律中,________是十二平均律组织中最小的音高距离。
如果台独分子对中国政府的严正声明和强烈抗议______,坚持______,他们必将______。依次填入划横线处的词语,最恰当的一组是()
什么是货币的储藏手段?[中国人民银行2001研]
Electricityplaysanessentialpartinourlife.Noonecandenythatelectriclightisnecessaryforpeople’slife.However,ca
最新回复
(
0
)