+2 votes
in Class 12 by kratos

Draw logic symbol, timing diagram and truth table of
(i) Half adder
(ii) Half subtractor.

1 Answer

+2 votes
by kratos
 
Best answer

(i) Half adder

| Inputs | Sum | Carry |
| --- | --- | --- |
| A | B | Y = A + B | Y = AB |
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |

(ii) Half subtractor.

| Inputs | Outputs |
| --- | --- |
| A | B | Difference | Borrow |
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 |

...