网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
Dim S As String所定义的变量S的类型是()
A

逻辑型

B

双精度型

C

字符串型

D

整型


参考答案

参考解析
解析: 暂无解析
更多 “单选题Dim S As String所定义的变量S的类型是()A 逻辑型B 双精度型C 字符串型D 整型” 相关考题
考题 下面可以正确定义2个整形变量和1个字符串变量的语句的是( )。A.Dim n,m AS Interger,s AS StringB.Dim a%,b$,c AS StringC.Dim a AS Integer,b,c AS StringD.Dim x%,y AS Integer,z AS String

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

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

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

考题 下面可以正确定义两个整型变量和—个字符串变量的语句是______。A.Dim n,m As Integer,s As StringB.Dim a%,b$,c As StringC.Dim a As Integer,b,c As StringD.Dim x%,y As Integer,z As String

考题 ( 11 )下面可以正确定义 2 个整形变量和 1 个字符串变量的语句的是( )A ) Dim n,m AS Interger,s AS StringB ) Dim a%,b$,c AS StringC ) Dim a AS Integer,b,c AS StringD ) Dim x%,y AS Integer,z AS String

考题 假设有如下的记录类型: 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="张红"

考题 有如下的记录类型Type studentid As Stringname As Stringage As IntegerEnd Type则正确引用该记录类型变量的代码是( )A.student.name=”Sias”B.Dim s As students.mane=”Sias”C.Dim s As type students.name=”Sias”D.Dim s As types.name=”Sias”

考题 设有如下的用户定义类型: 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="李明"

考题 设有以下语句: typedef street S { int g; char h;} T;则下面叙述中正确的是( )。A.可用S定义结构体变量B.可以用T定义结构体变量C.S是struct类型的变量D.T是struct S类型的变量

考题 Dim s As String,则运行时变量s的初始值是 ()。

考题 设有如下的记录类型: 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="张红"

考题 设有如下的记录类型: Type Student Number As String Name As String Age As Integer End Sub 则能正确引用该记录类型变量的代码是( )。A.Student.name=""B.Dim s As Students.name=“张红”C.Dims As Tye Students.name=“张红”D.DimsAsTypes.name=“张红”

考题 编写如下事件过程: Private sub sub1 (ByVal x1 As String, y1 As String) Dim xt As String Dim i As Integer i = Len(x1) Do While i>= 1 xt = xt + Mid(x1, i, 1) i=i-1 Loop y1 = xt End Sub Private Sub Form. Click() Dim s1 As String, s2 As String s1= "teacher" sub1 s1, s2 Print s2 End Sub 程序运行后,单击窗体,则窗体上显示的内容是A.rehcaetB.tahreeeC.themeeD.eerthea

考题 若有以下语句:typedef struct S{int 9;char h;}T;以下叙述中正确的是( )。A.可用s定义结构体变量B.可用T定义结构体变量C.S是struct类型的变量D.T是struct S类型的变量

考题 单击窗体时,下列程序的执行结果是 Private Sub Invert(By Val xstr As String,ystr As String) Dim tempstr AS String Dim I AS Integer I=Len(xstr) Do While I>=1 tempstr=tempstr + Mid(xstr,I,1) I=I - 1 Loop ystr=tempStr End Sub Private Sub Form_Click( ) Dim s1 As String,s2 As String S1="abcdef" Invert S1,S2 Print S2 End SubA.abcdefB.afbecdC.fedcbaD.defabc

考题 下列程序的执行结果为 Private Sub Command1_Click() Dim s1 As String,s2 As String S1;="abcdef" Call Invert(s1,s2) Print s2 End Sub Private Sub Invert (ByVal xstr As String,ystr As String) Dim tempstr As String i=Len(xstr) Do While i=1 tempstr=tempstr+Mid(xstr,i,1) i=i-1 Loop ystr=tempstr End SubA.fedcbaB.abcdefC.afbecdD.defabc

考题 下列程序的执行结果为 Private Sub Commandl_Click() Dim s1 As String ,s2 As String s1= "abcd" Call Transfer(sl,s2) Print s2 End Sub Private Sub Transfer (ByVal xstr As String,ystr As String) Dim tempstr As String ystr=tempstr End SubA.dcbaB.abdcC.abcdD.dabc

考题 在VB语言中,下列定义变量语句格式正确的是()。A、Dim As String xuehaoB、Dim xuehao As StringC、Dim String As xuehaoD、Const xuehao As String

考题 有变量定义语句“Dim Str1,Str2 As String *10”,其中Str1变量的类型应为(),其中Str2变量的类型应为()。

考题 Dim S As String所定义的变量S的类型是()A、逻辑型B、双精度型C、字符串型D、整型

考题 语句Dim s(1 to 5)as String定义的数组是()类型的元素。A、整型B、日期型C、逻辑型D、字符型

考题 定义变量的语句Dim abc As String*3是正确的。

考题 单选题语句Dim s(1 to 5)as String定义的数组是()类型的元素。A 整型B 日期型C 逻辑型D 字符型

考题 填空题有变量定义语句“Dim Str1,Str2 As String *10”,其中Str1变量的类型应为(),其中Str2变量的类型应为()。

考题 判断题定义变量的语句Dim abc As String*3是正确的。A 对B 错

考题 单选题若有以下程序: typedef struct S {int g;char h;}T; 以下叙述中正确的是(  )。A 可用S定义结构体变量B 可用T定义结构体变量C S是struct类型的变量D T是struct S类型的变量