COMPUTER SCIENCE AND ENGINEERING
DIGITAL LOGIC
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
If A and B are the inputs of a half adder, the carry is given by
|
A XOR B
|
|
A AND B
|
|
A XNOR B
|
|
A OR B
|
Explanation:
Detailed explanation-1: -Explanation: If A and B are the inputs of a half adder, the carry is given by: A(AND)B, while the sum is given by A XOR B.
Detailed explanation-2: -Full Adder is the adder which adds three inputs and produces two outputs. The first two inputs are A and B and the third input is an input carry as C-IN. The output carry is designated as C-OUT and the normal output is designated as S which is SUM.
Detailed explanation-3: -SUM = (A XOR B) XOR Cin = (A ⊕ B) ⊕ Cin CARRY-OUT = A AND B OR Cin(A XOR B) = A.B + Cin(A ⊕ B)
Detailed explanation-4: -As shown in Figure 5.1, the half adder has two inputs, A and B, and two outputs, S and Cout. S is the sum of A and B.
There is 1 question to complete.