Past-paper question · 2021 May-June · Paper 42 · Q2(a)

Question 2(a) 2021 · May-June · Paper 42 · 2 marks

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

Official answer for Question 2

Part (a)

Question 1

mark each:

Question 2

  • booking record declaration (and end) …
  • … defining all 4 fields with integer data types
✓
TYPE Booking
✓
DECLARE BookingID : INTEGER
✓
DECLARE CustomerID : INTEGER
✓
DECLARE ItemID : INTEGER
✓
DECLARE Quantity : INTEGER
✓
ENDTYPE

Mark scheme 9608_s21_ms_42.pdf →

Show text version of question

Question 2

Part (a)

Question 2

A company stores bookings in a random file.

For each booking, the booking ID, customer ID, item ID and quantity are stored. These four values are all integers.

Part (a)

Write the pseudocode record declaration for the data type Booking.

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

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

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

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

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

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

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

[2]

Question 5

Topic relevance

Why this question appears here

71% assigned-topic match · Data types and structures › Data types and records

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 9608_s21_qp_42.pdf

Keep practising this topic