LOGIC
GATES
, BASIC LOGIC GATES
In this part we learn about 3 gates.
TIPSQ:
The gates are
HOW MANY COLUMS SHOULD I ADD
AND GATE
TO A TRUTH TABLE
OR GATE
NOT GATE
IT DEPEND ON THE NO OF INPUTS
AND GATE IF THERE ARE 2 INPUTS
2^2=4 OUTPUTS
A
A.B
B IF THERE ARE 3 INPUTS
2^3=8 OUTPUTS
A B A.B
0 0 0
0 1 0 All the inputs must be 1
to get the output as 1
1 0 0
1 1 1
OR GATE
A
A+B
B
A B A+B
At least one input
0 0 0 should be 1 to get the
0 1 1
output as one
1 0 1
1 1 1
GATES
, BASIC LOGIC GATES
In this part we learn about 3 gates.
TIPSQ:
The gates are
HOW MANY COLUMS SHOULD I ADD
AND GATE
TO A TRUTH TABLE
OR GATE
NOT GATE
IT DEPEND ON THE NO OF INPUTS
AND GATE IF THERE ARE 2 INPUTS
2^2=4 OUTPUTS
A
A.B
B IF THERE ARE 3 INPUTS
2^3=8 OUTPUTS
A B A.B
0 0 0
0 1 0 All the inputs must be 1
to get the output as 1
1 0 0
1 1 1
OR GATE
A
A+B
B
A B A+B
At least one input
0 0 0 should be 1 to get the
0 1 1
output as one
1 0 1
1 1 1