Question 4(a) 2020 · October-November · Paper 23 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 4
Part (a)
Question 4
Question 11
Question 4
Question 3
Question 6
Question 2
Question 3
Question 9
Question 3
Question 2
Question 1
Question 2
Question 6
Show text version of question
Question 4
Part (a)
Question 4
This flowchart represents an algorithm that allows the input of two numbers and performs a
calculation.
The predefined function MOD finds the remainder from integer division for example X 8 MOD 5 gives X a value of 3.
START
INPUT Y,Z
IS Yes Y = 0? END
No
IS Yes Y > Z? A Y MOD Z
No
OUTPUT Yes IS "Valid" A = 0?
No
OUTPUT "Invalid"
Question 13
Part (a)
Complete a trace table for this set of input data:
11, 4, 6, 2, 3, 9, 3, 2, 2, 6, 0, 0, 1, 1
Y Z A OUTPUT
Why this question appears here
98% assigned-topic match · Algorithm design and problem-solving
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 2210_w20_qp_23.pdf
