柠檬试题库
search
首页
计算机
公务员
驾照
关于
share
以下自定义数据类型的语句中,正确的是( )。
A.Type studentID As String * 20 name As String * 10 age As IntegerEnd student
B.Type student ID As String * 20 name As String * 10 age As IntegerEnd Type
C.Type studentID As String name As String age As IntegerEnd student
D.Type ID As String * 20 name As String * 10 age As IntegerEnd Type student
热度🔥335
参考答案:B
解析:
【解析】自定义数据类型的语法结构是:Type 自定义类型名 <成员名1>[(下标)] As<标准类型名1> <成员名2>[(下标)] As<标准类型名2> ……End Type其中,成员可以定义为定长的或不定长字符串,也可定义为数组。本题中,B选项符合语法规则,故B选项正确。
复制题目向AI提问
content_copy
content_copy
扫码免费计算机二级刷题
2025年计算机等级考试题库
推荐
因特网中IP地址用四组十进制数表示,每组数字的取值范围是()。
在软件开发中,需求分析阶段产生的主要文档是( )。
对长度为n的线性表排序,在最坏情况下,比较次数不是n(n-1)/2的排序方法是( )。
在表单中为表格控件指定数据源的属性是( )。
结构化分析方法是一种传统的软件需求建模方法,它面向
标签
二级VB程序设计
as
type
string
类型