如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制)组成。
Type Stud
No As Integer
name As String
score(1 to 3) As Single
End Type
若对某个学生的各个数据项进行赋值,下列程序段中正确的是______。

A:Dim S As Stud
Stud.no=1001
Stud.name="舒宜"
Stud.score= 78,88,96
B:Dim S As Stud
S.no=1001
S.name="舒宜"
S.score=78,88,96
C:Dim S As Stud
Stud.no=1001
Stud.name="舒宜"
Stud.score(1)=78
Stud.score(2)=88
Stud.score(3)=96
D:Dim S As Stud
S.no=1001
S.name="舒宜"
S.score(1)=78
S.score(2)=88
S.score(3)=96

如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制)组成。
Type Stud
no As Integer
name As String
score(1 to 3) As Single
End Type
若对某个学生的各个数据项进行赋值,下列程序段中正确的是( )。

A:Dim S As Stud
Stud.no=1001
StUd.name=“舒宜”
Stud.score=78,88,96
B:Dim S As Stud
S.no=1001
S.name=“舒宜”
S.score=78,88,96
C:Dim S As Stud
Stud.no=1001
Stud.name=“舒宜”
Stud.score(1)=78
Stud.Score(2)=88
Stud.score(3)=96
D:Dim S As Stud
S.no=1001
S.name=“舒宜”
S.score(1)=78
S.score(2)=88
S.score(3)=96

如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制)组成。 Type Stud

no As Integer

name As String

score(1 to 3) As Single

End Type

若对某个学生的各个数据项进行赋值,下列程序段中正确的是( )。

A:Dim S As Stud

Stud.no=1001

Stud.name="舒宜"

Stud.score=78,88,96
B:Dim S As Stud

S.no=1001

S.name="舒宜"

S.score=78,88,96
C:Dim S As Stud

Stud.no=1001

Stud.name="舒宜"

Stud.score(1)=78

Stud.score(2)=88

Stud.score(3)=96
D:Dim S As Stud

S.nO=1001

S.name="舒宜"

S.score(1)=78

S.score(2)=88

S.score(3)=96

如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制) 组成。
Type Stud
no As Integer
name As String
score(1 to 3) As Single
End Type
若对某个学生的各个数据项进行赋值,下列程序段中正确的是( )。

A:Dim S As Stud
Stud.no=1001
Stud.name=“舒宜”
Smd.score=78,88,96
B:Dim S As Stud
S.no=1001
S.name=“舒宜”
S.score=78,88,96
C:Dim S As Smd
Smd.no=1001
Stud.name=“舒宜”
Stud.score(1) =78
Stud.score(3) =96
Stud.score(2) =88
D:Dim S As Smd
S.no=1001
S.name=“舒宜”
S.score(1) =78
S.score(2) =88
S.score(3) =96

如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制) 组成。
Type Stud
No As Integer
name AS String
score(1 to 3) As Single
End Type
若对某个学生的各个数据项进行赋值,下列程序段中正确的是______。

A:Dim S As Stud
Stud.no=1001
Stud.name=“舒宜”
Stud.score=78,88,96
B:Dim S As Stud
S.no=1001
S.name=“舒宜”
S.score=78,88,96
C:Dim S As Stud
Stud.no=1001
Stud.name=“舒宜”
Stud.score(1)=78
Stud.score(2)=88
Stud.score(3)=96
D:Dim S As Stud
S.no=1001
S.name=“舒宜”
S.score(1)=78
S.score(2)=88
S.score(3)=96

如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制)组成。
Type Stud
no As Integer
name As String
score(1 to 3)As Single
End Type
若对某个学生的各个数据项进行赋值,下列程序段中正确的是( )。

A:Dim S As Stud
Stud.no=1001
Stud.name="舒宜"
Stud.score=78,88,6
B:Dim S As Stud
S.no=1001
S.name="舒宜"
S.score=78,88,96
C:Dim S As Stud
Stud.no=1001
Stud.name="舒宜"
Stud.score(1)=78
Stud.score(2)=88
Stud.score(3)=96
D:Dim S As Stud
S.no=1001
S.name="舒宜"
S.score(1)=78
S.score(2)==88
S.score(3)=96

如下程序段定义了学生成绩的记录类型,由学号、姓名、三门课程成绩(百分制)组成。 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 sno As Integer sname As String score(1 to 3) As Single End Type 若对某个学生的各个数据项进行赋值,下列程序段中正确的是( )。

A:Dim S As Stud Stud.sno=1001 Stud.sname="高翔" Stud.score=84,98,96 B:Dim S As Stud S.sno=1001 S.sname="高翔" S.score=84,98,96 C:Dim S AS Stud Stud.sno=1001 Stud.sname="高翔" Stud.score(1)=84 Stud.score(2)=98 Stud.score(3)=96 D:Dim S As Stud S.sno=1001 S.sname="高翔" S.score(1)=84 S.score(2)=98 S.score(3)=96

如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制)组成。 Type Stud no As Integer name As String score(1 to 3)As Single End Type 若对某个学生的各个数据项进行赋值,下列程序段中正确的是( )。

A:Dim S As Stud Stud.no=1001 Stud.name="舒宜" Stud.score=78,88,6 B:Dim S As Stud S.no=1001 S.name="舒宜" S.score=78,88,96 C:Dim S As Stud Stud.no=1001 Stud.name="舒宜" Stud.score(1)=78 Stud.score(2)=88 Stud.score(3)=96 D:Dim S As Stud S.no=1001 S.name="舒宜" S.score(1)=78 S.score(2)==88 S.score(3)=96

微信扫码获取答案解析
下载APP查看答案解析