Past-paper question · 2019 May-June · Paper 22 · Q4

Question 4 2019 · May-June · Paper 22 · 4 marks

Original past-paper question for 4
Reveal official mark-scheme answer Official mark-scheme answer for 4

Official answer for Question 4

Question 4

✓
Statements
✓
Selection
✓
Repetition
✓
FOR A ← 1 TO 100
✓
B ← B + 1

Question 9

✓
NEXT A
✓
CASE A OF
✓
100: B ← A

Question 9

✓
200: C ← A
✓
ENDCASE
✓
IF A > 100
✓
THEN

Question 9

✓
B ← A
✓
ENDIF
✓
REPEAT
✓
A ← B * 10

Question 9

✓
UNTIL A > 100
✓
1 mark for each correct row
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_s19_ms_22.pdf →

Show text version of question

Question 4

For each of the four groups of statements in the table, place a tick in the correct column to show whether it is an example of Selection or Repetition.

Statements Selection Repetition FOR A 1 TO 100

B
B + 1

NEXT A CASE A OF 100: B A 200: C A ENDCASE IF A > 100 THEN

B
A

ENDIF REPEAT

A
B * 10

UNTIL A > 100

[4]
Topic relevance

Why this question appears here

99% 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_s19_qp_22.pdf

Keep practising this topic