teach-ict.com logo

THE education site for computer science and ICT

3. NOT

There are a number of logical operations that the CPU can carry out either singly or as a combination. The hardware which carries out the logical operations are called 'logic gates' and they reside inside the CPU and some other digital chips on the motherboard.

The first of these gates, NOT, is the simplest. The rule that NOT follows is "the output is the opposite of its input".

So if you input 1, NOT will output 0.

If you input 0, NOT will output 1.

The symbol for the NOT gate is

NOT gate

The truth table for the NOT gate is:

Input Output
1 0
0 1

The table above is called a truth table. It shows the outcomes of every possible input. The NOT truth table is quite simple. But truth tables can get very complex when you start combining multiple logic gates.

Another name for the NOT gate is inverter.

The boolean statement for NOT uses a bar above the input:

$$ Q = \bar A $$

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 a NOT logic gate