Past-paper question · 2025 May-June · Paper 21 · Q11

Question 11 2025 · May-June · Paper 21 · 15 marks

Original past-paper question for 11
Original past-paper question for 11
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

✓
Marks are available for:

Question 15

✓
•
✓
AO2 (maximum 9 marks)
✓
•
✓
AO3 (maximum 6 marks)
✓
Data Structures required names shown underlined must be used as given in the scenario Arrays or lists
✓
CompetitorName, CompetitorScore, Points
✓
Requirements (techniques)
✓
R1 inputs and validates the points for each event for each competitor (nested iteration, iteration, input, output)
✓
R2 finds and outputs the name of the competitors with the highest score for each event (nested iteration, output and
✓
selection)
✓
R3 totals the score for each competitor, finds and outputs the names with the highest score for all five events(iteration,
✓
totalling, output and selection)
✓
0478/21
✓
Cambridge IGCSE – Mark Scheme
✓
May/June 2025
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_s25_ms_21.pdf →

Show text version of question

Question 11

The one-dimensional (1D) array CompetitorName[] contains the names of 25 competitors in a tournament that includes five events.

Another two-dimensional (2D) array CompetitorScore[] contains the points scored by each competitor in the five events. The first dimension of this array contains the index of the competitor from CompetitorName[] and the second dimension contains their scores.

Each competitor receives a score out of 100 for each event. These scores are manually entered into CompetitorScore[]

Medals are awarded to the competitor or the competitors who have:

  • the highest points scored in each of the five events
  • the highest total points scored for all five events.

The one-dimensional (1D) array Points[] stores the total number of points scored for each competitor.

Write a program that meets the following requirements:

  • takes as input, valid scores (between 0 and 100), for each competitor in each of the five
  • events

  • calculates the highest points scored for each event

•

outputs the names of the competitors who receive a medal for the highest points scored

  • calculates the highest total points scored for the five events
  • outputs the names of the competitors with the highest total points scored for the five events.

You must use pseudocode or program code and add comments to explain how your code works.

You do not need to declare any arrays or variables.

All inputs and outputs must contain suitable messages.

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

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

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

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

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

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

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

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

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

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

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

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

Question 13

, ,

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Question 14

, ,

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[15]

,

,

Question 15

Question 16

, ,

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

98% assigned-topic match · Programming › Arrays

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 0478_s25_qp_21.pdf

Keep practising this topic