Past-paper question · 2013 May-June · Paper 23 · Q2(b)(iv)

Question 2(b)(iv) 2013 · May-June · Paper 23 · 7 marks

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

Official answer for Question 2

Part (b)

(iv)

(iv)

Increments the count of the number of exams with a mark over 70

[1]
✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
GCE AS/A LEVEL – May/June 2013
✓
9691

Question 23

✓
Count 0

Mark scheme 9691_s13_ms_23.pdf →

Show text version of question

Question 2

Part (b)

(iv)

Question 2

[4]

Question 4

Part (e)

Describe what the function EOF() does when used in a program. For

Examiner's Use

[2]

2 The data in each field is validated as it is entered. The following table shows the four records currently stored in the file ExamResults for the examinations sat so far.

Subject Title Level DateSat Mark

Art … … … 28 Music … … … 57 Biology … … … 75 History … … … 41

Meena will write a module based on the following pseudocode.

OPENFILE ExamResults FOR INPUT Count ← 1 REPEAT FILEREAD next ExamResults record IF Mark > 70 THEN Count ← Count + 1 ENDIF UNTIL EOF() OUTPUT Count CLOSEFILE ExamResults

Question 5

(iv)

Write a suitable comment that could be added to explain the line

Count ← Count + 1.

[1]

Question 6

Topic relevance

Why this question appears here

82% assigned-topic match · Programming › Constructs

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