Designing, creating and refining algorithms
5
0/5

An environmental monitoring station measures a pollutant concentration, CCC, in parts per million (ppm). A programmer needs to design an algorithm to perform the following tasks:

  • Read a concentration reading C C\,C from the sensor.
  • Calculate an adjusted value, AAA, by subtracting 12 from C C\,C and then multiplying the result by 1.8.
  • Output the adjusted value AAA.
  • Repeat these steps until the sensor reading C C\,C is less than 5.

Write an algorithm for this program using pseudocode.

[5]

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