KS3 Computing/Logic/What is logic

What is Logic?

edit

When we talk about logic in computing we normally mean a variety of logic called Boolean Logic, named for George Boole,

 

an English mathematician. It is only concerned with whether things are True or False. This matches well onto digital computers which have circuits that are either on or off. Logic is used in the design of computer chips as well in programs written to run on computers. Other areas where logic might be used are in the operation of traffic lights (you don't want traffic flowing both ways across a junction at the same time) and in many safety systems (e.g. operation of a spaceship's airlock) where the logic may be implemented mechanically rather than electronically.