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

Question 1(b)(i) 2015 · May-June · Paper 21 · 1 mark

Original past-paper question for 1(B)(I)
Original past-paper question for 1(B)(I)
Reveal official mark-scheme answer

Official answer for Question 1

Part (b)

(i)

✓
Identifier Data Type Description
✓
PersonalBestTime INTEGER/REAL Personal best time in seconds

meaningful name + data type[1]

Mark scheme 9608_s15_ms_21.pdf →

Show text version of question

Question 1

Part (b)

(i)

Question 1

A
marathon runner records their time for a race in hours, minutes and seconds.

An algorithm is shown below in structured English. INPUT race time as hours, minutes and seconds CALCULATE race time in seconds STORE race time in seconds OUTPUT race time in seconds

Part (b)

Before the program is written, the design is amended.

The new design includes input of the runner’s current personal best marathon time (in seconds). The output will now also show one of the following messages: • “Personal best time is unchanged” • “New personal best time” • “Equals personal best time”

(i)

Show the additional variable needed for the new design. Identifier Data type Description

[1]

Question 3

Topic relevance

Why this question appears here

92% assigned-topic match · Programming › Programming basics

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

Keep practising this topic