题目内容

If a loop does not contain within itself a way to terminate, it is called a(n)当一个循环的自身没有终止语句则称这个循环为?

A. while loopwhile循环
B. do-while loopdo-while循环
C. for loopfor循环
D. infinite loop死循环/无限循环

查看答案
更多问题

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括号

答案查题题库