网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
下面这段代码中,变量subString的结果是()。 Dim aStringAs String="Left Center Right" Dim subStringAs String subString=aString.SubString(1,4)
- A、"_Left"
- B、"Left_"
- C、"Left"
- D、"eft"
参考答案
更多 “ 下面这段代码中,变量subString的结果是()。 Dim aStringAs String="Left Center Right" Dim subStringAs String subString=aString.SubString(1,4)A、"_Left"B、"Left_"C、"Left"D、"eft"” 相关考题
考题
下面可以正确定义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
考题
下面可以正确定义两个整型变量和—个字符串变量的语句是______。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
考题
设有如下的记录类型: 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="张红"
考题
以下是替换字符串中制定字符的函数过程: Function sReplace (SearchLine As String,SearchFor As String,Replace With As String) As String Dim vSearchLine As String,found As Integer found=InStr (SearchLine,SearchFor):vSearchLine=SearchLine If found <>0 Then vSearchLine=" " If found>1 Then vSearchLine=Left (SearchLine,found -1) vSearchLine=vSearchLine+ReplaceWith End If If(表达式)<Len(SearchLine)Then vSearchLine=vSearchLine+Rights (SearchLine,Len (SearchLine) ―found―Len(SearchFor)+1) End If End If sReplace=vSeachLine End Function过程中的“表达式”应为( )。A.foundB.found-1C.found+Len(SearchFor)D.found+Len(SearchFor)-1
考题
运行下列程序:Private Sub Form_Click( )Dim x As Integer, y As String, z As Stringy = 12345For x = 1 To Len(y)z = Mid(Left(y, x), 1)Next xPrint zEnd Sub单击窗体后,则在窗体上显示的结果是( )。A.1B.11111C.55555D.12345
考题
设指针变量p指向双向链表中节点A,指针变量s指向被插入的节点X,则在节点A的后面插入节点X的操作序列为()A.p->right=s;s->left=p;p->right->left=s;s->right=p->right;
B.p->right=s;p->right->left=s;s->left=p;s->right=p->right;
C.s->left=p;s->right=p->right;p->right=s;p->right->left=s;
D.s->left=p;s->right=p->right;p->right->left=s;p->right=s;
考题
下述代码A和B正确的值是() Dim X As String = "123" Dim Y As Integer = 123 Dim A As String = X + Y Dim B As String = X YA“246”,“123123”B246,“123123”C“123123”,“123123”D123123,“123123”
考题
下面这段代码中,变量myInteger的结果是()。 Dim myString As String="ABCDE" Dim myInteger As Integer myInteger=myString.IndexOf("D")A、0B、1C、2D、3E、4
考题
下面这段代码中,变量subString的结果是()。 Dim aString As String = "Left Center Right" Dim subString As String subString = Mid(aString, 13)A、"_Right"B、"Right_"C、"Right"D、"Left Center_"E、"Left Center"F、"_Left Center_"G、"Left Center R"
考题
在VB语言中,下列定义变量语句格式正确的是()。A、Dim As String xuehaoB、Dim xuehao As StringC、Dim String As xuehaoD、Const xuehao As String
考题
下述代码A和B正确的值是() Dim X As String = "123" Dim Y As Integer = 123 Dim A As String = X + Y Dim B As String = X YA、“246”,“123123”B、246,“123123”C、“123123”,“123123”D、123123,“123123”
考题
下面这段代码中,变量myChar的结果是()。 Dim myString As String = "ABCDE" Dim myChar As Char myChar = myString.Chars(3)A、BB、CC、DD、E
考题
要声明一个长度为256个字符的定长字符串变量str,下列语句正确的是()A、dim str as stringB、dim str as string(256)C、dim str as string[256]D、dim str as string*256
考题
下面是VB中有效的注释语句是()A、//Dim a As StringB、/Dim a As StringC、‘Dim a As StringD、Rem Dim a As String
考题
单选题下述代码A和B正确的值是() Dim X As String = "123" Dim Y As Integer = 123 Dim A As String = X + Y Dim B As String = X YA
“246”,“123123”B
246,“123123”C
“123123”,“123123”D
123123,“123123”
考题
单选题下面这段代码中,变量myInteger的结果是()。 Dim myString As String="ABCDE" Dim myInteger As Integer myInteger=myString.IndexOf("D")A
0B
1C
2D
3E
4
考题
单选题下面这段代码中,变量subString的结果是()。 Dim aStringAs String="Left Center Right" Dim subStringAs String subString=aString.SubString(1,4)A
_LeftB
Left_C
LeftD
eft
考题
单选题下面是VB中有效的注释语句是()A
//Dim a As StringB
/Dim a As StringC
‘Dim a As StringD
“Dim a As String
考题
单选题下面这段代码中,变量myChar的结果是()。 Dim myString As String = "ABCDE" Dim myChar As Char myChar = myString.Chars(3)A
BB
CC
DD
E
考题
单选题下面这段代码中,变量subString的结果是()。 Dim aString As String = "Left Center Right" Dim subString As String subString = Mid(aString, 13)A
_RightB
Right_C
RightD
Left Center_E
Left CenterF
_Left Center_G
Left Center R
热门标签
最新试卷