Question 1
OCR A Further Maths June 2022 Discrete mathematics (Y534-01)AS4 marks
On the specification
- (a)
- 7.03 Algorithms
- (b)
- 7.03 Algorithms
Question text
1 The flowchart below has positive inputs X, Y and M. Input X, Y N = 0 Input a positive integer M H = 1 ÷ M 22 D = (X + Y ) ÷ (5X) X = X + H Y = Y + H×D N = N + 1 YES Is N < M NO Display Y STOP (a) Trace through the flowchart above using the inputs X = 1, Y = 2 and M = 2. You only need to record values when they change. [3] (b) Explain why the process in the flowchart is finite. [1]