0% found this document useful (0 votes)
6 views

Truth Table

The document describes various logic gates including NOT, AND, OR, NOR, NAND, XOR, XNOR and their truth tables showing the output for all combinations of binary inputs.

Uploaded by

vanamman
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Truth Table

The document describes various logic gates including NOT, AND, OR, NOR, NAND, XOR, XNOR and their truth tables showing the output for all combinations of binary inputs.

Uploaded by

vanamman
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

NOT

Output is opposite of input.


INPUT OUTPUT

0 1

1 0

AND
Both inputs must be 1(YES) to get a 1(YES) as output.

A B OUTPUT

0 0 0

0 1 0

1 0 0

1 1 1

OR
If either input is 1 (YES) the output is 1 (YES).

A B OUTPUT

0 0 0

0 1 1

1 0 1

1 1 1

NOR
For a value of 1(YES) – both inputs need to be 0(NO).
(OPPOSITE OF OR!!!)
A B Y(OUTPUT)

0 0 1

0 1 0

1 0 0

1 1 0
XOR
Only one input can be 1(YES) to have a 1(YES) output.

A B Y(OUTPUT)

0 0 0

0 1 1

1 0 1

1 1 0

NAND
If both inputs are 1(YES) output is 0(NO).
OPPOSITE OF AND!!

A B Y(OUTPUT)

0 0 1

0 1 1

1 0 1

1 1 0

NEG-AND
OPPOSITE OF AND

A B OUTPUT

0 0 1

0 1 0

1 0 0

1 1 0
NEG-OR

A B OUTPUT

0 0 1

0 1 1

1 0 1

1 1 0

XNOR

A B OUTPUT

0 0 1

0 1 0

1 0 0

1 1 1
COMBINED LOGIC GATES

NOT OR AKA NOR


YOU CAN REMOVE C VALUES IF NOT INTERESTED

A B C Z

0 0 0 1

0 1 1 0

1 0 1 0

1 1 1 0

NOT AND AKA NAND


YOU CAN REMOVE C VALUES IF NOT INTERESTED
A B C Z

0 0 0 1

0 1 0 1

1 0 0 1

1 1 1 0

YOU CAN REMOVE C AND D VALUES IF NOT INTERESTED

A B C D Z

0 0 1 1 1

0 1 1 0 1

1 0 0 1 1

1 1 0 0 0

YOU CAN REMOVE C AND D VALUES IF NOT INTERESTED

A B C D Z

0 0 1 1 1

0 1 1 0 0

1 0 0 1 0

1 1 0 0 0

A B C D Z

0 0 0 0 0
0 0 1 1 0

0 1 0 1 0

0 1 1 1 0

1 0 0 0 0

1 0 1 1 1

1 1 0 1 1

1 1 1 1 1

A B C D Z

0 0 0 0 0

0 0 1 0 0

0 1 0 0 0

0 1 1 1 1

1 0 0 0 1

1 0 1 1 1

1 1 0 1 1

1 1 1 1 1

You might also like