Question 2(f)(i) 2012 · October-November · Paper 21 · 2 marks
Reveal official mark-scheme answer
The answer for this question is in the official mark scheme: open the mark scheme.
Show text version of question
Question 2
Part (f)
(i)
Question 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
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
