Past-paper question · 2013 May-June · Paper 23 · Q1(c)(ii)

Question 1(c)(ii) 2013 · May-June · Paper 23 · 4 marks

Original past-paper question for 1(C)(II)
Original past-paper question for 1(C)(II)
Original past-paper question for 1(C)(II)
Reveal official mark-scheme answer Official mark-scheme answer for 1(C)(II)

Official answer for Question 1

Part (c)

(ii)

(ii)

e.g. Pascal

✓
Type Exam = RECORD
✓
Subject : String [10] ;
✓
Title: String [20] ;
✓
Level: Char ;
✓
DateSat ; String [8] ;
✓
Mark ; Integer ;
✓
END ;
✓
e.g. VB 2005
✓
STRUCTURE Exam
✓
DIM Subject AS String
✓
DIM Title AS String
✓
DIM Level AS String
✓
DIM DateSat AS Date
✓
DIM Mark AS Integer
✓
END STRUCTURE
  • Correct record header
  • Definition terminator
  • Date declared correctly
  • All other fields declared correctly
[4]

Mark scheme 9691_s13_ms_23.pdf →

Show text version of question

Question 1

Part (c)

(ii)

Question 1

Meena wants to develop a program to keep a record of her examination results. For

She will want to enter, sort and print out data which is stored as a file of records. Examiner's Use

Each record will contain at least the following data:

  • subject
  • examination title
  • level
  • date sat
  • mark

An example of an examination title is ‘General Certificate of Education’. The DateSat field will contain only the month and year that the examination was taken. For all subjects the mark is between 0 and 100 inclusive. The level is 'O' or 'A'.

(ii)

In a programming language write the declaration for the record structure, giving it

the identifier Exam.

Programming language

Declaration

[4]
Topic relevance

Why this question appears here

99% 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 9691_s13_qp_23.pdf

Keep practising this topic