根据以下材料回答第 1~5 题:
A.I will take it.
B.How much is it?
C.What can I do for you?
D.Which one do you like?
E.Let me help you.
F.How many ones do you want?
G.Here you are.
H.Thank you SO much!
(S=Shopkeeper。P=Peter)
第 55 题
S: 1
P:1 wan to buy a notebook.
S:The notebooks are over there. 2
P:The blue one looks nice. 3
S:Two yuan.
P:That’s all right. 4
S: 5
P:Thank you.
第1题:
以下能正确计算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);
第2题:
15、以下能正确计算1×2×3×4...×10的程序段是
A.i=1; s=1; do { s=s*i; i++; } while(i<=10);
B.do { i=1; s=1; s=s*i; i++; } while(i<=10);
C.do { i=1; s=0; s=s*i; i++; } while(i<=10);
D.i=1; s=0; do { s=s*i; i++; } while(i<=10);
第3题:
以下程序段执行完后,i、j的值分别为: int i = 1,j = 10; do{ if(i++>--j)continue; }while(i<5);
A.i=6 j=5
B.i=5 j=5
C.i=6 j=4
D.i=5 j=6
第4题:
7、以下能正确计算1×2×3×4...×10的程序段是
A.i=1; s=1; do { s=s*i; i++; } while(i<=10);
B.do { i=1; s=1; s=s*i; i++; } while(i<=10);
C.do { i=1; s=0; s=s*i; i++; } while(i<=10);
D.i=1; s=0; do { s=s*i; i++; } while(i<=10);
第5题:
以下能正确计算1×2×3×4...×10的程序段是
A.i=1; s=1; do { s=s*i; i++; } while(i<=10);
B.do { i=1; s=1; s=s*i; i++; } while(i<=10);
C.do { i=1; s=0; s=s*i; i++; } while(i<=10);
D.i=1; s=0; do { s=s*i; i++; } while(i<=10);
第6题:
以下程序段执行完后,i、j的值分别为()。 int i = 1, j = 10; do { i++; j--; if (i > j) continue; } while (i < 5);
A.i=6 j=5
B.i=5 j=5
C.i=6 j=4
D.i=5 j=6