Past-paper question · 2017 October-November · Paper 22 · Q5(a)

Question 5(a) 2017 · October-November · Paper 22 · 5 marks

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

Official answer for Question 5

Part (a)

Question 5

✓
Count
✓
Sack
✓
OUTPUT
✓
0
✓
0
✓
0

Question 1

Question 1

✓
50.4

Question 2

Question 2

✓
50.3

Question 1

Question 3

✓
49.1

Question 3

Question 4

✓
50.3

Question 4

Question 5

✓
50.0

Question 5

Question 6

✓
49.5

Question 6

Question 7

✓
50.2

Question 7

Question 8

✓
50.3

Question 8

Question 9

✓
50.5

Question 2

Question 10

✓
50.6
✓
8 2
✓
Å
✓
(1 mark)
✓
ÆÅ
✓
(1 mark)
✓
ÆÅ
✓
(1 mark)
✓
ÆÅ
✓
(1 mark)
✓
ÆÅ
✓
(1 mark)
✓
Æ

Mark scheme 2210_w17_ms_22.pdf →

Show text version of question

Question 5

Part (a)

This flowchart checks a batch of 10 rice sacks for weight. Sacks should weigh 50 kilograms each. Sacks weighing over 50.5 kilograms or less than 49.5 kilograms are rejected. The number of sacks accepted and the number of sacks rejected is output.

START

Accept 0 Reject 0 Count 0

Is Count Yes = 10? OUTPUT Accept Accept + 1 Accept, No Reject

Count Count + 1 END

INPUT Sack

Is Sack Yes Reject Reject + 1 < 49.5?

No

Is Sack No > 50.5? Yes

Question 9

Complete the trace table for the input data:

50.4, 50.3, 49.1, 50.3, 50.0, 49.5, 50.2, 50.3, 50.5, 50.6

Accept Reject Count Sack OUTPUT

[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_w17_qp_22.pdf

Keep practising this topic