Help

  • 右上角的时钟图标会对每道题和所有题计时
  • 右上角的文件夹点击可以打开和关闭当前题号
  • 点击右上角的星星图标 ,所有被收藏的题目均可在“我的”-“收藏”中找到
  • 点击右下角 Next进入下一题。注意:如果你没有做当前题目,你将不可以进入下一题
  • 点击左下角的 QuitEnd Exam 即可退出练习

Close

End Section Review

    你想结束这部分的检查吗?
    如果你点击Yes,你将结束该部分模考。
yes
no

End Exam

    You are about to end your exam

    If you click the Yes button below,your exam will end.
    Are you sure you want to end your exam?
yes
no

Answer Edit Confirmation

    你想更改这个问题的答案吗?
Yes,换答案
No,保留原始答案并回到问题上
注册 注册限时领GMAT/GRE全科PDF备考资料包

欢迎登陆~

验证码
登录
没有账号? 立即注册

欢迎加入~

验证码
注册
已有账号? 立即登录

找回密码~

验证码
提交
记起密码? 立即登录
提交 取消
最新题目

题目内容

收藏
纠错
1.pngThe flowchart represents a mathematical algorithm that takes two positive integers as the input and returns a positive integer as the output. Processes are indicated in the rectangular symbols in the flowchart. Each process is symbolized by an equation, such as T = T + a. In this particular process, the current values of the variables T and a are added together and the sum then becomes the value of T. For example, if the value of T is 3 and the value of a is 7 before the process T = T + a is completed, then the value of T is 10 and the value of a is 7 after the process is completed.Use the drop-down menus to fill in the blanks in the following statements based on the algorithm represented by the flowchart.If 24 and 35 are entered as the values for a and b, respectively, then the first nonzero value of T is .If 35 and 27 are entered as the values for a and b, respectively, then after the process b = b over 2 is completed for the second time, the value of b is .
正确答案: 24,6

参考解析

提交我的解析
    涉及知识点概述
    本题涉及流程图逻辑和基本数学运算,重点在于理解流程图中条件判断(b是否为奇数)和变量赋值(如T = T + a,a = 2a,b = b / 2等)的逻辑关系,并根据给定输入值进行计算。 解析
    1. 当a = 24,b = 35时: - 因为b = 35是奇数,执行T = T + a,初始T = 0,所以T = 0 + 24 = 24,这就是第一个非零的T值。 2. 当a = 35,b = 27时: - 第一次b = 27是奇数,执行b = b - 1,b变为26。 - 第二次,b = 26是偶数,执行b = b / 2,b变为13。 综上,第一个空填24,第二个空填13。

题目讨论 (如果对题目有任何的疑惑,欢迎在这里提出来,大家会帮你解答的哦~)

还没有人评论,赶快抢个沙发~

报告题目错误 ×
请选择错误类型:
请描述一下这个错误:

取消
logo

mofa留学圈
一站式GMAT与GRE在线学习平台

公众号

关注mofa留学圈