Past-paper question · 2019 October-November · Paper 22 · Q1(c)

Question 1(c) 2019 · October-November · Paper 22 · 5 marks

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

Official answer for Question 1

Part (c)

✓
Five from:

Question 5

✓
MP1 Enter number of slabs to purchase with prompt
✓
MP2 Check if less than 20 or greater than 100 «
✓
MP3 « if so, reject the number and re-enter a value
✓
MP4 Attempt to round the number of slabs to the next 20 «
✓
MP5 Accurate attempt to round up to the next 20
✓
MP6 Calculate the number of batches
✓
MP7 Calculate price to pay (number of batches × price per batch from
✓
Task 1)
✓
MP8 Display price and number of slabs produced «
✓
MP9 « Suitable output message(s)
✓
Sample answer
✓
REPEAT
✓
PRINT "Enter Number of slabs to purchase"
✓
INPUT Number
✓
UNTIL Number >= 20 and Number <= 100
✓
PurchaseNo Number
✓
IF Number > 20 AND Number <= 40 THEN PurchaseNo 40
✓
ENDIF
✓
IF Number > 40 AND Number <= 60 THEN PurchaseNo 60
✓
ENDIF
✓
IF Number > 60 AND Number <= 80 THEN PurchaseNo 80
✓
ENDIF
✓
IF Number > 80 THEN PurchaseNo 100 ENDIF
✓
BatchNo PurchaseNo / 20
✓
PriceToPay BatchNo * BatchPrice //BatchPrice
✓
calculated in Task 1
✓
PRINT "Price for ", PurchaseNo, " Slabs is $", PriceToPay

Mark scheme 2210_w19_ms_22.pdf →

Show text version of question

Question 1

Part (c)

Part (c)

Write an algorithm for Task 2, using either pseudocode, programming statements or a

flowchart. Assume that Task 1 has been completed.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Question 5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[5]

Question 6

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_w19_qp_22.pdf

Keep practising this topic