in Digital Logic edited by
298 views
2 votes
2 votes

If $A$ and $B$ are the inputs to a half adder, a half subtractor. $X$ and $Y$ are the Sum and Difference and $\mathrm{C}$ is a Carry of a Half adder and $D$ is a borrow of a Half subtractor.
$X \oplus Y$ and $C \odot D$ respectively

  1. $0, B$
  2. $1, \mathrm{B}$
  3. $1, B^{\prime}$
  4. $0, B^{\prime}$
in Digital Logic edited by
298 views

1 Answer

2 votes
2 votes
for Half Adder $\Rightarrow$ Sum $X=A$ xor $B, \quad$ Carry $C=A B$
for half Subtractor $\Rightarrow$ Difference $Y=A$ xor $B$, Borrow $D=A ' B$
So, $(X$ xor $Y)=0$ and $(C$ xnor $D)=B^{\prime}$

1 comment

CxnorD=(AB)’A’B +(AB)(A’B)’
            =(A’+B’)A’B +(AB)(A+B’)
            =(A’B+AB)
            =B(A’+A)
            =B

sir, I think the answer will be A
0
0
Answer:

Related questions