Boolean logic (3)

Resources | Revision Questions | Computer Science

Login to see all questions

Click on a question to view the answer

1.

A company is designing a security system for a sensitive area. The system should only allow access if both the correct access card is presented AND the correct PIN is entered. Describe how you would use logic gates to create a logic circuit that implements this security requirement. Include a logic expression and a truth table to demonstrate your design.

2.

Simplify the following Boolean expression using Boolean algebra laws: NOT (P OR Q) AND (P AND Q). Then, create a truth table for the simplified expression.

3.

Consider a logic circuit with inputs X and Y, and output Z. The circuit is represented by the following truth table:

XYZ
000
011
101
110

Write a logic expression for the output Z in terms of X and Y.