大象传媒

Truth tables - EdexcelNOT gates

Computers are collections of transistors and circuits. These connect together to form logic gates, which in turn are used to form logic circuits. These can be represented as truth tables, Boolean algebra logic statements, and diagrams.

Part of Computer SciencePrinciples of computer science

NOT gates

A NOT gate uses one to generate one . A NOT gate inverts the input. The output is 1 (TRUE) if the input is 0 (FALSE), and the output is 0 (FALSE) if the input is 1 (TRUE).

NOT gates are represented diagrammatically as:

Two separate NOT gates representing a TRUE and a FALSE output

A shows, for each combination of inputs, what the output will be. A NOT gate is represented in a truth table as seen below.

AQ
01
10
A0
Q1
A1
Q0

This NOT gate is represented in by the logic NOT A.