TYPE <记录类型名> IS RECORD
TYPE <记录类型名> RECORD
RECORD <记录类型名>
TYPE RECORD <记录类型名>
第1题:
有如下的记录类型
Type student
id As String
name As String
age As Integer
End Type
则正确引用该记录类型变量的代码是( )
A.student.name=”Sias”
B.Dim s As student
s.mane=”Sias”
C.Dim s As type student
s.name=”Sias”
D.Dim s As type
s.name=”Sias”
第2题:
(12)要建立一个随机文件记录学生的信息,下列定义了学生的记录类型,由学号、姓名、五门课程成绩(百分制)组成,下列的定义正确的是。A.Type stu no As Integer name As String score(1 To 5)As Single End Type B.Type stuno As Integename As String*10score()As SingleEnd TypeC.Type stu no As Integer name As String*10 score(1 To 5)As Single End Type D.Type stuno As Integername As Stringscore()As SingleEnd Type
第3题:
设有如下的记录类型
Type Student
numberAs string
name As String
age As Integer
End Type
则正确引用该记录类型变量的代码是( )。
A. Student.name="张红"
B. Dim s As Student
s.name="张红"
C. Dim s As Type Student
D. Dim s As Type
s.name="张红" s.Dame="张红"
第4题:
●若DNS资源记录中记录类型(record-type)为 A,则记录的值为(31) 。
(31)
A.名字服务器式
B.主机描述
C.IP地址
D.别名
第5题:
在定义一个关系结构时,应该说明( )。
A.字段、数据项及数据项的值
B.属性名、属性数据类型及位数
C.关系名、关系类型及作用
D.记录名、记录类型及内容
第6题:
VB中定义常量的语法正确的( )
A.常量名[AS类型]
B.常量名[AS类型]=表达式
C.Const常量名[AS类型]
D.Const常量名[AS类型]=表达式
第7题:
设有如下的记录类型: TypeStudent number As String name AS String age As Integer End Type 则正确引用该记录类型变量的代码是( )。
A.Student.name="张红"
B.Dim s As Student s.name="张红"
C.Dim s As Type Student s.name="张红"
D.Dim s As Type s.name="张红"
第8题:
假设有如下的记录类型: Type Student number As String name AS String age As Integer End Type 则正确引用该记录类型变量的代码是______。
A.Student. name="" s. name="张红"
B.Dim s As Student s. Dame="张红"
C.Dim s As Type Student s. name="张红"
D.Dim s As Type s. name="张红"
第9题:
要建立一个随机文件记录学生的信息,如下定义了学生的记录类型,由学号、姓名、5门课程成绩(百分制)组成,下列的定义正确的是( )。
A.Type sru no As Integer name As String score(1 To 5)As Single End Type
B.Type stu no As Integer name As String*10 score()As Single End Type
C.Type stu no As Integer name As String*10 score(1 To 5)As Single End Type
D.Type stu no As Integer name As String score()As Single End Type
第10题:
要建立一个随机文件记录学生的信息,下列定义了学生的记录类型,由学号、姓名、五门课程成绩(百分制)组成,下列的定义正确的是( )。
A.Type stu no As Integer name As String score(1 To 5)As Single End Type
B.Type stu no As Integer name As String*10 score()As Single End Type
C.Type stu no As Integer name As String*10 score(1 To 5)As Single End Type
D.Type stu no As Integer name As String score()As Single End Type