Q. Give the logical expression for half subtractor, with A and B as inputs. D for difference and B for borrow.

A
D=A'B'+AB ; B= AB
B
D=AB; B=AB'+AB
C
B=A'B; D=AB'+A'B
D
D+AB'+AB'; B=AB'
Solution:

The truth table for half subtractor is:


B= A’B
D= A’B+AB’
Thus option (c) is correct.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!