I had better explain that I was a ______ visitor to the headmaster ’s study.
A: rare
B: silly
C: strange
D: frequent
第1题:
—Why didn't you go to the cinema yesterday?
—I______, but my daughter returned from America the moment I was leaving.
A. did
B. would
C. was going to
D. had
16.答案为C “你昨晚为什么不去电影院?”“我本打算去,但是我正要离开时我女儿从美国回来了。”该句用过去将来时表示过去打算做某事。
第2题:
C语言中,s=--i; 等价于【 】
A.s=i; i=i-1;
B.i=i-1; s=i;
C.s=i; s=s-1
D.s=i; s=i-1;
第3题:
以下能正确计算10!的程序段是 。
A.do {i=1;s=1;; s=s*i; i++; }while(i<=10);
B.do{i=1;s=0 s=s*i; i++; while(i<=10);
C.i=1;s=1; do{s=s*i; i++; }while(i<=10);
D.i=1;s=0; do{s=s*i; i++; }while(i<=10);
第4题:
以下能正确计算1+2+3+…+10的程序段是 。
A.i=1; s=1; do {s=s+i; i++;} while (i<10);
B.do {i=1;s=0; s=s+i; i++;} while (i<=10);
C.do {i=1;s=1; s=s+i; i++;} while (i<=10);
D.i=1,s=0; do {s=s+i; i++;} while (i<=10);
E.i=1; s=1; do {s=s+i; i++;} while (i<=10);
F.i=1,s=0; do {s=s+i; i++;} while (i<10);
第5题:
下列选项中,与"for(i=1,s=0;i<n;i++){s=s+i;}"功能相同的程序段是()
A.for(i=n,s=0;i>1;i--){s=s+i;}
B.for(i=n,s=0;i>=1;i--){s=s+i;}
C.for(i=n-1,s=0;i>1;i--){s=s+i;}
D.for(i=n-1,s=0;i>0;i--){s=s+i;}
第6题:
以下能正确计算1×2×3×…×10的程序段是 。
A.do {i=1;s=1; s=s*i; i++; } while(i<=10);
B.do {i=1;s=0; s=s*i; i++; } while(i<=10);
C.i=1;s=1; do {s=s*i; i++; } while(i<=10);
D.i=1;s=0; do {s=s*i; i++; } while(i<=10);