Homework 1 Boolean logic
Unit 3 Hardware
Homework 1: Boolean logic
1. State the output from each of the following six logic diagrams and express the diagram
in the form of Boolean algebra. For example:
A=0
P=0 Boolean algebra: P = A AND B
B=1
A=0
(a) P= Boolean algebra: P = [2]
B=1
A=0
(b) P= Boolean algebra: P = [2]
B=1
(c) A=1 P= Boolean algebra: P = [2]
A=0
(d) P= Boolean algebra: P = [2]
B=1
(e) Complete the truth table for the final logic diagram in (d) above: [2]
A B R = A AND B P = NOT (A AND B)
1
Homework 1 Boolean logic
Unit 3 Hardware
3. Show on the diagram below the output from each of the gates, including the output P.
[2]
1 P
4. A car has two doors. If the ignition is on, and either of the doors is not properly closed, a
warning light is displayed.
(a) Complete the truth table below. [4]
Door 1 Door 2 Ignition Warning light
Working space
open (D1) open (D2) on (I) on (W)
0 0 0
0 0 1
(b) Draw a logic circuit diagram for this scenario. [4]
D1
D2 W
[Total marks 20]