Professional Documents
Culture Documents
Class:- Bscs 2
Section : ‘A’
Subject :- DLD Lab
Teacher Name:- Mr. Imran Ahmad
Circuit:
Truth Table:
Inputs Outputs
A B C W0 W1 W2 W4 W5 W7
0 0 0 1 0 0 0 0 0
0 0 1 0 1 0 0 0 0
0 1 0 0 0 1 0 0 0
0 1 1 0 0 0 0 0 0
1 0 0 0 0 0 1 0 0
1 0 1 0 0 0 0 1 0
1 1 0 0 0 0 0 0 0
1 1 1 0 0 0 0 0 1
Conclusion:
Take 3 variables Naming A,B,C respectively.
Put 1 in sequence wise Box.
Like firstly put 1 in first column and then in second coloumn and in last coloumn
put 1 in the last box.
Task # 8.2:
Design a circuit which takes 3 bits as input. The output is 1 if two or more inputs are
1.
Circuit:
Truth Table:
Inputs Outputs
A B C F
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
Conclusion:
We take 3 bits Namely A,B,C as input. The output F is ` if two or more inputs are 1.
Otherwise 0 output.
Task # 8.3:
Design a circuit which takes 3 bits as input. The output is 1 if the binary sum is two.
Circuit:
Truth Table:
Inputs Outputs
A B C F
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0
Conclusion:
We take 3 bits Namely A,B,C as input. The output F is 1 if two or more inputs are 1.
Otherwise 0 output.