Handout 2
Handout 2
in computer science
Handout 2 – pseudocode
OCR guide
Examination questions will be written in OCR Exam
Reference Language for clarity and consistency, apart
from ‘Design’ and ‘Write’ questions in Component 2 AQA guide
Section B.
Notice the importance of sequence in writing the answer to this algorithm, another
approach to that asked would be to start with the highest level and work down to the
lowest.
Paying close attention to the wording of the question is important and should be
stressed to students especially with questions asking for a specific approach like this
one.
Pseudocode task 1
Write an algorithm, according to the sequence below, that takes a user’s mark as
input and outputs:
Write an algorithm, according to the sequence below, that takes a user’s mark as
input and outputs:
endif