Past-paper question · 2010 May-June · Paper 13 · Q9(a)

Question 9(a) 2010 · May-June · Paper 13 · 4 marks

Original past-paper question for 9(A)
Original past-paper question for 9(A)
Reveal official mark-scheme answer Official mark-scheme answer for 9(A)

Official answer for Question 9

Part (a)

Part (a)

e.g. PROCEDURE MEAN

✓
TOTAL = COUNTER = 0
✓
WHILE NOT END OF MARKS, DO
✓
READ MARK
✓
COUNT = COUNT + 1
✓
TOTAL = TOTAL + MARK
✓
ENDWHILE
✓
AVERAGE = TOTAL/COUNT
✓
Mark Points:
  • 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
✓
(1 per -, max 4)
[4]

Mark scheme 9691_s10_ms_13.pdf →

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.

[4]
Topic relevance

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

Keep practising this topic