Question 1(d) 2012 · May-June · Paper 21 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (d)
Part (d)
e.g.
- initialising each total before REPEAT
- nested IFs
- 3 incrementations
- correct ENDIFs
- sensible identifiers and indenting
Show text version of question
Question 1
Part (d)
Question 1
Anna wants to find out about her fellow students’ reading habits. It will be part of her For
Literature coursework. Examiner's Use She will ask questions online, so starts by designing a screen layout. The first four questions will ask for:
- student’s first name
- date of birth
- type of book they prefer (printed, audio-book or e-book)
- whether student reads novels (yes/no)
Part (d)
Anna is to write a program to analyse the responses. For
Examiner's Use Using nested IF...THEN statements, complete the pseudocode to calculate the totals for each BookType (printed, audio-book or e-book).
REPEAT
READ next record
UNTIL no more student records
Question 5
Why this question appears here
92% 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_s12_qp_21.pdf
