柠檬试题库
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
热度🔥373
参考答案:B
解析:
【解析】自定义数据类型的语法结构是:Type 自定义类型名 <成员名1>[(下标)] As<标准类型名1> <成员名2>[(下标)] As<标准类型名2> ……End Type其中,成员可以定义为定长的或不定长字符串,也可定义为数组。本题中,B选项符合语法规则,故B选项正确。
复制题目向AI提问
content_copy
content_copy
扫码免费计算机二级刷题
2025年计算机等级考试题库
推荐
语句Dim NewArray(10) As Integer的含义是( )。
若有以下程序 #include int *f(int *s, int *t) { int k; if (*s < *t) { k = *s; *s=*t; *t=k; } return s; } main() { int i=3, j=5, *p=&i, *q=&j, *r; r=f(p,q); printf("%d,%d,%d,%d,%d\n", i, j, *p, *q, *r); } 则程序的输出结果是
假设在表单设计器环境下,表单中有一个文本框且已经被选定为当前对象。现在从属性窗口中选择Value属性,然后在设置框中输入:={^2001-9-10}-{^2001-8-20}。请问以上操作后,文本框Value属性值的数据类型为( )。
下列关于SQL Server 2008触发器的说法,错误的是 ()。 GROUP BY 所在部门 ORDER BY COUNT(*) DESC Ⅱ.SELECT TOP 3 所在部门, COUNT(职工号) FROM职工表 GROUP BY 所在部门 ORDER BY COUNT(职工号) DESC Ⅲ.SELECT TOP 3 所在部门, COUNT(所在部门) FROM职工表 GROUP BY 所在部门 ORDER BY COUNT(所在部门) DESC Ⅳ.SELECT TOP 3 所在部门, SUM(职工号) FROM职工表 GROUP BY 所在部门 ORDER BY SUM(职工号) DESC 上述语句中,能够实现该查询要求的是()。
算法的有穷性是指( )。
标签
二级VB程序设计
as
type
string
类型