首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
以下自定义数据类型的语句中,正确的是
以下自定义数据类型的语句中,正确的是
admin
2015-11-24
28
问题
以下自定义数据类型的语句中,正确的是
选项
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://jikaoti.com/ti/oGJ0FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
下列程序段的运行结果是______。DimtAsSingle,SAsSingleDimnAsIntegerS=0:t=1Forn=1To5t=t*ns=s+1NextnDeb
不能正确表示条件“两个整型变量A和B之一为0,但不能同时为0”的布尔表达式是()。
函数Int(Rnd(0)*100)是下列()范围内的整数。
子过程Sub...EndSub的形式参数可以是()。
下列可以启动VisualBasic的方法是
声明一个变量为局部变量应该用
数据库设计分为以下6个设计阶段:需求分析阶段、【】、逻辑设计阶段、物理设计阶段、实施阶段、运行和维护阶段。
以下关系表达式中,其值为假的是
下述程序的输出图形是()。Fork=0To360Cr=Int(160*RnD)Ang=-3.1415926/180*kCircle(200;200),50,cr,0,angNext
下面的属性中,用于自动调整图像框中图形内容的大小的是
随机试题
A、神农氏B、张仲景C、张呆D、孙思邈E、张石顽医疗不分贫富贵贱,要一视同仁,即使患者为娼妓也要视为良家妇女,不可不尊重。倡导者是我国明代著名医学家
结构中有芳伯氨基或潜在芳伯氨基的药物,重氮化反应适宜的酸度条件是
罗厚森是一家著名大型物流公司的职员,年纪不大的他已经在事业上小有成就,是同学、朋友圈中令人羡慕的“先富阶层”。但是为了以后的生活理想,特想作一理财规划,经过初步沟通面谈后,你获得了以下家庭、职业与财务信息:一、案例成员二、月度收支状况收入方面:1
我国企业债券利率不得高于银行同期居民储蓄定期存款利率的( )。
下列关于个人独资企业法律特征的表述中,正确的是()。
伤痛再见尽享快乐——“云南白药膏《伤痛再见篇》”在南斯拉犬名曲《朋友再见》的旋律中,抖空竹的老人一出手,就将写着“痛”的空竹抖出画面。青春跋扈
以下关于工作岗位分析的说法正确的有()。
张大干在加州的故居和左邻右舍希腊式或罗马式的巍峨广厦相较,的确有似贫者之居,未免______。从这一排瓦顶的平房右侧角门穿过,自落地的玻璃窗向室内窥视,当系画师的画室兼客厅。长长的画案蒙罩着厚厚尘埃,躺榻上倚枕斜陈,茗具横置,一片______气氛。依次填人
阅读以下文字。完成问题。科举制度的取消对中国现代化造成的困难在于,原有的形成社会精英的方式由此而发生突然的断裂。正如一些研究者指出的,曾经由科举制度给社会提供的内聚力量,在其后几十年中一直都没有恢复过来。科举制度的取消既然产生如此多的消极后果,这
D
最新回复
(
0
)