【判断题】【消耗次数:1】
在循环结构中可以使用break强制退出循环。
正确
错误
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【单选题】 在循环语句的循环体中,break语句的作用是()。
①  继续执行break语句之后的循环体各语句
②  提前结束循环,接着执行该循环后续的语句
③  结束本次循环
④  暂停程序的运行
【单选题】 要退出Do…Loop循环,可使用的语句是()语句。
①  Exit
②  .Exit For
③  End Do
④  Exit Do
【多选题】 先判断循环条件后执行循环体语句的循环结构有()。
①  while循环结构
②  do...while循环结构
③  for循环结构
④  while...do循环结构
【单选题】 循环结构控制方式有两种、由明确次数来控制循环结束的循环结构是()。
①  条件控制循环
②  计数控制循环
③  选择控制循环
④  顺序控制循环
【单选题】 在 DO WHILE … ENDDO循环结构中 ,EXIT 命令的作用就是
①  退出过程 , 返回程序开始处
②  转移到 DO WHILE语句行 , 开始下一个判断与循环
③  终止循环 , 将控制转移到本循环结构 ENDDO后面的第一条语句继续执行
④  终止程序执行
【单选题】 ()来控制循环结束的循环结构是计数控制的循环。
①  由条件控制的循环
②  由明确的次数
③  Raptor操作
④  其它都不对
【单选题】 在下面循环语句中循环体执行的次数为() 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
【单选题】 在下面循环语句中循环体执行的次数为()。 for(int i=0; in/2) break;
①  n/2
②  n/2+1
③  n/2-1
④  n-1
随机题目
【单选题】 20.She looks forward every spring to ___the flower-lined garden.
①  payingavisit
②  visit
③  walking
④  walkingin
【单选题】 17.We`d rather stay at home than go to the cinema, _____?.
①  hadwe
②  hadn`twe
③  wouldn`twe
④  wouldwe
【单选题】 11._______the new policy, we`re now having a happy life.
①  Thanksto
②  Because
③  Becauseof
④  Thankfor
【单选题】 12._____is no possibility ____Bob will win the first prize in the match.
①  That;that
②  There;that
③  There;whether
④  It;whether
【单选题】 14.____in a mountain village, Zhang ming has now become a famous writer.
①  Beforeaschoolteacher
②  Onceaschoolteacher
③  Hewasaschoolteacher
④  Heworkedasaschoolteacher.
【单选题】 16.—What made more than 100 passengers die. --- ________the air crash in Russia.
①  Itwas
②  Therewas
③  Thatwas
④  Thiswas
【单选题】 18.What do you think it is ____made them realize the importance of mastering a second language?
①  what
②  who
③  which
④  that
【单选题】 7.--Here is a new schoolbag for you. --Thank you, Mum, but there is no need ______a new one for me.
①  tobuy
②  tohavebought
③  buying
④  bought
【单选题】 10.----______ repeat the question? ----Yes, please.
①  Did
②  Willyou
③  CanI
④  ShallI
【单选题】 2. Listen to the two girls by the window. What language _________?
①  didyouspeak
②  weretheyspeaking
③  aretheyspeaking
④  havetheybeenspeaking