Past-paper question · 2022 October-November · Paper 21 · Q1(d)

Question 1(d) 2022 · October-November · Paper 21 · 5 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 5

✓
One mark per mark point, max five
✓
MP1
✓
how the program checked all the members // use of loop
✓
MP2
✓
how the program identified a member who has not paid their (annual) fee // use of condition
✓
MP3
✓
how the program kept a running total of members who have not paid their (annual) fees
✓
MP4
✓
for each of the three types of membership that require a fee // excluding golden members
✓
how the program calculated a percentage for members who had not paid…
✓
MP5
✓
MP6
✓
for each of the three types of membership that require a fee
✓
MP7
✓
how the program displayed a percentage for members who had not paid
✓
MP8
✓
all three percentages displayed with suitable messages
✓
Programming statements when used must be explained.
✓
Question
✓
Answer
✓
Marks
✓
Section B

Mark scheme 0478_w22_ms_21.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 completes these parts of Task 2:

  • Count the number of members of each membership type who did not pay the annual
  • fee.

  • Display these counts as a percentage of the total number of members for each

membership type.

Any programming statements that you include in your answer must be fully explained.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[5]

Question 7

Section B starts on page 8.

Question 8

Section B

Topic relevance

Why this question appears here

84% 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_w22_qp_21.pdf

Keep practising this topic