Question 5 2024 · May-June · Paper 21 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 5
Question 5
Show text version of question
Question 5
Write the pseudocode statements to perform this task:
- accept the input of a whole number from 1 to 4 inclusive
- use a CASE statement to:
○ output the number (1 to 4 inclusive) that was entered ○ output the word “ERROR” if a 1 to 4 inclusive number was not entered.
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
....................................................................................................................................................
Question 6
Why this question appears here
98% assigned-topic match · Programming › Programming concepts
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_s24_qp_21.pdf
