6. Example

Imagine that the computer has this set of numbers to deal with as an input.

some numbers

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?’

 

 

Copyright © www.teach-ict.com