Binary Numbers and Logic Gates
Binary Numbers and Logic Gates
◦ Example: 1101000
A single binary digit (like "0" or "1") is called a
"bit". For example, 1101000 is seven bits long. In the
decimal system, there are ones, tens, hundreds, etc.
While in the binary there are ones, twos, fours, eights,
and so on.
Seatwork Number 1.
◦ An OR gate gives
a 1 output if any of
its inputs are 1s.
NAND Gate
◦ A NAND gate
forms from a
combined AND
gate and NOT
gate.
NAND Gate
◦ The exclusive OR
is different when
both inputs are 1s
or 0s. In that case,
the output is a 0.
XNOR Gate
◦ Another less
common and still
important gate is
the XNOR gate
(exclusive NOR).
Seatwork Number 2