A.12,abcd
B.10,bcde
C.2,defg
D.0,cdef
[单选题]有如下程序段: Dim str As String*10 Dim i Strl="abcdefg" i=12 lenl=Len(i) str2=Right(str1,4) 执行后,len1和str2的返回值分别是______。A.12,abcdB.10,bcdeC.2,defgD.0,cdef
[单选题]有如下程序段: Dim str As String*10 Dim i Str1="abcdefg" i=12 len1=Len(i) str2=Right(str1,4) 执行后,len1和str2的返回值分别是______。A.12,abcdB.10,bcdeC.2,defgD.0,cdef
[单选题]有如下程序段: Dim I As Integer I=Int(-3.25)执行后,I的返回值是A.-3B.-4C.3D.3.25
[单选题]有如下程序段:Dim I As IntegerI=Int (-3.25)执行后Ⅰ的返回值是A.-3B.-4C.3D.3.25
[单选题]设有如下程序段: char str[]=”World”; char*ptr=str; 执行上面的程序段后,*(ptr+5)的值为 ______。A.‘o’B.‘0’C.不确定的值D.‘o’的地址
[单选题]23 有如下程序段,该程序段循环的次数是______。 Dim i As Integer Dim j As Integer Dim k As Integer k=0 For i = 0 To 10 Step 3 For j = 1 To 5 If j > 3 Then k = k + 4: Exit For k=k+1 Print k Next j If i > 8 Then Exit For Next iA.9B.10C.11D.12
[单选题]下列程序段的功能是实现“学生”表中“年龄”字段值加1D.im Str As StringStr=”________________”D.ocmd.RunSql Str空白处应填入的程序代码是A.年龄=年龄+1B.Update学生Set年龄=年龄+1C.Set年龄=年龄+1D.Edit学生Set年龄=年龄+
[单选题](22)设有如下程序段:D.im a(10)...F.or Each x In aPrint x;Next x在上面的程序段中,变量x必须是A.)整型变量B.)变体型变量C.)动态数组D.)静态数组
[单选题]程序段如下: Dim i As Integer,s As Integer For i=4 To 1 Step-1 s=s+i Next i Print s,i执行的结果是( )。A.10 0B.9 1C.10 1D.9 0
[单选题]有如下程序: Private Sub Form_Click() Dim i As Integer,Sum As Integer Sum=0 For i=2 To 10 If i Mod 2<>0 And i Mod 3=0 Then Sum=Sum+i End If Next Print Sum End Sub 程序运行后,单击窗体,输出结果为A.12B.30C.24D.18