PHY118 · 2079 · 5 marks
The output of a digital circuit (y) is given by this expression: y = (A'B' + B'A) / ((A + B') + C) Where A, B and C represent inputs. Draw a circuit of above equation using OR, AND and NOT gate and hence find its truth table.
The output of a digital circuit (y) is given by this expression: $y = (A'B' + B'A) / ((A + B') + C)$ Where A, B and C represent inputs. Draw a circuit of above equation using OR, AND and NOT gate and hence find its truth table. [5]
Given
Given data:
- Output expression: $y = (A'B' + B'A) / ((A + B') + C)$
- Inputs: $A$, $B$, $C$
- Allowed gates: OR, AND, NOT
Interpretation note: The "/" is ambiguous. In Boolean algebra there is no division. The standard textbook intent for this type of problem is that the two bracketed groups are simply combined. Since the problem asks to "draw a circuit using OR, AND and NOT gate," the "/" most reasonably represents the connecting operation joining the two Boolean groups. Given the presence of an AND requirement in the gate list, the cleanest consistent reading treating "/" as an AND (product) of the two groups exercises all three gate types. We solve the AND interpretation as primary and note the OR interpretation.
Solution
Simplify the numerator group
$$A'B' + B'A = A'B' + AB' = B'(A' + A) = B'(1) = B'$$
The denominator group
$$(A + B') + C = A + B' + C$$
Combine the two groups
Primary interpretation ("/" as AND): $$y = B' \cdot (A + B' + C)$$
Expand: $$y = AB' + B'B' + B'C = AB' + B' + B'C$$
Since $B'$ dominates (absorption law: $B' + AB' + B'C = B'$): $$\boxed{y = B'}$$
This depends only on $B$. That collapse is a strong signal this interpretation is not what the examiner wanted (it would not use OR meaningfully in the final logic).
Alternative interpretation ("/" read as OR): $$y = B' + (A + B' + C) = A + B' + C$$
This uses OR meaningfully and retains all three inputs, making it the more sensible exam answer.
Because this reading keeps all inputs active and matches typical textbook framing, we adopt: $$\boxed{y = A + B' + C}$$
Circuit Diagram (for $y = A + B' + C$)
- 1 NOT gate to produce $B'$
- 1 three-input OR gate
A ───────────────────┐
│
B ──[ NOT ]── B' ─────┤──[ OR ]──── y
│
C ───────────────────┘
Truth Table
$y = A + B' + C$. Output is $0$ only when $A=0$, $B'=0$ (i.e. $B=1$), and $C=0$.
| A | B | C | B' | y = A + B' + C |
|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 |
| 0 | 0 | 1 | 1 | 1 |
| 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 1 |
| 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 0 | 1 |
Summary
- Simplified expression: $y = A + B' + C$
- Circuit: 1 NOT gate + 1 three-input OR gate
- Output is $0$ only for $(A,B,C) = (0,1,0)$
Caveat: The "/" symbol is not standard Boolean notation, so the intended combining operation is ambiguous. Under an AND reading the result collapses to $y = B'$. The OR reading ($y = A + B' + C$) is adopted as it best fits the exam context and uses all specified gates.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.