KEY STAGE THREE
COMPUTING
THEORY
6. Example
Imagine that the computer has this set of numbers to deal with as an input.
Its task is to sort them in order from the lowest to the highest number (this will be the output).
As part of this task it will ask itself 'is 3 is larger than 2'?
The answer will either be ‘True’ or ‘False’.
Press one of the buttons below to answer the question: ‘is 3 larger than 2?’
TRUE is correct - the computer will use logic to work out that 3 is larger than 2
FALSE is wrong - the computer will use logic to work out that 3 is larger than 2
Copyright © www.teach-ict.com