Past-paper question · 2025 October-November · Paper 23 · Q4(a)

Question 4(a) 2025 · October-November · Paper 23 · 4 marks

Original past-paper question for 4(A)
Reveal official mark-scheme answer Official mark-scheme answer for 4(A)

Official answer for Question 4

Part (a)

✓
One mark per point:

Question 4

✓
•
✓
input of adult and child places
✓
•
✓
calculation of total of adults and child places
✓
•
✓
… with booking fee added
✓
•
✓
output of the total using an appropriate message
✓
Example:
✓
OUTPUT "Please enter the number of adult tickets "
✓
INPUT Adult
✓
OUTPUT "Please enter the number of children "
✓
INPUT Child
✓
Total (Adult * 12.99) + (Child * 7.99) + 1.99
✓
OUTPUT "The total cost is ", Total

Mark scheme 0478_w25_ms_23.pdf →

Show text version of question

Question 4

Part (a)

Tickets for a theme park are booked online. An adult ticket costs $12.99 and a child ticket costs $7.99. A booking fee of $1.99 is added to the total cost of each booking.

Write an algorithm in pseudocode to:

  • input the number of adult tickets for a booking
  • input the number of child tickets for a booking
  • calculate and output the total cost of the booking using an appropriate message.

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

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

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

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

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

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

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

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

[4]
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 0478_w25_qp_23.pdf

Keep practising this topic