鶹Լ

What is a logic gate?

A circuit board can be found inside most digital devices. It is a flat, thin board that has tiny electrical built onto it. These components make up an electric circuit and include:

  • resistors
  • capacitors
  • diodes
  • transistors
  • integrated circuits

Many electronic circuits have to make decisions. They look at one or more and use these to determine the from the circuit. The process of doing this uses electronic logic, which is based on digital switches called gates. Each input and output of the must be one of two states:

  • True or 1 or on
  • False or 0 or off

A single digital signal has only two states - on or off. However, if you use two inputs you can double the number of possible states, to four.

Number of statesInput AInput B
100
201
310
411
Number of states1
Input A0
Input B0
Number of states2
Input A0
Input B1
Number of states3
Input A1
Input B0
Number of states4
Input A1
Input B1

In a logic gate, each combination of input signals can be made to produce a different outcome. numbers reflect the two states - on and off, 0 and 1. Logic gate calculations can also be represented as .