以下程序段运行后,Label1.Text结果是_________。Label1.Text = ""For i = 1 To 6 If i Mod 2 = 0 Then Label1.Text = i EndifNext A: 6 B: 135 C: 246 D: 123456 E: 24
以下程序段运行后,Label1.Text结果是_________。Label1.Text = ""For i = 1 To 6 If i Mod 2 = 0 Then Label1.Text = i EndifNext A: 6 B: 135 C: 246 D: 123456 E: 24
Word中插入数学公式的方法是()。 A: "插入"→"形状"→"公式" B: "开发工具"→"公式" C: "插入"→"公式"→"插入新公式" D: "引用"→"插入"→"公式"
Word中插入数学公式的方法是()。 A: "插入"→"形状"→"公式" B: "开发工具"→"公式" C: "插入"→"公式"→"插入新公式" D: "引用"→"插入"→"公式"
以下选项中,两个条件语句功能等价的是()。 A: if (a=3) printf("%d ",a);if (a==3) printf("%d ",a); B: if (a-3) printf("%d ",a);if (a!=3) printf("%d ",a); C: if (a) printf("%d ",a); if (a==0) printf("%d ",a); D: if (a-3) printf("%d ",a);if (a==3) printf("%d ",a);
以下选项中,两个条件语句功能等价的是()。 A: if (a=3) printf("%d ",a);if (a==3) printf("%d ",a); B: if (a-3) printf("%d ",a);if (a!=3) printf("%d ",a); C: if (a) printf("%d ",a); if (a==0) printf("%d ",a); D: if (a-3) printf("%d ",a);if (a==3) printf("%d ",a);
a为非零时显示x,为零时显示y。能完成该功能的语句是 ( ) 。 A: if(a) printf("%d ",x); else printf("%d ",y); B: if(!a) printf("%d ",y); else printf("%d ",x); C: if (a!=0) printf("%d ",x); else printf("%d ",y); D: if(a==0) printf("%d ",y); else printf("%d ",x); E: if(a) printf("%d ",x); else; printf("%d ",y);
a为非零时显示x,为零时显示y。能完成该功能的语句是 ( ) 。 A: if(a) printf("%d ",x); else printf("%d ",y); B: if(!a) printf("%d ",y); else printf("%d ",x); C: if (a!=0) printf("%d ",x); else printf("%d ",y); D: if(a==0) printf("%d ",y); else printf("%d ",x); E: if(a) printf("%d ",x); else; printf("%d ",y);
R 语言中,代表注释语句起始的符号是( )。 A: "," B: ";" C: ":" D: " E: "
R 语言中,代表注释语句起始的符号是( )。 A: "," B: ";" C: ":" D: " E: "
id选择器使用_______________进行标识,后面紧跟id名。 A: " B: " C: "&" D: "@" E: "$"
id选择器使用_______________进行标识,后面紧跟id名。 A: " B: " C: "&" D: "@" E: "$"
定义并初始化一个用于存放我们国家的四个直辖市的数组cityName,四个直辖市为:北京,上海,天津,重庆. 正确的是_________ A: String[] cityName=new String[4]{"北京","上海","天津","重庆"}; B: String[] cityName=new String[]{"北京","上海","天津","重庆"}; C: String[] cityName={"北京","上海","天津","重庆"}; D: String cityName = new String[4] { "北京", "上海", "天津", "重庆" };
定义并初始化一个用于存放我们国家的四个直辖市的数组cityName,四个直辖市为:北京,上海,天津,重庆. 正确的是_________ A: String[] cityName=new String[4]{"北京","上海","天津","重庆"}; B: String[] cityName=new String[]{"北京","上海","天津","重庆"}; C: String[] cityName={"北京","上海","天津","重庆"}; D: String cityName = new String[4] { "北京", "上海", "天津", "重庆" };
下面语句中,正确的是( )。 A: printf("%c ","student"); B: printf("%c ","c"); C: printf("%s ",&a); D: printf("%s ","hello");
下面语句中,正确的是( )。 A: printf("%c ","student"); B: printf("%c ","c"); C: printf("%s ",&a); D: printf("%s ","hello");
C语言空语句是由一个( )构成的。 A: 冒号":" B: 分号";" C: 逗号"," D: 句号"."
C语言空语句是由一个( )构成的。 A: 冒号":" B: 分号";" C: 逗号"," D: 句号"."
已知有一个名为names的空列表,如何向其中添加old_driver,rain,jack,shanshan,peiqi,black_girl 元素? A: names.append("old_driver","rain","jack","shanshan","peiqi","black_girl") B: names.extend("old_driver","rain","jack","shanshan","peiqi","black_girl") C: names.insert("old_driver","rain","jack","shanshan","peiqi","black_girl") D: names.extend(["old_driver","rain","jack","shanshan","peiqi","black_girl"])
已知有一个名为names的空列表,如何向其中添加old_driver,rain,jack,shanshan,peiqi,black_girl 元素? A: names.append("old_driver","rain","jack","shanshan","peiqi","black_girl") B: names.extend("old_driver","rain","jack","shanshan","peiqi","black_girl") C: names.insert("old_driver","rain","jack","shanshan","peiqi","black_girl") D: names.extend(["old_driver","rain","jack","shanshan","peiqi","black_girl"])