Skip to content
Question Bank (5 marks) · Q2

Q.What is a half subtractor? Explain its working with a truth table, logic diagram and timing diagram.

Karnataka PUCTextbookLong· 5mImportance★★★★★est
6% · 10/160 Questions
✓ Free question

[!TLDR]

Half subtractor: difference D=A⊕BD=A\oplus B, borrow Bo=A‾BB_o=\overline{A}B; it subtracts two single bits.

Definition: A half subtractor is a combinational logic circuit that performs the subtraction of two single bits, the minuend AA and the subtrahend BB. It produces two outputs — the Difference DD and the Borrow BoB_o. It is called a half subtractor because it does not take into account a borrow from a previous (lower-order) stage.

Truth table:

ABD (Difference)Bₒ (Borrow)
0000
0111
1010
1100

Deriving the expressions: From the difference column, D=A‾B+AB‾=A⊕BD=\overline{A}B+A\overline{B}=A\oplus B. From the borrow column, a borrow occurs only in the row A=0,B=1A=0, B=1, so Bo=A‾⋅BB_o=\overline{A}\cdot B (a borrow is needed when the minuend is smaller than the subtrahend).

Logic diagram: an X-OR gate with inputs A,BA, B gives the Difference DD; an AND gate whose AA input is passed through a NOT gate (i.e. inputs A‾\overline{A} and BB) gives the Borrow BoB_o.

Timing diagram: driving A,BA, B through the sequence 00, 01, 10, 11, the Difference waveform is HIGH during 01 and 10 (inputs unequal), and the Borrow waveform is HIGH only during 01 (when A=0,B=1A=0, B=1).

[!ANSWER]

A half subtractor subtracts bit BB from bit AA, giving D=A⊕BD=A\oplus B from an X-OR gate and Bo=A‾BB_o=\overline{A}B from an AND gate with AA inverted; the borrow is 1 only for A=0,B=1A=0, B=1, as shown by the truth table, logic diagram and timing diagram.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.