Past-paper question · 2022 May-June · Paper 13 · Q11

Question 11 2022 · May-June · Paper 13 · 7 marks

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

Official answer for Question 11

✓
Initialise count
  • 1 mark

Question 7

✓
Start
✓
Initialise total
  • 1 mark
✓
total ← total + number – 1 mark
✓
count ← count 1 – 1 mark
✓
count ← 0
✓
is count = 6
  • 1 mark
✓
total ← 0
✓
PRINT total
  • 1 mark
✓
yes and no in correct positions – 1 mark
✓
INPUT
✓
number
✓
count ← count + 1
✓
total ← total + number
✓
no
✓
is count =
✓
6?
✓
yes
✓
PRINT total
✓
Stop

Mark scheme 9626_s22_ms_13.pdf →

Show text version of question

Question 11

Complete the flowchart below to add up 6 numbers. Use the variable total to store the sum of the numbers and the variable count to control the number of times the loop is repeated.

Start

INPUT number

Stop

[7]

Question 12

reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the publisher will be pleased to make amends at the earliest possible opportunity.

To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cambridgeinternational.org after the live examination series.

Cambridge Assessment International Education is part of Cambridge Assessment. Cambridge Assessment is the brand name of the University of Cambridge Local Examinations Syndicate (UCLES), which is a department of the University of Cambridge.

Topic relevance

Why this question appears here

71% assigned-topic match · Algorithms and flowcharts › Algorithms and flowcharts

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 9626_s22_qp_13.pdf

Keep practising this topic