【判断题】【消耗次数:1】
do while循环体内一定要有改变循环条件的语句,否则会造成死循环。
正确
错误
参考答案:
复制
纠错
相关题目
【单选题】 do-while循环语句:int do i++; while(i*i其循环体语句被执行的次数为?
①  2
②  3
③  4
④  5
【单选题】 do-while循环语句: int i=0; do i++; while(i其循环体语句被执行的次数为?
①  4
②  3
③  5
④  10
【判断题】 do while循环的循环体至少执行一次。
①  正确
②  错误
【多选题】 先判断循环条件后执行循环体语句的循环结构有()。
①  while循环结构
②  do...while循环结构
③  for循环结构
④  while...do循环结构
【单选题】 在下面循环语句中循环体执行的次数为() int i=0; do i++; while(i*i
①  4
②  3
③  5
④  2
【单选题】 在下面循环语句中循环体执行的次数为()。 int i=0; do i++; while(i*i
①  4
②  3
③  5
④  2
【单选题】 在循环语句的循环体中,continue语句的作用是(  )。
①  立即终止整个循环
②  继续执行continue语句之后的循环体
③  结束本次循环
④  结束本次循环并跳出循环
【单选题】 在循环语句的循环体中,break语句的作用是()。
①  继续执行break语句之后的循环体各语句
②  提前结束循环,接着执行该循环后续的语句
③  结束本次循环
④  暂停程序的运行
【单选题】 在下面循环语句中循环体执行的次数为()。 int i=0; do i++; while(i*i<10);
①  4
②  3
③  5
④  2
【单选题】 在下面循环语句中循环体执行的次数为(????) ?int i=0; do i++; while(i*i<10);
①  4
②  3
③  5
④  2
随机题目
【单选题】 When Ann broke the dish she tried to put the ____ back together.
①  fragments
②  pieces
③  bits
④  slices
【单选题】 I really do not know whether we can succeed, so do not expect ____.
①  too much of us
②  us too much
③  of us too much
④  us of too much
【单选题】 Frank almost never received any education, ____?
①  would he
②  did he
③  didn’t he
④  wouldn’t he
【单选题】 The teeth are ____, but they look very natural.
①  false
②  correct
③  fake
④  unnatural
【单选题】 You should know better than ____ your little sister at home by herself.
①  to leave
②  leaving
③  to have left
④  left
【单选题】 There _____ a basketball match between Class One and Class Three this afternoon.
①  is going to be
②  will have
③  are going to be
④  is going to have
【单选题】 A well written composition ____ good choice of words and clear organization among other things.
①  calls for
②  calls on
③  calls up
④  calls off
【单选题】 A large part of a person’s memory is ____ words and combination of words.
①  by means of
②  in terms of
③  in connection with
④  by way of
【单选题】 —Whydontwetakealittlebreak?—Didntwejusthave ______ .
①  it
②  that
③  one
④  this
【单选题】 Outside my office window there is a fire ____ on the right.
①  escape
②  ladder
③  steps
④  stairs