Lab 3 Boolean Expression(s)
Lab 3 Boolean Expression(s)
Lab No. 3
Apparatus:
Logic Trainer
Connecting Wires
Power Supply
14 pin ICs [ AND, OR, NOT]
Theory:
Boolean algebra is an algebra that deals with binary variables and logic operations. A
Boolean function described by an algebraic expression consists of binary variables, the
constants 0 and 1, and the logic operations symbols. For a given value of the binary
variables, the function can be equal to either 1 or 0.
Procedure:
Consider as an example for the following Boolean function:
F1 = x + y`z
A Boolean function can be represented in a truth table. A truth table is a lot of combinations of
1’s and 0’s assigned to the binary variables and a column that shows the value of the function for
each binary combination. The number of rows in the truth table is 2n, where n is the number of
variables in the function. The binary combinations for the truth table are obtained from binary
numbers by counting from 0 through 2n-1. The following table shows the truth table for the
function F1.
Truth Table for F1
x y z F1
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
Experiment Work 1
x y z F2
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Table 4.2: Truth Table for F2
Experiment Work 2
Verify Demorgan’s Theorem
Demorgan’s law can be stated in terms of logic terms, which is the 1st law states that,
(x+y)`= x`.y`
And the second law state that
(x.y)`= x`+ y`
Truth Table that verifies the above given 1st law,
x y (x+y)` x`. y`
0 0 1 1
0 1 0 0
1 0 0 0
1 1 0 0
Draw the logic diagram for the Demorgan’s 2nd Law. Construct the circuit on breadboard
and record your observations in Truth Table 4.4
x y (x.y)/ x/ + y/
0 0
0 1
1 0
1 1
Table 4.4: Truth Table that verifies the Demorgan’s 2nd Law (x.y)/=x/+y/
Experiment Work 3.
Verification of two forms of Absorption Theorem i.e.
a) Form1: A + (A.B) = A
b) Form2: A.(A + B) = A
i. Draw logic diagram of Form1 of Absorption Theorem. Construct its circuit on breadboard and record
your observations in Table 4.5
Input Output
A B A.B A + (A.B) = A
0 0
0 1
1 0
1 1
Input Output
A B A+B A. (A + B) = A
0 0
1 1
1 0
1 1