Question 9 2023 · October-November · Paper 13 · 8 marks
Reveal official mark-scheme answer
Official answer for Question 9
Question 8
Show text version of question
Question 9
another number.
Y is a factor of X if the result of X/Y is a whole number.
In pseudocode INT(W) returns the whole number part of W. If W is the same as INT(W) that means W is a whole number.
Complete the algorithm, including the missing first line, in pseudocode. Each THEN or ELSE statement should be on a separate line to the action resulting from it. The algorithm uses:
- W to store the result of X divided by Y
- Z to store the value of INT(W).
The algorithm must output the values of Y and X together with an appropriate message if Y is a factor of X or if Y is not a factor of X.
..........................................................................................................................................................
W←X/Y
Z=INT(W)
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
....................................................................................................................................................
Question 11
Why this question appears here
80% assigned-topic match · Algorithms and flowcharts › Algorithms and flowcharts
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 9626_w23_qp_13.pdf
