Logic Circuits

Computer Science: OCR A Level, topic 4.3.2

Logic Circuits

Multiple transistors can be arranged together to make logic gates and logic circuits.

Logic gates

Logic gates

  • Multiple transistors can be arranged together to form more complex "switches" that only allow electricity to flow through if all or some of the transistors are "on".
  • These arrangements are called logic gates.
Examples of logic gates

Examples of logic gates

  • The AND gate performs the boolean AND function:
  • It will only output true if both of its inputs are true.
  • The OR gate performs the boolean OR function:
  • It will output true if either or both of its inputs are true.
  • The NOT gate performs the boolean NOT function:
  • It takes one input and inverts it.
Logic circuits

Logic circuits

  • Logic gates can be combined to create complex logic circuits.
  • These logic circuits can perform functions such as adding numbers and storing data.

Test yourself on Logic Circuits

  • Logic gates are commonly created to perform what kind of function?

Practise this topic for free