【判断题】【消耗次数:1】
在循环结构中可以使用break强制退出循环。
正确
错误
参考答案:
复制
纠错
相关题目
【单选题】 在循环语句的循环体中,break语句的作用是()。
①  继续执行break语句之后的循环体各语句
②  提前结束循环,接着执行该循环后续的语句
③  结束本次循环
④  暂停程序的运行
【单选题】 要退出Do…Loop循环,可使用的语句是()语句。
①  Exit
②  .Exit For
③  End Do
④  Exit Do
【多选题】 先判断循环条件后执行循环体语句的循环结构有()。
①  while循环结构
②  do...while循环结构
③  for循环结构
④  while...do循环结构
【单选题】 循环结构控制方式有两种、由明确次数来控制循环结束的循环结构是()。
①  条件控制循环
②  计数控制循环
③  选择控制循环
④  顺序控制循环
【单选题】 ()来控制循环结束的循环结构是计数控制的循环。
①  由条件控制的循环
②  由明确的次数
③  Raptor操作
④  其它都不对
【单选题】 下列关于for循环和while循环的说法中哪个是正确的?( )
①  while循环能实现的操作,for循环也都能实现
②  while循环判断条件一般是程序结果,for循环判断条件一般是非程序结果
③  两种循环任何时候都可替换
④  两种循环结构中都必须有循环体,循环体不能为空
【单选题】 在 DO WHILE … ENDDO循环结构中 ,EXIT 命令的作用就是
①  退出过程 , 返回程序开始处
②  转移到 DO WHILE语句行 , 开始下一个判断与循环
③  终止循环 , 将控制转移到本循环结构 ENDDO后面的第一条语句继续执行
④  终止程序执行
【单选题】 在下面循环语句中循环体执行的次数为() for(int i=0; in/2) break;
①  n/2
②  n/2+1
③  n/2-1
④  n-1
【单选题】 在下面循环语句中循环体执行的次数为()。 for(int i=0; in/2) break;
①  n/2
②  n/2+1
③  n/2-1
④  n-1
【单选题】 在下面循环语句中循环体执行的次数为(????) for(int i=0; in/2) break;
①  n/2
②  n/2+1
③  n/2-1
④  n-1
随机题目
【单选题】 He teaches____math.
①  us
②  we
③  our
④  ours
【单选题】 I agree with you to a certain _________ but not entirely.
①  part
②  extent
③  level
④  way
【单选题】 There is no enough______ on the corner to put the table
①  room
②  floor
③  space
④  place
【单选题】 A fire broke out at the school but the teacher were able to lead the ___________ children to safety.
①  frightened
②  frightening
③  frighten
④  fright
【单选题】 I dont have to introduce the boy to you ___-you know him.
①  since
②  until
③  unless
④  but
【单选题】 The author was _______ in a small village, as is described in some of his short stories.
①  brought out
②  brought in
③  brought up
④  brought about
【单选题】 Please drop in whenever you can.. I’d like to keep _________ touch..
①  in
②  to
③  on
④  with
【单选题】 _______ of the twins was arrested, because I saw both at a party last night.
①  None
②  Both
③  Neither
④  D. All
【单选题】 _____ for the fact that she broke her leg, she might have passed the exam.
①  Had it not been
②  Hadnt itbeen
③  Was it not
④  Were it not
【单选题】 The pen_________ him ten yuan.
①  paid
②  took
③  cost
④  spent