Logic Circuits
Computer Science: OCR A Level, topic 4.3.2
Logic Circuits
Many transistors can be put together to make logic gates and logic circuits.

Logic gates
- Many transistors can be put together to form more complex "switches".
- Switches only allow electricity to flow through.
- Electricity only flows if all or some of the transistors are "on".
- Arrangements of transistors are called logic gates.

Examples of logic gates
- The AND gate performs the boolean AND function.
- The AND gate will only output true if both of its inputs are true.
- The OR gate performs the boolean OR function.
- The OR gate will output true if either or both of its inputs are true.
- The NOT gate performs the boolean NOT function.
- The NOT gate takes one input and inverts it.

Logic circuits
- Logic gates can be joined to make complex logic circuits.
- Logic circuits can do tasks such as adding numbers and storing data.
Test yourself on Logic Circuits
Logic gates are commonly created to perform what kind of function?