更多"如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制"的相关试题:
[单项选择]如下程序段定义了学生成绩的记录类型,由学号、姓名和3门课程成绩(百分制)组成。
Type Stud
no As Integer
name As String
score(1 to 3)As Single
End Type
若对某个学生的各个数据项进行赋值,下列程序段中正确的是( )。
A. Dim S As Stud
B. Dim S AS Stud
C. Dim S As Stud
D. Dim S As Stud
[单项选择]如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制) 组成。 Type Stud No As Integer name AS String score(1 to 3) As Single End Type 若对某个学生的各个数据项进行赋值,下列程序段中正确的是______。
A. Dim S As Stud Stuno=1001 Stuname=“舒宜” Stuscore=78,88,96
B. Dim S As Stud no=1001 name=“舒宜” score=78,88,96
C. Dim S As Stud Stuno=1001 Stuname=“舒宜” Stuscore(1)=78 Stuscore(2)=88 Stuscore(3)=96
D. Dim S As Stud no=1001 name=“舒宜” score(1)=78 score(2)=88 score(3)=96
[单项选择]如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制)组成。
Type Stud
no As Integer
name As String
score(1 to 3)As Single
End Type
若对某个学生的各个数据项进行赋值,下列程序段中正确的是_____。
[单项选择]如下程序段定义了学生成绩的记录类型,由学号、姓名、三门课程成绩(百分制)组成。 Type Stud no As Integer name As String*10 score(1 To 3) As Single End Type 若对某个学生的各数据项进行赋值,下列程序段正确的是( )。
A. Dim S As Stud Stud.no=0201 Stud.name="李平" Stud.score=78,88,96
B. Dim S As Stud S.no=0201 S.name="李平" S.score=78,88,96
C. Dim S As Stud S.no=0201 S.name="李平" S.score(1)=78 S.score(2)=88 S.score(3)=96
D. Dim S As Stud Stud.no=0201 Stud.name="李平" Stud.score(1)=78 Stud.score(2)=88 Stud.score(3)=96
[单项选择]如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制) 组成。 Type Stud no As Integer name As String score(1 to 3) As Single End Type 若对某个学生的各个数据项进行赋值,下列程序段中正确的是( )。
A. Dim S As Stud Stuno=1001 Stuname=“舒宜” Smscore=78,88,96
B. Dim S As Stud no=1001 name=“舒宜” score=78,88,96
C. Dim S As Smd Smno=1001 Stuname=“舒宜” Stuscore(1) =78 Stuscore(3) =96 Stuscore(2) =88
D. Dim S As Smd no=1001 name=“舒宜” score(1) =78 score(2) =88 score(3) =96
[单项选择]要建立一个学生成绩的随机文件,如下定义了学生的记录类型,由学号、姓名、三门课 程成绩(百分制)组成,下列程序段正确的是( )。
A. Typepestudl no As Integer name As String score(1 To 3)As Single End Type
B. Typestudl no As Integer no As Integer name As String*10 score()As Single End Type
C. Typestudl no As Integer name As String*10 score(1 To 3)As Single End Type
D. Typestudl no As Integer name As String score(1 To 3)As Single End Type
[单项选择]如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩组成。
Type Stud
No As Integer
Name As String
Score As Single
End Type
若对某个学生的各个数据项进行赋值,下列程序段中正确的是
A. Dim S As Stud
B. Dim S As Stud
C. Dim S As Stud
D. Dim S As Stud
[单项选择]如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制)
组成。
Type Stud
no As Integer
name As String
score(1 to 3)As Single
End Type
若对某个学生的各个数据项进行赋值,下列程序段中正确的是
[单项选择]要建立一个学生成绩的随机文件,如下定义了学生的记录类型,由学号、姓名、三门课程成绩(百分制)组成,下列程序段正确的是
A. Type stud1
B. Type stud1
C. Type stud1
D. Type stud1
[单项选择]要建立一个随机文件记录学生的信息,如下定义的学生记录类型,由学号、姓名和5门课程成绩(百分制)组成,下列的定义正确的是( )。
A. Type stu
B. Type stu
C. Type stu
D. Type stu
[单项选择]要建立一个随机文件记录学生的信息,如下定义了学生的记录类型,由学号、姓名、5门课程成绩(百分制)组成,下列的定义正确的是( )。
A. Type stu
B. Type stu
C. Type stu
D. Type stu