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

Question 2(a) 2021 · May-June · Paper 43 · 3 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 per bullet point

Question 3

  • Definition with identifier customer …
  • … customerID with data type integer
  • … remaining 3 fields with data type string
✓
e.g.
✓
TYPE customer
✓
DECLARE customerID AS INTEGER
✓
DECLARE firstName AS STRING
✓
DECLARE lastName AS STRING
✓
DECLARE telephoneNumber AS STRING
✓
ENDTYPE

Mark scheme 9608_s21_ms_43.pdf →

Show text version of question

Question 2

Part (a)

Question 2

Peter uses a record structure, customer, to store data about customers. The data includes:

  • a unique customer ID between 10 000 and 99 999
  • the customer's first name
  • the customer's last name
  • the customer's telephone number (for example, +44 1234567891).

Part (a)

Write pseudocode to define the record type customer.

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

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

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

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

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

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

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

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

[3]
Topic relevance

Why this question appears here

92% 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_43.pdf

Keep practising this topic