Designing, creating and refining algorithms
8
0/1

A local council automatically generates residential parking permit codes. The design of the program is shown in the flowchart below.

For example, using this process, if the inputs are streetName = Belgrave and houseNumber = 147, the generated permit ID would be BEL7.

Flowchart for generating a parking permit ID

State, using the process shown, the permit ID generated when the inputs are streetName = Windsor and houseNumber = 289.

[1]

Designing, creating and refining algorithms Questions

Practise OCR GCSE Computer Science Designing, creating and refining algorithms with exam-style questions for GCSE Computer Science. 50 questions, matched to the OCR GCSE Computer Science (J277) specification and written in Component 01 and Component 02 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.

PreviousNext

Designing, creating and refining algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Designing, creating and refining algorithms