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

Question 5(b) 2021 · May-June · Paper 21 · 2 marks

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

Official answer for Question 5

Part (b)

✓
One mark per bullet point (Max 2)

Question 2

  • To output the type of test data
  • … by performing a range check //… by checking if numbers are within the range 50 and 100 (inclusive) (or not).
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_s21_ms_21.pdf →

Show text version of question

Question 5

Part (b)

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 (b)

Describe the purpose of the algorithm.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................

[2]

Question 12

Topic relevance

Why this question appears here

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

Keep practising this topic