[主观题]

有如下用户定义类型及操作语句: Tyoe Student SNo As String Sname As String SAge As Integer End Type Dim Stu As Student With Stu SNo=”200609001” SName=”陈果果“ A ge=19 End With 执行MsgBox Stu,Age 后,消息框输出结果是 (13)

参考答案与解析:

相关试题

( 13 )有如下用户定义类型及操作语句:Type StudentSNo As

[试题]( 13 )有如下用户定义类型及操作语句:Type StudentSNo As StringSName As StringSAge As IntegerE.nd TypeD.im Stu As StudentWith Stu. SNo = "200609001 ”.SName = ” 陈果果 ”.Age 二 19E.nd With执行 MsgBox Stu.Age 后,消息框输出结果是 ( 13 ) 。

  • 查看答案
  • 没有如下的用户定义类型:Type Student number As Strin

    [单选题]没有如下的用户定义类型:Type Studentnumber As Stringname As Stringage AS IntegerE.nd Type则以下正确引用该类型成员的代码是( )。 A.Student. name="李明"B.Dim s As StudentS. name="李明"C.Dim s As Type StudentS. name="李明"D.Dim s As TypeS. name="李明

  • 查看答案
  • 设有如下的用户定义类型:Type Student number As Strin

    [单选题]设有如下的用户定义类型:Type Studentnumber As Stringname As Stringage As IntegerE.nd Type则以下正确引用该类型成员的代码是( )。A.B.C.D.

  • 查看答案
  • 设有如下的用户定义类型:Type Student number As Strin

    [单选题]设有如下的用户定义类型: Type Student 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="李明"

  • 查看答案
  • 有如下语句:Type Student Name As String Age As

    [单选题]有如下语句: Type Student Name As String Age As Integer Sex As String End Type Dim Stu As Student With Stu .Name="张红" .Age=22 .Sex="女" End With 执行Print Stu.Age语句后的结果是A.张红B.22C.“女”D.Age

  • 查看答案
  • ( 14 )设有如下的用户定义类型:Type Studentnumber As

    [单选题]( 14 )设有如下的用户定义类型:Type Studentnumber As Stringname As Stringage As IntegerE.nd Type则以下正确引用该类型成员的代码是A. ) Student.name = " 李明 "B. ) Dim s As Students.name = " 李明 "C. ) Dim s As Type Students.name = " 李明 "D. ) Dim s As Types.name = " 李明 "

  • 查看答案
  • 设有如下的记录类型Type Student numberAs string na

    [单选题]设有如下的记录类型Type StudentnumberAs stringname As Stringage As IntegerE.nd Type则正确引用该记录类型变量的代码是( )。A. Student.name="张红"B. Dim s As Students.name="张红"C. Dim s As Type StudentD. Dim s As Types.name="张红" s.Dame="张红"

  • 查看答案
  • 有如下类的定义,横线处的语句是( )。

    [单选题]有如下类的定义,横线处的语句是( )。A. publicB. brivateC. staticD. protected

  • 查看答案
  • 基于如下叙述:关系模式Student(Sno,Sname,Cno, Cname,

    [单选题]基于如下叙述: 关系模式 Student(Sno,Sname,Cno, Cname,Grade,Tname,Taddr)的属性分别表示学号,学生姓名、课程号、课程名、任课教师名和教师地址。其中,一个学生可以选修若干门课程,一个教师可以讲授若干门课程,一门课程可以有若干教师讲授,一个学生选修一门课程时必须选定讲授课程的教师,教师不会重名。关系模式Student 的候选关键码有_________。A.1个,为(Sno,Cno)B.1个,为(Sno,Cno,Tname)C.2个,为(Sno,Sname

  • 查看答案
  • 有如下说明和定义语句:structstudent{int age;char nu

    [单选题]有如下说明和定义语句: struct student { int age; char num{8};}; struct student stu[3]={{20,"200401"},{21,"200402"),{19,"200403"}}; struct student *p=stu; 以下选项中引用结构体变量成员的表达式错误的是( )。A.(p++)->numB.p->numC.(*p).numD.stu[3].age

  • 查看答案