Past-paper question · 2012 October-November · Paper 21 · Q2(f)(i)

Question 2(f)(i) 2012 · October-November · Paper 21 · 2 marks

Original past-paper question for 2(F)(I)
Original past-paper question for 2(F)(I)
Original past-paper question for 2(F)(I)
Original past-paper question for 2(F)(I)
Original past-paper question for 2(F)(I)
Reveal official mark-scheme answer

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 9691_w12_ms_21.pdf →

Show text version of question

Question 2

Part (f)

(i)

Question 2

[2]

Part (f)

All bikes in stock have a bike ID. Each bike ID is six characters long and has the format

For BIKEXX, where X is a digit. Examiner's Use For example, BIKE65 is a valid bike ID.

(i)

In a high-level programming language write code that will validate the format of a

bike ID input into the variable BikeID and output a suitable message. (Add extra line numbers if required.) Programming language used Code

Question 1

Question 2

Topic relevance

Why this question appears here

82% 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 9691_w12_qp_21.pdf

Keep practising this topic