Each repetition of a loop is known as what?每个循环的重复被称为什么?
An iteration 迭代
B. A cycle周期
C. An execution执行
D. A Lap圈数
查看答案
This variable controls the number of times that the loop iterates.控制循环的迭代次数的是?
A. Counter variable计数器变量
B. Loop control variable循环控制变量
C. Running total运行总数
Decrement variable减量变量
This type of loop will always be executed at least once.将始终至少执行一次的循环是?
A. pre-test loop先测试循环
B. post-test loop后测试循环
C. sentinel loop 设定值循环
D. for loopfor循环
If you are using a block of statements, don’t forget to enclose all of the statements in a set of:如果要使用的是一个语句块,请不要忘记将所有语句放在哪里?
A. Braces大括号
B. Double quotes双引号
C. Semicolons分号
D. Parentheses括号
What will be the value of x after the following code is executed?执行以下代码后,x的值是什么?int x = 10;while (x < 100){x += 10;}
A. 90
B. 100
C. 110
D. This is an infinite loop这是一个死循环/无限循环