Past-paper question · 2015 October-November · Paper 21 · Q6(a)

Question 6(a) 2015 · October-November · Paper 21 · 2 marks

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

Official answer for Question 6

Part (a)

Part (a)

Combination of staff and task number // the pair of numbers // the pair of random numbers [1]

✓
//there will be duplicates /repeats//some staff tasks will not be generated
[1]

Mark scheme 9608_w15_ms_21.pdf →

Show text version of question

Question 6

Part (a)

Question 6

A firm employs five staff who take part in a training programme. Each member of staff must

complete a set of twelve tasks which can be taken in any order. When a member of staff successfully completes a task, this is recorded.

A
program is to be produced to record the completion of tasks for the five members of staff.

To test the code, the programmer makes the program generate test data.

The program generates pairs of random numbers:

  • the first, in the range, 1 to 5 to represent the member of staff
  • the second, in the range, 1 to 12 to represent the task

Each pair of numbers simulates the completion of one task by one member of staff.

Part (a)

Explain why the generation of 60 (5 staff x 12 tasks) pairs of random numbers will not simulate

all tasks completed by all staff.

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

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

...............................................................................................................................................[2]

Topic relevance

Why this question appears here

71% 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 9608_w15_qp_21.pdf

Keep practising this topic