Question 1(c) 2016 · October-November · Paper 23 · 6 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (c)
Part (c)
Description (may include reference to programming statements) any six marks from
- output total and …
- … corresponding candidate name...
- description of method for selecting descending order of totals
- evidence that the method works
- check if highest number of votes is a unique value
- if unique output the candidate name and ‘NEW CLASS CAPTAIN’
- otherwise output ‘NO OVERALL WINNER’
Show text version of question
Question 1
Part (c)
Part (c)
Explain how you show the result (Task 3). You may include programming statements as part
of your explanation.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...............................................................................................................................................[6]
Why this question appears here
88% assigned-topic match · Programming
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 2210_w16_qp_23.pdf
