Past-paper question · 2022 May-June · Paper 21 · Q1(e)

Question 1(e) 2022 · May-June · Paper 21 · 4 marks

Original past-paper question for 1(E)
Original past-paper question for 1(E)
Original past-paper question for 1(E)
Original past-paper question for 1(E)
Original past-paper question for 1(E)
Reveal official mark-scheme answer Official mark-scheme answer for 1(E)

Official answer for Question 1

Part (e)

✓
Explanation of how each was done. Code is allowed, but must be fully explained.

Question 4

✓
One mark per mark point, max four
✓
MP1
✓
a menu is provided/options are displayed so that the user can choose which of the lists they wish to see
✓
MP2
✓
the user inputs a number/code as shown on the menu corresponding to their menu choice
✓
MP3
✓
attempt to validate input
✓
MP4
✓
… if it does not match an option, give an error message and ask for re-input
✓
MP5
✓
… if it matches an option, a range of IF statements/conditional statements/CASE statement are/is used to
✓
compare the input with the available options
✓
MP6
✓
… output the chosen list e.g. using a loop to output the contents of the appropriate first and second name arrays
✓
corresponding to the user input
✓
MP7
✓
identification of empty list and appropriate action
✓
Task 2 – using the membership data
✓
Extend the program in Task 1 so that a list of the first and last names of members can be output in any of the following
✓
categories:
✓
Members who have chosen to work as volunteers.
✓
Volunteers who would like to work at the pier entrance gate.
✓
Volunteers who would like to work in the gift shop.
✓
Volunteers who would like to help with painting and decorating tasks.
✓
Members whose membership has expired (they have not re-joined this year).
✓
Members who have not yet paid their $75 fee.
✓
0478/21
✓
Cambridge IGCSE – Mark Scheme
✓
May/June 2022
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks
✓
Section B

Mark scheme 0478_s22_ms_21.pdf →

Show text version of question

Question 1

Part (e)

Part (e)

Explain how your program allows any one of the member or volunteer lists to be selected and

displayed (part of Task 2). Any programming statements used in your answer must be fully explained.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[4]

Question 7

Section B

Topic relevance

Why this question appears here

82% assigned-topic match · Programming

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

Keep practising this topic