±«Óătv

Why data is represented in computer systems in binary form

A computer is basically a collection of and . These have two states:

  • on - a is flowing through the component
  • off - a current is not flowing through the component

These two states can easily be represented by using notation:

  • 1 = on (TRUE)
  • 0 = off (FALSE)

refers to the of a circuit. If a circuit has one and one output, and the input and output each have two states - on and off - this gives two combinations of state:

  • input off, output off
  • input on, output on

More complex circuits have many inputs, and the output state depends on the various combinations of the inputs and the they pass into.

Logic gates

A logic gate is a series of transistors connected together to give one or more outputs. Each output is based on the input or combination of inputs supplied to it. There are three types of gate to consider at GCSE:

  • AND gate
  • OR gate
  • NOT gate

Each type of gate can be represented either as a diagram, in algebraic form, or as a . In a diagram, each gate is a different shape.

Boolean algebra

is a notation used to represent logic. For example:

  • Q = A AND B
  • Q = A OR B
  • Q = NOT A