← 2024 Paper 2
UPSC 2024 Maths Optional Paper 2 Q6b — Step-by-Step Solution
15 marks · Section B
Boolean algebra · Numerical Analysis · asked 15× in 13 yrs · Read the full method →
Question
Draw the logical circuit for Y=ABC+BC+AB. Also obtain the output Y for the bit sequences A=10001111, B=00111100, C=11000100.
Technique
Simplify via ABC+BC=BC; draw the circuit for Y=BC+AB; evaluate bit-by-bit.
Solution
Step 1 — Simplify
Y=ABC+BC+AB=BC(A+1)+AB=BC+AB=B(C+A).
Simplified: Y=AB+BC.
Step 2 — Circuit
The circuit for Y=AB+BC requires:
- NOT gates on A (giving A) and on C (giving C).
- AND gate 1: inputs A,B; output AB.
- AND gate 2: inputs B,C; output BC.
- OR gate: inputs AB, BC; output Y.
Step 3 — Truth table for given sequences
| Pos | A | B | C | AB | BC | Y |
|---|
| 1 | 1 | 0 | 1 | 0 | 0 | 0 |
| 2 | 0 | 0 | 1 | 0 | 0 | 0 |
| 3 | 0 | 1 | 0 | 1 | 1 | 1 |
| 4 | 0 | 1 | 0 | 1 | 1 | 1 |
| 5 | 1 | 1 | 0 | 0 | 1 | 1 |
| 6 | 1 | 1 | 1 | 0 | 0 | 0 |
| 7 | 1 | 0 | 0 | 0 | 0 | 0 |
| 8 | 1 | 0 | 0 | 0 | 0 | 0 |
Answer
Y=AB+BC;Y-sequence=00111000.