Skip to content
CalcGospel 國際數學圖譜
返回

IAL 2025 Jan D1 Q3

A Level / Edexcel / D1

IAL 2025 Jan Paper · Question 3

题目

Problem

Figure 2 shows the flowchart for an algorithm.

The input for the algorithm is two positive integers.

The function INT(X) is the largest integer less than or equal to X.

(a) Complete the table in the answer book, with a=1980a = 1980 and b=462b = 462, showing the results at each step of the algorithm.

(4)

(b) Explain how the output, hh, relates to the inputs, aa and bb.

(1)
题目中文翻译

图 2 显示了算法的流程图。

算法的输入是两个正整数。

函数 INT(X) 是小于或等于 X 的最大整数。

(a) 在答案本中完成表格,取 a=1980a = 1980b=462b = 462,显示算法每一步的结果。

(b) 说明输出 hh 与输入 aabb 的关系。

解答