I’ll be in the office all day, _______ you telephone.
A、for case
B、 with case
C、in case
D、by case
第1题:
现有如下程序段,此程序段编译有错误,则程序段的错误出在
#include
main()
{ int a=30,b=40,c=50,d;
d=a >30?b:c;
switch(d){case a:printf("%d,",a);
case b:printf("%d,",b);
case c:printf("%d,",c);
default:printf("#");}}
A.default:printf("#");这个语句
B.d=a>30?b:c;这个语句
C.case a:printf("%d,",a); case b:printf("%d,",b); case c:printf("%d,",c);这三个语句
D.switch(d)这个语句
第2题:
Don't run so much. You'll ____ yourself before the game begins.
A.exhaust
B.exaggerate
C.consume
D.constrain
第3题:
—My spoken English is poor, what shall I do?
—Join an English language club to practice, you’ll __________ it?
A. be good at B. drop in C. deal with
第4题:
下列程序段的输出结果是【】。
int n="c";
switch(n++)
{default:printf("error");break;
case "a":
case "A":
case "b":
case "B":printf("good");break;
case "c":case"C":printf("pass");
case "d":case"D":printf("warn");
}
n++是在执行完其所在的语句后再加1,因此,在执行case的时候,n的值依然为'c',执行case'c'后面的语句,先打印出“pass”;在执行完case'c'后,未遇到break跳出switch,便接着执行下面的语句,又打印出warn。所以此题输出结果是passwarn。
第5题:
按行优先顺序存储下三角矩阵的非零元素,则计算非零元素a/sub>ij1≤j≤i≤n)的地址的公式为
A.LOC(aij)=LOC(all)+i×(i+1)/2+j
B.LOC(aij)=LOC(all)+i×(i+1)/2+(j-1)
C.LOC(aij)=LOC(all)+i×(i-1)/2+j
D.LOC(aij)=LOC(all)+i×(i-1)/2+(j-1)
第6题:
A、all
B、each
C、both
第7题:
现有如下程序段,此程序段编译有错误,则程序段的错误出在 #include<stdio.h> main() { int a=30,b=40,c=50,d; d=a>30? b:c; swish(d) { case a: Printf("%d,",a); case b: printf("%d,",b); case c: printf("%d,",c); default printf("#");}}
A.default:printf("#");这个语句
B.d=a>30? b:c;这个语句
C.case a:printf("%d,",a);case b:printf("%d,",b);case c:printf("%d,",c);这三个语句
D.switch(d)这个语句
第8题:
A、I like to
B、I would
C、I'll
第9题:
webbrowser1.document.all(i).tagname
webbrowser1.document.all(i).name
webbrowser1.document.all(i).value
第10题: