Past-paper question · 2025 May-June · Paper 31 · Q1(b)

Question 1(b) 2025 · May-June · Paper 31 · 0 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)

✓
One mark per mark point

Question 4

✓
MP1 TYPE Booking and ENDTYPE correct
✓
MP2 Declare used correctly for every field in the response
✓
MP3 Any four fields correct
✓
MP4 Remaining fields correct
✓
Example answer:
✓
TYPE Booking
✓
DECLARE BookingNumber : STRING
✓
DECLARE Destination : STRING
✓
DECLARE ClientName : STRING
✓
DECLARE ClientTelephone : STRING
✓
DECLARE DateOfDeparture : DATE
✓
DECLARE PickupAddress : STRING
✓
DECLARE TaxiUsed : Vehicle
✓
ENDTYPE
✓
9618/31
✓
Cambridge International AS & A Level – Mark Scheme
✓
May/June 2025
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9618_s25_ms_31.pdf →

Show text version of question

Question 1

Part (b)

Question 1

A programmer is writing a program to manage bookings for a small taxi company. The programmer

requires some user-defined data types.

Part (b)

Write pseudocode statements to declare the composite data type, Booking, to hold data

about taxi bookings. The data required includes:

  • booking number (any combination of letters and numbers)
  • destination
  • client name
  • client telephone number
  • date of departure
  • address for pick-up
  • the identity code of the taxi used.

Use the most appropriate data type in each case, including the enumerated data type from part (a).

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

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

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

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

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

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

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

Question 3

, ,

Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Constructs

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 9618_s25_qp_31.pdf

Keep practising this topic