Past-paper question · 2012 May-June · Paper 23 · Q1(e)

Question 1(e) 2012 · May-June · Paper 23 · 5 marks

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

Official answer for Question 1

Part (e)

Part (e)

e.g. Total16

✓
0
✓
Total17
✓
0
✓
Total18
✓
0
✓
Total19
✓
0
✓
REPEAT
✓
READ next record
✓
CASE age OF
✓
16: Total16 Total16 +

Question 1

✓
17: Total16 Total16 +

Question 1

✓
18: Total16 Total16 +

Question 1

✓
19: Total16 Total16 +

Question 1

✓
CASE ELSE
✓
Error
✓
ENDCASE
✓
UNTIL no more student records
✓
Marking guidelines:
  • sensible age total names
  • initialising age totals (before given loop)
  • sensible CASE/SELECT construct
  • case sensibly formed
  • end of CASE/SELECT
[5]
✓
© University of Cambridge International Examinations 2012
✓
Mark Scheme: Teachers’ version
✓
Syllabus
✓
Paper
✓
GCE AS/A LEVEL – May/June 2012
✓
9691

Question 23

Mark scheme 9691_s12_ms_23.pdf →

Show text version of question

Question 1

Part (e)

Question 1

Anna wants to find out about her fellow students' sporting activities. It will be part of her For

Sports Studies 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
  • age (16,17,18 or 19)
  • favourite sport
  • whether student is a member of a sports club (yes/no)

Part (e)

Anna is to write a program to analyse the responses. For

Examiner's Use Using a SELECT/CASE construct write the pseudocode to count the number of students for each age group who completed the questionnaire.

REPEAT

READ next record

UNTIL no more student records

[5]

Question 5

Topic relevance

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_23.pdf

Keep practising this topic