3.2 Logic Gates and Logic Circuits (3)

Resources | Revision Questions | Computer Science

Login to see all questions

Click on a question to view the answer

1.

The Boolean expression for a circuit is given as: Y = (A AND B) OR (A AND NOT B).

a) Draw a logic circuit diagram representing this Boolean expression, using the standard logic gate symbols.
b) Construct a truth table to show the output (Y) for all possible input combinations of A and B.
c) Simplify the Boolean expression to a single, equivalent expression. Show your working.

2.

A network security system has three conditions: X = "A firewall is enabled", Y = "Antivirus software is installed", and Z = "The operating system is up-to-date". Assume that the system requires all three conditions to be met for full protection. Write a logic expression that represents this requirement. Then, construct a truth table to show the system's protection level for all possible combinations of X, Y, and Z.

3.

Consider a combinational logic circuit with two inputs, X and Y, and an output Z. The circuit is designed to implement the Exclusive OR (XOR) function.

a) Provide the Boolean expression for the output Z in terms of X and Y.
b) Draw a logic circuit diagram representing this XOR function using the standard logic gate symbols.
c) Explain, in words, how the XOR gate achieves the XOR function.