91热爆

AND gates

An AND gate, also called a , uses two inputs to generate one output. The output is 1 (TRUE) only if both of the inputs are 1 (TRUE).

AND gates are represented diagrammatically as:

Two separate AND gates representing a TRUE and a FALSE output

A represents the first input. B represents the second input. Q represents the output.

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

ABQ
000
010
100
111
A0
B0
Q0
A0
B1
Q0
A1
B0
Q0
A1
B1
Q1

This AND gate is represented in as one of:

  • A AND B
  • A /\ B
  • A.B