Computer Science – 3.2 Logic Gates and Logic Circuits | e-Consult
3.2 Logic Gates and Logic Circuits (1 questions)
Login to see all questions.
Click on a question to view the answer
a) Logic Circuit Diagram:
The circuit diagram should consist of:
- An AND gate with inputs A and B.
- A NOT gate with input B.
- An OR gate with inputs the output of the AND gate (A AND B) and the output of the NOT gate (NOT B).
Diagram (cannot be directly rendered in HTML, but would be a visual representation of the described gates connected as described).
b) Truth Table:
| A | B | NOT B | A AND B | A AND NOT B | (A AND B) OR (A AND NOT B) (Y) |
| 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 | 1 | 1 |
c) Simplified Expression:
Using the distributive law, we can simplify the expression as follows:
Y = (A AND B) OR (A AND NOT B)
Y = A AND (B OR NOT B)
Y = A AND 1
Y = A