【单选题】【消耗次数:1】
直到型循环指的是()。
while循环
for循环
do-while循环
if选择
参考答案:
复制
纠错
相关题目
【单选题】 C语言中while 和do-while 循环的主要区别是(  )。
①  do-while 的循环体不能是复合语句
②  while 的循环控制条件比do-while 的循环控制条件严格
③  do-while 允许从外部转到循环体内
④  do-while的循环体至少无条件执行一次
【单选题】 C语言中while和do-while循环的主要区别是( )?
①  do-while的循环体至少无条件执行一次
②  while的循环控制条件比do-while的循环控制条件严格
③  do-while允许从外部跳转到循环体内
④  do-while的循环体不能是复合语句
【单选题】 do-while循环语句:int do i++; while(i*i其循环体语句被执行的次数为?
①  2
②  3
③  4
④  5
【判断题】 while是直到循环
①  正确
②  错误
【单选题】 do-while循环语句: int i=0; do i++; while(i其循环体语句被执行的次数为?
①  4
②  3
③  5
④  10
【判断题】 do while循环的循环体至少执行一次。
①  正确
②  错误
【单选题】 以下程序中,while循环的循环次数是()
①  1
②  10
③  6
④  死循环,不能确定次数
【判断题】 do while循环体内一定要有改变循环条件的语句,否则会造成死循环。
①  正确
②  错误
【单选题】 下列关于for循环和while循环的说法中哪个是正确的?( )
①  while循环能实现的操作,for循环也都能实现
②  while循环判断条件一般是程序结果,for循环判断条件一般是非程序结果
③  两种循环任何时候都可替换
④  两种循环结构中都必须有循环体,循环体不能为空
【单选题】 在 DO WHILE … ENDDO循环结构中 ,EXIT 命令的作用就是
①  退出过程 , 返回程序开始处
②  转移到 DO WHILE语句行 , 开始下一个判断与循环
③  终止循环 , 将控制转移到本循环结构 ENDDO后面的第一条语句继续执行
④  终止程序执行
随机题目
【单选题】 Education and medical care are very ____ in theUnited States.
①  much
②  cheap
③  many
④  expensive
【单选题】 Since the road is wet this morning, ____ last night. ?
①  it must have rained ?
②  ?it must rain ?
③  it must be raining ?
④  it must have been rained?
【单选题】 The factory is said ____ in a fire two years ago.
①  to have destroyed
②  to be destroyed
③  to destroy
④  to have been destroyed
【单选题】 The prices of the agricultural products have been ____ steadily in the past few years.
①  risen
②  raised
③  arisen
④  aroused
【单选题】 The organization has developed several techniques useful to other groups ____ the similar work.
①  to do
②  do
③  does
④  doing
【单选题】 ____ it is you found, you must give it back to the person it belongs to.
①  That
②  Because
③  Whatever
④  However
【单选题】 If you don’t think it necessary to make ____ any missed lessons, speak up now.
①  up for
②  up with
③  up to
④  away for
【单选题】 No sooner had he sat down to lunch ____ there was a knock at the door.
①  when
②  that
③  as
④  than
【单选题】 When the teacher had ____through with the class, they felt very ashamed.
①  gone
②  got
③  done
④  taken
【单选题】 “Which of these two ties will you take?” “I’ll take ____to give me a change sometimes.”?
①  either ?
②  both ?
③  neither ?
④  all?