Consider a full-adder with the following input values : (a) π₯ = 1,π¦ = 0 andβ¦
2015
Consider a full-adder with the following input values :
(a) π₯ = 1,π¦ = 0Β andΒ πΆπ(carry input) = 0
(b) π₯Β = 0,π¦ = 1Β andΒ πΆπΒ = 1
Compute the value of S(sum) andΒ πΆπΒ (carry output) for the above input values :
- A.
π=1,πΆπ=0Β andΒ π=0,πΆπ=1
- B.
π=0,πΆπ=0Β andΒ π=1,πΆπ=1
- C.
π=1,πΆπ=1Β andΒ π=0,πΆπ=0
- D.
π=0,πΆπ=1Β andΒ π=1,πΆπ=0
Attempted by 404 students.
Show answer & explanation
Correct answer: A
Solution:
Formulas: S = x XOR y XOR Ci. Carry out Co = (x & y) OR (y & Ci) OR (x & Ci).
For x = 1, y = 0, Ci = 0: S = 1 XOR 0 XOR 0 = 1. Co = (1&0) | (0&0) | (1&0) = 0. Final: S = 1, Co = 0.
For x = 0, y = 1, Ci = 1: S = 0 XOR 1 XOR 1 = 0. Co = (0&1) | (1&1) | (0&1) = 1. Final: S = 0, Co = 1.
Therefore the correct results are: first input set β S = 1, Co = 0; second input set β S = 0, Co = 1.