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

Question 1(b) 2022 · May-June · Paper 21 · 3 marks

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

Official answer for Question 1

Part (b)

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

Question 3

✓
One mark per mark point, max three
✓
MP1
✓
add/use a (new) variable/array to total the membership fee money // total number of members who have paid
✓
MP2
✓
initialise the totalling variable to 0 at the start of the program
✓
MP3
✓
check whether the new member has paid the $75 fee using a conditional statement
✓
MP4
✓
…if they have paid, and the amount paid is being totalled, add 75 to the current running total of the membership
✓
fee total
✓
MP5
✓
…if they have paid, and the number of paid members is being totalled, add 1 to the total number of members who
✓
have paid
✓
MP6
✓
…if they have paid, and the number of paid members is being totalled, multiply total by 75, to give total paid.

Mark scheme 2210_s22_ms_21.pdf →

Show text version of question

Question 1

Part (b)

Part (b)

Explain how you could change your program in Task 1 to total all the money collected from

new members who have paid.

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

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

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

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

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

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

[3]
Topic relevance

Why this question appears here

94% assigned-topic match · Programming › Programming concepts

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

Keep practising this topic