更多"执行以下程序段后,变量c$的值为 a$='Visual Basic "的相关试题:
[单项选择]执行以下程序段后,变量c的值为( )。
a="Visual Basic Programing"
b="|Quick"
c=b&Ucase(Mid(a,7,6))&Right(a,11)
A. Visual BASIC Programing
B. Quick Basic Programing
C. QUICK Basic Programing
D. Quick BASIC Programing
[单项选择]执行以下程序段后,变量C$的值为( )。
A$="Visual Basic Programing"
B$="Quick"
C$=B$ & Ucase(Mid$(A$,7,6)) & Right$(A$,11)
A. Visual BASIC Programing
B. QuickBasic Programing
C. QUICK Basic Programing
D. Quick BASIC Programing
[单项选择]执行以下程序段后,变量c$的值为
a$="Visual Basic Programming"
b$="Quick"
c$=b$ &UCase(Mid$(a$,7,6)) & Right(a$,12)
A. Visual BASIC Programming
B. Quick Basic Programming
C. QUICK Basic Programming
D. Quick BASIC Programming
[单项选择]执行以下程序段后,变量c$的值为( )。
a$="Visual Basic Programming"
b$="Quick"
c$=b$&UcaseMid $(a$,7,6)&Right$ (a$,12)
A. Visual BASIC Programming
B. Quick Basic Programming
C. QUICK Basic Programming
D. Quick BASIC Programming
[填空题]执行以下程序段后,变量c的值为______。
a="Visual Basic Programming"
b="Quick"
c=b & UCase(Mid(a,7,6)& Right(a,12))
[单项选择]执行以下程序段后,变量c$的值为 ______。
a$="Visual Basic Programming"
b$="Quick"
c$=b$ & UCase(Mid$(a$,7,6))& Right$(a$,12)
A. Visual Basic Programming
B. Quick Basic Programming
C. QUICK Basic Programming
D. Quick BASIC Programming
[单项选择]执行以下程序段后,变量c$的值为( )。
S$="VisualBasicProgramming"
b$="Quick"
c$=b$&UCase(Mid$(a$,7,6))&Right$(a$,12)
A. VisualBASICProgramming
B. QuickBasicProgramming
C. QUICKBasicProgramming
D. QuickBASICProgramming
[单项选择]执行以下程序段后,整型变量C的值为( )。
a=24
b=328
Select Caseb/10
Case0
c=a*10+b
Case 1 to 9
c=a*100+b
Case 10 to 99
c=a*1000+b
End Select
A. 537
B. 2427
C. 24328
D. 240328
[单项选择]若整型变量a的值为2、b的值为3,则下面程序段执行后整型变量c的值为( )。
If a>5 Then
If b<4 Thenc=a-b Elsec=b-a
Else
If b>3 Thenc=a*b Elsec=aMod6
End If
A. 2
B. -1
C. 1
D. 6
[单项选择]执行下面的程序段后,变量c的值为
a=14
b=30
Select Case b/10
Case 0
c=a * 10 + b
Case 1 To 9
c=a*100+b
Case 10 To 99
c=a*1000+b
End Select
Print c
A. 363
B. 2548
C. 1430
D. 9875
[单项选择]若整型变量a值为2、b的值为3,则下列程序段执行后整型变量c的值为______。
If a>5 then
If b<4 Then c=a-b Else c=b-a
Else
If b>3 Then c=a*b Else c=a mod b
End If
A. 2
B. -1
C. 1
D. 6
[单项选择]执行下列程序段
a$="Visual Basic Programming"
b$="C++"
c$=UCase(Left$(a$,7))&b$&Right$(a$,1 2)
后,变量c$的值为( )
A. Visual BASIC Programming
B. VISUAL C++Programming
C. Visual C++Programming
D. VISUAL BASIC Programming
[单项选择]执行以下程序段
a$="abbacddcba"
For i=6 To 2 Step-2
X=Mid(a,i,i)
Y=Left(a,i)
z=Rfight(a,i)
z=UCase(X&Y&z)
Next i
Print z
输出结果为
A. ABA
B. BBABBA
C. ABBABA
D. AABAAB
[单项选择]以下程序段的执行结果是( )。
#include <iostream.h>
Void main( )
int a,y;
a=10;y=0
do
a+=2;
y+=a;
cout<<"a"="<<a<<","<<"y="<<y<<"/n";
if(y>20) break;
while(a<=14);
A. a=12,y=12
B. a=12,y=12
C. a=12,y=12
D. a=12,y=12