Past-paper question · 2016 October-November · Paper 22 · Q1(a)

Question 1(a) 2016 · October-November · Paper 22 · 9 marks

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

Official answer for Question 1

Part (a)

Part (a)

✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
Cambridge International AS/A Level – October/November 2016
✓
9608

Question 22

✓
Mark as follows:
✓
•
✓
One mark per shape, correctly labelled (except for three assignments as noted
✓
above)
✓
•
✓
One mark for three selection values ('B', 'C' and 'D')
[9]

Mark scheme 9608_w16_ms_22.pdf →

Show text version of question

Question 1

Part (a)

Question 1

A number of players take part in a competition. The competition consists of a number of games.

Each game is between two players. The outcome of a game is that each player is awarded a grade (A, B, C or D). Each grade has an associated number of points as shown in the table below.

Grade Points

A
0
B
1
C
3
D
5

The points total for all players is recorded. After each game is completed, the total number of points for each player is updated.

For example:

  • before the game between Ryan and Karina, Ryan’s total is 5 points and Karina’s total is 3 points
  • the result of the game between Ryan and Karina is: Ryan achieved grade B, Karina achieved
  • grade D

  • the players’ points totals are updated to: Ryan has 6 and Karina has 8

When a player’s points total reaches 12 or higher, that player is removed from the competition.

A
programmer will write a program to update the player total after a game.

The program will output:

  • the player’s updated points total
  • the message ‘ELIMINATED’ if the player is removed from the competition.

The programmer designs the identifier table below:

Identifier Data type Description PlayerName STRING Name of the player PlayerGameGrade CHAR Game grade for the player PointsTotal INTEGER Current player points Procedure has parameters SavePlayerTotal procedure PlayerName and PointsTotal and saves the updated player total Function has a parameter ReadPlayerTotal function PlayerName and returns the current total for that player

Part (a)

Complete the following program flowchart by:

  • filling in the boxes, using pseudocode where appropriate
  • labelling the lines of the flowchart, where necessary.
[9]

Question 3

Start

Yes

No

Stop

Question 4

Topic relevance

Why this question appears here

71% assigned-topic match · Algorithm design and problem-solving › Algorithms

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 9608_w16_qp_22.pdf

Keep practising this topic