Question 5(b)(i) 2019 · October-November · Paper 31 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 5
Part (b)
(i)
Question 1
mark per bullet point
Question 4
Show text version of question
Question 5
Part (b)
(i)
An organisation stores data about its employees.
- Employee ID is a five-digit number, for example, 01234.
- Employee name is a string, for example, ‘Kiri Moana’.
- Department is one of three values: Sales, Technical, Customer services.
- Salary is an integer value in the range 25 000 to 150 000.
(i)
Complete the following pseudocode definition of a user-defined data type to store the
employee data.
TYPE Employee
DECLARE EmployeeID : ....................................................................................
DECLARE EmployeeName : STRING
DECLARE Department : ( .................................................................................
..................................................................................)
DECLARE Salary : 25000..150000
...........................................................................................................................................
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_w19_qp_31.pdf
