Question 9(b) 2010 · May-June · Paper 13 · 7 marks
Reveal official mark-scheme answer
Official answer for Question 9
Part (b)
Part (b)
e.g. PROCEDURE PRIZE
- Name procedure and open student file
- Initialise high score
- While loop with correct condition
- Use of Mean, not repeat of statements
- Condition between average and high
- Correct action if average > high
- Correctly identify problem if average = high
- Sensible action taken for equal values
- Correct problem report
- Correctly opens PRIZES and stores values of form and student name in it
Show text version of question
Question 9
Part (b)
Question 9
Candidates are advised to use either pseudocode or a flow chart to answer this question,
although other forms of algorithmic representation will be credited.
Part (b)
The school awards a prize each year to the students who achieve the highest mean mark in
their form.
Produce an algorithm for a procedure called PRIZE which will determine which student will win the prize for a particular form. The name of the form and the name of the student should then be saved to a file called PRIZES.
(You should use MEAN in this final algorithm without reproducing the detail in part (a).)
reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the publisher will be pleased to make amends at the earliest possible opportunity.
University of Cambridge International Examinations is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of University of Cambridge Local Examinations Syndicate (UCLES), which is itself a department of the University of Cambridge.
Why this question appears here
71% 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_s10_qp_13.pdf
