Past-paper question · 2020 October-November · Paper 22 · Q5(b)

Question 5(b) 2020 · October-November · Paper 22 · 2 marks

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)

✓
Any two from:

Question 2

  • The algorithm sorts/orders numbers
  • … into descending order / from largest to smallest
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_w20_ms_22.pdf →

Show text version of question

Question 5

Part (b)

Question 5

This pseudocode represents an algorithm.

REPEAT Flag 0 FOR Count 0 to 3 IF Num[Count] < Num[Count + 1] THEN Store Num[Count] Num[Count] Num[Count + 1] Num[Count + 1] Store Flag 1 ENDIF NEXT Count UNTIL Flag = 0

Part (b)

Describe the purpose of the algorithm.

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

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

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

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

[2]

Question 11

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

Keep practising this topic