Past-paper question · 2016 October-November · Paper 23 · Q1(b)

Question 1(b) 2016 · October-November · Paper 23 · 4 marks

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

Official answer for Question 1

Part (b)

Part (b)

Any four from:

  • prompt for input of candidate number
  • input of candidate number
  • check for candidate number of 1, 2 or 3
  • output ‘invalid vote’ if input not 1, 2, or 3
  • otherwise add 1 to appropriate total and …
  • … output name of candidate voted for
[4]

Mark scheme 2210_w16_ms_23.pdf →

Show text version of question

Question 1

Part (b)

Part (b)

Write an algorithm to complete Task 2, using either pseudocode, programming statements

or a flowchart. You can assume that Task 1 has been completed and that there are three candidates for class captain.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

..................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...............................................................................................................................................[4]

Question 5

Topic relevance

Why this question appears here

98% assigned-topic match · Algorithm design and problem-solving

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

Keep practising this topic