Question 9(a) 2010 · May-June · Paper 13 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 9
Part (a)
Part (a)
e.g. PROCEDURE MEAN
- Naming of MEAN in some way
- Initialise Total and Counter
- Use of WHILE loop with suitable condition
- Increment counter
- Cumulative total
- Calculation of average outside loop
Show text version of question
Question 9
Part (a)
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 (a)
Students take exams in all their subjects at the end of every year. A procedure is to be
written which inputs the marks of a student from the STUDENT file and calculates the mean mark for that student.
Produce an algorithm which will carry out the above task. The procedure is to be called MEAN.
Why this question appears here
82% assigned-topic match · Hardware › Logic gates and logic circuits
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
