Past-paper question · 2021 May-June · Paper 21 · Q5(a)

Question 5(a) 2021 · May-June · Paper 21 · 4 marks

Original past-paper question for 5(A)
Original past-paper question for 5(A)
Reveal official mark-scheme answer Official mark-scheme answer for 5(A)

Official answer for Question 5

Part (a)

✓
One mark for each correct column (Max 4)

Question 4

✓
OUTPUT
✓
Value
✓
Diff1
✓
Diff2

Question 50

Question 50

✓
0

Question 75

Question 25

Question 25

Question 99

Question 1

Question 49

Question 28

Question 82

Question 18

Question 32

✓
150
  • 1
✓
2210/21
✓
Cambridge O Level – Mark Scheme
✓
May/June 2021
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_s21_ms_21.pdf →

Show text version of question

Question 5

Part (a)

Question 5

The flowchart represents an algorithm.

The algorithm will terminate if –1 is entered.

START

INPUT Value

IS Yes Value =

  • 1 ?

OUTPUT "Reject: END No Abnormal"

IS No Value >= 50 AND Value <= 100 ?

Yes

Diff1 100 – Value

Diff2 Value – 50

IS OUTPUT No Diff1 < 1 OR "Accept: Normal" Diff2 < 1 ?

Yes

OUTPUT "Accept: Extreme"

Question 11

Part (a)

Complete the trace table for the input data:

Value Diff1 Diff2 OUTPUT

[4]
Topic relevance

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_s21_qp_21.pdf

Keep practising this topic