# 1. Introduction to Boolean Logic

Logic is part of the mathematics that underpins the design of digital chips that make up computer hardware.

The mathematics we shall be covering was developed by George Boole in 1847 and is called 'Boolean algebra'. This class of algebra allows logic expressions to be created and manipulated. It is a fundamental aspect of computer science.

In general, you use 'logic' to work out whether doing something causes the result to be 'True' or 'False'.

The outcome of applying **logic **is always either true or false

Consider the painful experiment below (don't try this at home!):

'*If I stick my finger in boiling water then I will burn my finger*'.

Is this a True statement?

You work out the truth of this statement by applying some known rules such as:

Rule 1: I am human

Rule 2: Human fingers are harmed by contact with boiling water

Therefore the two rules are applied one after another. 'I am human' (True), 'I've

stuck my finger in boiling water (True) therefore (logically) my finger will be burnt

It is very important to note that normal logic does not have anything in-between, there is no 'slightly true' or 'slighty false' result.

It is either **True** or **False**.

**Challenge** see
if you can find out one extra fact on this topic that we haven't
already told you

Click on this link: What is computer logic