Past-paper question · 2015 May-June · Paper 22 · Q1(b)

Question 1(b) 2015 · May-June · Paper 22 · 5 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 mark-scheme answer for 1(B)

Official answer for Question 1

Part (b)

Part (b)

any four from

  • prompt for entry of final weight that includes pupil’s name
  • input final weight
  • validation check for final weight
  • calculation of difference in weight
  • ……using the initial weight stored in the array
  • store difference in weight
✓
(Max 4 marks)
  • loop for 600 pupils
✓
(1 mark)
[5]
✓
sample algorithm:
✓
FOR Count 1 TO 600
✓
REPEAT
✓
PRINT 'Please enter weight for ', PupilName[Count]
✓
INPUT FinalWeight
✓
UNTIL FinalWeight < 120 AND FinalWeight > 20
✓
WeightDifference[Count] FinalWeight - StartWeight[Count]
✓
NEXT Count
✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
Cambridge O Level – May/June 2015
✓
2210

Question 22

Mark scheme 2210_s15_ms_22.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. Use weights for the whole school. You should assume that Task 1 has already been completed.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

...............................................................................................................................................[5]

Question 4

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

Keep practising this topic