Past-paper question · 2022 February-March · Paper 22 · Q1(d)

Question 1(d) 2022 · February-March · Paper 22 · 4 marks

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

Official answer for Question 1

Part (d)

✓
Explanation

Question 4

✓
One mark per mark point, max four
✓
MP1
✓
Work/ Loop through all the total scores
✓
MP2
✓
compare each total score using selection / IF statements // use an appropriate function
✓
MP3
✓
select the score with the lowest value
✓
MP4
✓
… also select the player name for that score
✓
MP5
✓
output the player name and either the difference between par and their score or their score
✓
MP6
✓
compare the score with the lowest value with the value of par using selection / IF statements
✓
MP7
✓
… identify as “over par” if the value is greater than par or output “under par” if the value is less than par or output
✓
“par” if there is no difference
✓
Any programming statements included must be explained.
✓
0478/22
✓
Cambridge IGCSE – Mark Scheme
✓
February/March 2022
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks
✓
Section B

Mark scheme 0478_m22_ms_22.pdf →

Show text version of question

Question 1

Part (d)

Question 1

All variables, constants and other identifiers must have meaningful names.

Part (d)

Explain how your program completed part of Task 3 to identify the winner and to display their

name and the winning score relative to par. All programming statements that you include must be fully explained.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[4]

Question 7

Section B starts on page 8

Question 8

Section B

Topic relevance

Why this question appears here

88% 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_m22_qp_22.pdf

Keep practising this topic