题目内容

下面程序段中,()与其他三个程序段的作用不同

A. k=1;s=0;while (1) { s+=k ; k=k+1; if (k>100) break ;}printf(“%d”,s);‍
B. k=1;s=0;Repeat : s+=k ; if (k<=100) goto Repeat; printf(“%d”,s);‍
C. int k,s=0;for (k=1;k<=100;s+=++k);printf(“%d”,s);‍
D. k=1;s=0;do s+=k;while (k<=100);printf(“%d”,s)

查看答案
更多问题

Which of the following is not the job of the judge in a criminal trial in a crown court()

A. To decide what sentence the accused should receive if guilty
B. To decide if the accused is guilty or not
C. To sum up the evidence presented by both sides
D. To present evidence on behalf of the prosecution

What kind of court would you go to to deal with the following issues?a) To claim your money back from a trader who sold you faulty goodsb) To get a divorcec) To resolve a dispute about a willd) To gai

A. Criminal Court
B. Civil Court
C. Administrative Court
D. Supreme Court

Which of the following is a principle of defamation()

A. Duty of care breached
B. Statement refers to the plaintiff
C. The defendant committed an act/omission which caused inconvenience to the plaintiff
D. Absolute Privilege

In the sentence below, the words uniquely human mean _____“And he proved, in a uniquely human way, that there are people who care what happens to their fellow human beings.” (Para.15)()

A. Impossible for humans
B. Scary to humans
C. Done only by humans
D. Sudden by human standards

答案查题题库