Question 1(c)(i) 2018 · May-June · Paper 32 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (c)
(i)
Question 1
mark per bullet
Question 4
Show text version of question
Question 1
Part (c)
(i)
Question 1
Data types can be defined in a programming language.
The data type, StudentRecord, is defined by the code:
TYPE StudentRecord DECLARE StudentID : INTEGER DECLARE StudentFirstName : STRING DECLARE StudentSurname : STRING DECLARE StudentDOB : DATE DECLARE StudentCourse : ARRAY[1:10] OF STRING ENDTYPE
DECLARE CollegeStudent : StudentRecord
Students sit one exam in every course they take.
fields.
- a student assessment code (a unique code of three letters and two digits)
- the marks for the six exams
- the average mark of the six exams
(i)
Write pseudocode to define the data type StudentAssessment.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
.......................................................................................................................................[4]
Why this question appears here
85% 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_s18_qp_32.pdf
