第4章 循环结构(国外英文资料).docVIP

  • 18
  • 0
  • 约2.9万字
  • 约 32页
  • 2017-06-10 发布于河南
  • 举报
第4章 循环结构(国外英文资料)

第4章 循环结构(国外英文资料) A, multiple choice Answer: B The examination site: while loop Analysis: while (n 7), the loop body is executed if the condition is satisfied, otherwise it is out of circulation. (1) the value of N is 10, N 7 is true, the loop body, N = N minus 1, N is 9, and the output N is 9 (2) the value of N is 9, N 7 is true, the loop body, N = N minus 1, N is 8, and the output N is 8 (3) N has a value of 8, N 7 is true, the loop body, N = N minus 1, N is 7, and the output N is 7 (4) N is 7. N 7 is false. Answer: A Test points: while and self-subtracting Analysis: - Is algorithm is a

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档