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

Question 3(b)(i) 2015 · May-June · Paper 21 · 7 marks

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

Official answer for Question 3

Part (b)

(i)

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 3

Part (b)

(i)

Question 3

11053

[6]

Question 5

Question 2

A
program displays a menu with choices 1 to 4. The code to display the menu is written as the

procedure DisplayMenu.

Part (b)

The following pseudocode is a revised design.

CONSTANT i

Question 3

CALL DisplayMenu NoOfAttempts 0 REPEAT OUTPUT "Enter choice (1..4)" INPUT Choice NoOfAttempts NoOfAttempts + 1 UNTIL (Choice >= 1 AND Choice <= 4) OR NoOfAttempts = i

(i)

Give the maximum number of inputs the user could be prompted to make. .............................................

[1]
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