Graphics Interpretation

试题详情

题目:

The 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 = rac{b}{2}$$ is completed for the second time, the value of b is .

答案:

A B

提问:

请问Ken老师、 这个如何思考? 已知有三男三女,将六个人圆桌排列,男女隔开,多少种不同算法? 思路是,先直线排列: A(3,3)*A(4,3) 然后圆桌少了一次轮回,除6
评分: 0
浏览: 1817
点我领取
免费专项课程
在线咨询