【判断题】【消耗次数: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
随机题目
【单选题】 A(n)____ person is one who has much knowledge and the ability to use it well.
①  smart
②  intelligent
③  clever
④  wise
【单选题】 The actress wanted a hat to ____ her dress.
①  go by
②  go through
③  go out
④  go with
【单选题】 Twenty-year-olds should not _____ to drive in China.
①  allow
②  be allow
③  be allowed
④  allowed
【单选题】 Our teacher recommended that we ____ as attentive as possible when we visit the museum.
①  are
②  shall be
③  be
④  were
【单选题】 A good newspaper published both ____ and foreign news.
①  civil
②  domestic
③  democratic
④  national
【单选题】 She dares to go alone, _____?
①  does she
②  dares she
③  doesn’ t she
④  daren’ t she
【单选题】 Its an important component of preschool education to help and instruct young children to develop a positive ______.
①  self-reality
②  self-evidence
③  self-service
④  self-concept
【单选题】 You ____ business interfering with my affairs.
①  have none
②  have no
③  have none of the
④  have nothing like
【单选题】 Whatwereyoudoing ______ therainstormcame?
①  while
②  when
③  before
④  after
【单选题】 We looked for a table to sit down, but they were all ____.
①  reserved for
②  engaged in
③  used up
④  taken up