题目
单项选择题
What will be output by the following pseudocode if the number 10 is input as X?
选项
A.a. 100
B.b. 0
C.c. 20
D.d. 10
查看解析
标准答案
Please login to view
思路分析
To solve this, first note the loop condition and the operations inside. The pseudocode initializes X with the input value and then enters a While X <= 10 loop.
Option a. 100: On the first (and only) iteration, X equals 10, so the test X < ......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!