如下程序段定义了学生成绩的记录类型,由学号,姓名和三门课程成绩百分制.组成。 Type Stud no As Integer name As String score1 to 3. As Single End Type 若对某个学生的各个数据项进行赋值,下列程序段中正确的是 A.Dim S As Stud B.Dim S As Stud Stud.no =1001 S.no =1001 Stud.name =” 舒宜” S.name =”舒宜” Stud name =78,88,96 S.score =78,88,96 C.Dim S As Stud D.Dim S As Stud Stud.no =1001 S,no =1001 Stud.name =” 舒宜” S.name=”舒宜” Stud.score1. =78 S.Score1.=78 Stud.score2.=88 S.Score2.=88 Stud.score3.=96 S.Score3.=96
如下程序段定义了学生成绩的记录类型,由学号,姓名和三门课程成绩百分制.组成。 Type Stud no As Integer name As String score1 to 3. As Single End Type 若对某个学生的各个数据项进行赋值,下列程序段中正确的是 A.Dim S As Stud B.Dim S As Stud Stud.no =1001 S.no =1001 Stud.name =” 舒宜” S.name =”舒宜” Stud name =78,88,96 S.score =78,88,96 C.Dim S As Stud D.Dim S As Stud Stud.no =1001 S,no =1001 Stud.name =” 舒宜” S.name=”舒宜” Stud.score1. =78 S.Score1.=78 Stud.score2.=88 S.Score2.=88 Stud.score3.=96 S.Score3.=96
相关考题:
要建立一个学生成绩的随机文件,如下定义了学生的记录类型,由学号、姓名、三门课 程成绩(百分制)组成,下列程序段正确的是( )。A.Typepestudl no As Integer name As String score(1 To 3)As Single End TypeB.Typestudl no As Integer no As Integer name As String*10 score()As Single End TypeC.Typestudl no As Integer name As String*10 score(1 To 3)As Single End TypeD.Typestudl no As Integer name As String score(1 To 3)As Single End Type
如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制) 组成。 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,96B. Dim S As Stud S.no=1001 S.name=“舒宜” S.score=78,88,96C. Dim S As Stud Stud.no=1001 Stud.name=“舒宜” Stud.score(1)=78 Stud.score(2)=88 Stud.score(3)=96D. 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,96B.Dim S As Stud S.no=1001 S.name=“舒宜” S.score=78,88,96C.Dim S As Smd Smd.no=1001 Stud.name=“舒宜” Stud.score(1) =78 Stud.score(3) =96 Stud.score(2) =88D.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 ATRING SCORE(1 TO 3) AS SINGLE END TYPE 若对某个学生的各个数据项进行赋值,下列程序段中下确的是A.DIM S AS STUD STUD. NO=1001 STUD. NAME="舒宜" STUD. SCORE=78,88,96B.DIM S AS STUD S. NO=1001 S. NAME="舒宜" S. SCORE=78,88,96C.DIM S AS STUD STUD. NO=1001 STUD. NAME="舒宜" STUD. SCORE(1)=78 STUD. SCORE(2)=88 STUD. SCORE(3)=96D.DIM S AS STUD S. NO: 1001 S. NAME="舒宜" S. SCORE(1)=78 S. SCORE(2)=88 S. SCORE(3)=96
如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制)组成。 Type Studno As Integername As Stringscore(1 to 3) As SingleEnd Type若对某个学生的各个数据项进行赋值,下列程序段中正确的是( )。A.Dim S As Stud Stud.no=1001 Stud.name="舒宜" Stud.score=78,88,96B.Dim S As Stud S.no=1001 S.name="舒宜" S.score=78,88,96C.Dim S As Stud Stud.no=1001 Stud.name="舒宜" Stud.score(1)=78 Stud.score(2)=88 Stud.score(3)=96D.Dim S As Stud S.nO=1001 S.name="舒宜" S.score(1)=78 S.score(2)=88 S.score(3)=96
如下程序段定义了学生成绩的记录类型,由学号、姓名和三门课程成绩(百分制)组成。若对某个学生的各个数据项进行赋值,下列程序段中正确的是( )。A)Dim S As StudB)Dim S As Stud