Solved Exercise Boolean Algebra 131004063357 Phpapp02 PDF
Solved Exercise Boolean Algebra 131004063357 Phpapp02 PDF
Solved Exercise Boolean Algebra 131004063357 Phpapp02 PDF
(ii) (X.Y)= X + Y
Again to prove this theorem, we will make use of complementary law i.e.,
X + X= 1 and X . X= 0
If XYs complement is X + Y then it must be true that
(a) XY + (X+ Y) = 1 and (b) XY(X+ Y) = 0
To prove the first part
L.H.S = XY + (X+Y)
= (X+Y) + XY (ref. X + Y = Y + X)
= (X+Y + X).(X+Y + Y) (ref. (X + Y)(X + Z) = X + YZ)
= (X + X+Y).(X + Y +Y)
= (1 +Y).(X + 1) (ref. X + X=1)
= 1.1 (ref. 1 + X =1)
= 1 = R.H.S
Now the second part i.e.,
XY.(X + Y) = 0
L.H.S = (XY).(X+Y)
= XYX + XYY (ref. X(Y + Z) = XY + XZ)
= XXY + XYY
= 0.Y + X.0 (ref. X . X=0)
= 0 + 0 = 0 = R.H.S.
XY.(X + Y)= 0 and XY + (X +Y) = 1
(XY)= X + Y. Hence proved.
21. Use the duality theorem to derive another boolean relation from :
A + AB = A + B
Ans. A.(A +B) = A.B
22. What would be the complement of the following: (a) A(BC + BC) (b) xy + yz + zz ?
Ans. (a) A(BC + BC) = (A(BC + BC)) (b) xy + yz + zz = (xy + yz + zz)
= ((A)(BC + BC)) = (xy)(yz)(zz)
= ((A)((BC) + (BC)) = (x + y)(y + z)(z + z)
= ((A)((B C) + (BC)) = (x + y)(y + z)(z + z)
= A + (B+ C)(B +C)
23. Prove (giving reasons) that [(x + y) + (x + y)] = x + y
Ans. [(x + y) + (x + y)] = ((x + y)).((x + y)) (Using De Morgans first theorem i.e., (A + B) = A.B)
= (x + y).(x + y) (X = X)
=x+y (X.X = 1)
24. Find the complement of the following Boolean function : F1 = AB + CD
Ans. (AB + CD) = (AB).(CD) (De Morgans first theorem)
= (A + B).(C + D) (DeMorgans second theorem i.e., (A.B)= A+ B)
CBSE CS N IP Page 7 of 35
= (A + B).(C + D) ((X)= X)
25. Prove the following :
(i) A(B + BC + BC) = A (ii) A + AB = A + B'
(iii) (x + y + z).(x + y + z) = y + z (iv) ABC + ABC + ABC = AC + BC
Ans. (i) A(B + BC + BC) = A
A B C BC BC B + BC + BC A(B + BC + BC)
0 0 0 1 1 0 1 1 0
0 0 1 1 0 1 0 1 0
0 1 0 0 1 0 0 1 0
0 1 1 0 0 0 0 1 0
1 0 0 1 1 0 1 1 1
1 0 1 1 0 1 0 1 1
1 1 0 0 1 0 0 1 1
1 1 1 0 0 0 0 1 1
Both the columns A(B + BC + BC)and A are identical, hence proved.
(ii) A + AB = A + B'
A B C A B AB A + AB A + B'
0 0 0 1 1 1 1 1
0 0 1 1 1 1 1 1
0 1 0 1 0 0 0 0
0 1 1 1 0 0 0 0
1 0 0 0 1 0 1 1
1 0 1 0 1 0 1 1
1 1 0 0 0 0 1 1
1 1 1 0 0 0 1 1
Both the columns A + AB and A + B' are identical, hence proved.
(iii) (x + y + z).(x + y + z) = y + z
x y z X x+y+z x+ y + z (x + y + z).(x + y + z) y+z
0 0 0 1 0 1 0 0
0 0 1 1 1 1 1 1
0 1 0 1 1 1 1 1
0 1 1 1 1 1 1 1
1 0 0 0 1 0 0 0
1 0 1 0 1 1 1 1
1 1 0 0 1 1 1 1
1 1 1 0 1 1 1 1
Both the columns (x + y + z).(x + y + z) and y + z are identical, hence proved.
(iv) ABC + ABC + ABC = AC + BC
A B C A B ABC ABC ABC AC BC ABC + ABC + ABC AC + BC
0 0 0 1 1 0 0 0 0 0 0 0
0 0 1 1 1 1 0 0 1 1 1 1
0 1 0 1 0 0 0 0 0 0 0 0
0 1 1 1 0 0 1 0 1 0 1 1
1 0 0 0 1 0 0 0 0 0 0 0
1 0 1 0 1 0 0 1 0 1 1 1
1 1 0 0 0 0 0 0 0 0 0 0
1 1 1 0 0 0 0 0 0 0 0 0
Both the columns ABC + ABC + ABC and AC + BC are identical, hence proved.
26. What do you mean by canonical form of a Boolean expression? Which of the following are canonical?
(i) ab + bc (ii) abc + abc+ abc (iii) (a + b)(a +b)
(iv) (a + b + c)(a + b+ c)(a + b +c) (v) ab + bc + ca
Ans. Boolean Expression composed entirely either of Minterms or maxterms is referred to as canonical form of a Boolean
expression.
CBSE CS N IP Page 8 of 35
(i)Non canonical (ii) canonical (iii) canonical (iv) canonical (v) Non canonical
27. Give an example for each of the following :
(i) a boolean expression in the sum of minterm form
(ii) a boolean expression in the non canonical form.
Ans. For a function F(X, Y, Z)
(i) Sum of minterms expression is
XYZ + XYZ + XYZ + XYZ
(ii) Non canonical form of Sum-of-products
XY + YZ + ZX+ XY
28. What are the fundamental products for each of the input words ABCD = 0010. ABCD = 1101, ABCD = 1110?
The fundamental products for each of the input words ABCD = 0010. ABCD = 1101, ABCD = 1110 are as following :
Ans. ABCD + ABCD + ABCD
29. A truth table has output 1s for each of these inputs :
(a)ABCD = 0011 (b) ABCD = 0101 (c) ABCD = 1000, what are the fundamental products?
Ans. The fundamental products are ABCD + ABCD + ABCD
30. Construct a boolean function of three variables p, q and r that has an output 1 when exactly two of p, q, r are
having values 0, and an output 0 in all other cases.
Ans. p q r F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 0
F = pqr + pqr+ pqr
31. Write the Boolean expression for a logic network that will have a 1 output when
X = 1, Y = 0, Z = 0; X = 1, Y = 0, Z = 1; X = 1, Y = 1, Z = 0; and X = 1, Y = 1, Z = 1.
Ans. X = 1, Y = 0, Z = 0 XYZ
X = 1, Y = 0, Z = 1 XYZ
X = 1, Y = 1, Z = 0 XYZ
X = 1, Y = 1, Z = 1 XYZ
The Boolean expression is F = XYZ+ XYZ + XYZ + XYZ
32. Derive the Boolean algebra expression for a logic network that will have outputs 0 only output when
X = 1, Y =1, Z = 1; X = 0, Y = 0, Z = 0; X = 1, Y = 0, Z = 0.
The outputs are to be 1 for all other cases.
Ans. X Y Z F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0
F = (X + Y + Z)(X + Y + Z)(X + Y +Z)
33. A Boolean function F defined on three input variables X, Y and Z is 1 if and only if number of 1(one) inputs is odd
(e.g., F is 1 if x = 1, Y = 0, Z = 0). Draw the truth table for the above functions and express it in canonical sum-of-
products form.
Ans. The output is 1, only if one of the inputs is odd. All the possible combinations when one of inputs is odd are
X = 1, Y = 0, Z = 0
X = 0, Y = 1, Z = 0
CBSE CS N IP Page 9 of 35
X = 0, Y = 0, Z = 1
For these combination output is 1, otherwise output is 0. Preparing the truth table for it, we get
X Y Z F Product Terms/
Minterms
0 0 0 0 XYZ
0 0 1 1 XYZ
0 1 0 1 XYZ
0 1 1 0 XYZ
1 0 0 1 XYZ
1 0 1 0 XYZ
1 1 0 0 XYZ
1 1 1 0 XYZ
Adding all the minterms for which output is 1, we get
XYZ + XYZ + XYZ= F
This is desired Canonical Sum-of-Products form.
34. Output 1s appear in the truth table for these input conditions: ABCD = 0001, ABCD = 0110, and ABCD = 1110. What
is the sum-of-products equation?
Ans. ABCD = 0001 = ABCD
ABCD = 0110 = ABCD
ABCD = 1110 = ABCD
The sum-of-products equation is as following :
F = ABCD + ABCD + ABCD
35. Convert the following expression to canonical Sum-of=Product form :
(a) X + XY + XZ (b) YZ + XY (c) AB (B+C)
Ans. (a) X + XY + XY
= X(Y + Y)(Z + Z) + XY(Z + Z) + XZ(Y + Y)
= (XY + XY)(Z + Z) + XYZ + XYZ + XYZ + XYZ
= Z(XY + XY) + Z(XY + XY) + XYZ + XYZ + XYZ + XYZ
= XYZ + XYZ + XYZ + XYZ + XYZ + XYZ + XYZ + XYZ
By removing duplicate terms we get canonical Sum-of=Product form :
XYZ + XYZ + XYZ + XYZ + XYZ + XYZ + XYZ
F = (1, 2, 3, 4, 5, 6, 7)
F = m1 + m2 + m3 + m4 + m5 + m6 + m7
(b) YZ + XY
= YZ(X + X) + XY(Z + Z)
= XYZ + XYZ + XYZ + XYZ
By removing duplicate terms we get canonical Sum-of=Product form :
XYZ + XYZ + XYZ
F = (2, 3, 7)
F = m2 + m3 + m7
(c) AB(B + C)
Try by yourself.
36. Express in the Product of Sums form, the Boolean function F(x, y, z), and the truth table for which is given below :
X Y Z F
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 1
Add a new column containing Maxterms. Now the table is as follows :
Ans.
CBSE CS N IP Page 10 of 35
X Y Z F Maxterms
0 0 0 1 X+Y+Z
0 0 1 0 X + Y + Z
0 1 0 1 X + Y + Z
0 1 1 0 X + Y + Z
1 0 0 1 X + Y + Z
1 0 1 0 X + Y + Z
1 1 0 1 X + Y + Z
1 1 1 1 X+ Y + Z'
Now by multiplying Maxterms for the output 0s, we get the desiered product of sums expression which is
(X + Y + Z)(X + Y + Z)(X + Y + Z)
37. Given the truth table of a function F(x, y, z). Write S-O-P and P-O-S expression from the following truth table :
X Y Z F
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
Add a new column containing Minterms and Maxterms. Now the table is as follows :
Ans.
X Y Z F Minterms Maxterms
0 0 0 0 XYZ X+Y+Z
0 0 1 0 XYZ X + Y + Z
0 1 0 0 XYZ X + Y + Z
0 1 1 1 XYZ X + Y + Z
1 0 0 1 XYZ X + Y + Z
1 0 1 0 XYZ X + Y + Z
1 1 0 0 XYZ X + Y + Z
1 1 1 1 XYZ X+ Y + Z'
Now by adding all the minterms for which output is 1, we get desired sum-of-products expression which is
XYZ + XYZ + XYZ
Now by multiplying Maxterms for the output 0s, we get the desired product of sums expression which is
(X + Y + Z)( X + Y + Z)( X + Y + Z)( X + Y + Z)( X + Y + Z)
38. Convert the following expressions to canonical Product-of-Sum form
(a) (A + C)(C + D) (b) A(B + C)(C +D) (c) (X + Y)(Y + Z)(X + Z)
Ans. (a) (A + C)(C + D)
= (A + BB + C + DD)(AA + BB + C + D)
= (A + B + C + D)(A + B + C + D)(A + B + C + D)(A + B + C + D)
By removing duplicate terms we get canonical Product-of-Sum form:
(A + B + C + D)(A + B + C + D)(A + B + C + D)
F = (0, 5 , 12)
F = M0 + M5 + M12
(b) A(B + C)(C + D)
Try by yourself.
(c) (X + Y)(Y + Z)(X + Z)
= (X + Y + ZZ)(XX + Y + Z)(X + YY + Z)
= (X + Y + Z)(X + Y + Z)(X + Y + Z)(X + Y + Z)(X + Y + Z)(X + Y + Z)
By removing duplicate terms we get canonical Product-of-Sum form:
(X + Y + Z)(X + Y + Z)( X + Y + Z)( X + Y + Z)
F = (0, 1 , 2, 4)
F = M 0 + M1 + M2 + M4
CBSE CS N IP Page 11 of 35
39. Simplify the following Boolean expression :
(i) AB + AB+ AC + AC (ii) XY + XYZ + XYZ + XZY (iii) XY(XYZ+ XYZ+ XYZ)
Ans. (i) AB + AB + AC + AC
= A(B + B) + A(C + C) (B + B =1, C + C = 1)
= A + A (A + A = 1)
=1
(ii) XY + XYZ + XYZ + XZY
= XY(Z) + XY(Z + Z) (Z + Z =1)
= XY(Z) + XY
= XY(Z + 1) (Z + 1 = 1)
= XY
(iii) XY(XYZ + XYZ + XYZ)
= XY[Z(XY + XY + XY)]
= XY[Z(XY + XY(1 + 1)]
= XY[Z(XY + XY)]
= XYZ(XY + XY)
40. Develop sum of products and product of sums expressions for F1 and F2 from the following truth table :
Inputs Outputs
X Y Z F1 F2
0 0 0 0 0
0 0 1 0 1
0 1 0 1 1
0 1 1 1 0
1 0 0 1 0
1 0 1 0 0
1 1 0 0 1
1 1 1 1 1
Ans.
Add a new column containing Minterms. Now the table is as follows :
Inputs Outputs Minterms Maxterms
X Y Z F1 F2
0 0 0 0 0 XYZ X+Y+Z
0 0 1 0 1 XYZ X + Y + Z
0 1 0 1 1 XYZ X + Y + Z
0 1 1 1 0 XYZ X + Y + Z
1 0 0 1 0 XYZ X + Y + Z
1 0 1 0 0 XYZ X + Y + Z
1 1 0 0 1 XYZ X + Y + Z
1 1 1 1 1 XYZ X+ Y + Z'
Now by adding all the minterms for which output is 1 in F1, we get desired sum-of-products expression which is
XYZ + XYZ + XYZ + XYZ
Now by adding all the minterms for which output is 1 in F2, we get desired sum-of-products expression which is
XYZ + XYZ + XYZ + XYZ
Now by multiplying Maxterms for the output 0s in F1, we get the desired product of sums expression which is (X
+ Y + Z)( X + Y + Z)( X + Y + Z)( X + Y + Z)
Now by multiplying Maxterms for the output 0s in F2, we get the desired product of sums expression which is (X
+ Y + Z)( X + Y + Z)( X + Y + Z)( X + Y + Z)
41. Obtain a simplified expression for a Boolean function F(X, Y, Z), the Karnaugh map for which is given bellow :
CBSE CS N IP Page 12 of 35
Completing the given K-map We have 1 group which is Quad i.e.,
m1 + m3 + m5 + m7
Ans. = XYZ + XYZ + XYZ + XYZ
= XZ(Y + Y) + XZ(Y + Y)
= XZ + XZ
= Z(X + X)
=Z
Simplified Boolean expression for given K-map is F(X, Y, Z) = Z.
42. Using the Karnaugh technique obtain the simplified expression as sum of products for the following map.
CBSE CS N IP Page 13 of 35
Mapping the given function in a K-map, we get 2 Pairs i.e.,
Pair-1 is m0 + m1 and Pair-2 is m5 + m7
= XYZ + XYZ + XYZ + XYZ
= XY(Z + Z) + XZ(Y + Y)
= XY + XZ
Simplified Boolean expression for given K-map is F(X, Y, Z) = XY + XZ.
(b) F = (1, 3, 5, 4, 7)
Mapping the given function in a K-map, we get 1 Pair and 1 Quad i.e.,
Pair is m4 + m5 and Quad is m1 + m3 + m5 + m7
= XYZ + XYZ + XYZ + XYZ + XYZ + XYZ
= XZ(Y + Y) + XZ(Y + Y) + XY(Z + Z)
= XZ + XZ + XY
= Z(X + X) + XY
= Z + XY
Simplified Boolean expression as for given K-map is F(X, Y, Z) = Z + XY.
(c) m0 +m2 + m4 + m6
Mapping the given function in a K-map, we get 2 Pairs i.e.,
Pair-1 is m0 + m4 and Pair-2 is m2 + m6
= XYZ + XYZ + XYZ + XYZ
= YZ(X + X) + YZ(X + X)
= YZ + YZ
= Z(Y + Y)
= Z
Simplified Boolean expression for given K-map is F(X, Y, Z) = Z.
46. Using K-map, derive minimal product of sums expression for the F(X, Y, Z) whose truth table is given below :
X Y Z F
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
CBSE CS N IP Page 14 of 35
F(A, B, C) = AB + BC + ABC.
(b) ABCD + ABCD + ABCD + ABCD + ABCD
Mapping the given function in a K-map, we get 2 Pairs i.e.,
Pair-1 is m0 + m1 and Pair-2 is m0 + m4
You notice that there is a single 1 in a m14 because it has no adjacent
1 so it is not possible to make a pair.
= ABCD + ABCD + ABCD + ABCD + ABCD
= ABC(D + D) + ACD(B + B) + ABCD
= ABC + ACD + ABCD
Simplified Boolean expression as sum of products for given K-map is
F(A, B, C, D) = ABC + ACD + ABCD.
CBSE CS N IP Page 15 of 35
51. Design a circuit (3 input) which gives a high input, when there is even number of low inputs.
Ans. Following truth table gives a high input, when From truth table we get following function :
there is even number of low inputs : F = XYZ + XYZ + XYZ
X Y Z F Logic circuit for the function F is as following :
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 0
52. Design a circuit (3 input) which gives a high input only when there is even number of low or high inputs.
Ans. Following truth table gives a high input, only when From truth table we get following function :
there is even number of low or high inputs: F = XYZ + XYZ + XYZ + XYZ + XYZ + XYZ
X Y Z F Logic circuit for the function F is as following :
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 0
54. Draw the logic circuit for this Boolean equation : y = ABCD + ABCD + ABCD + ABCD
Ans. = ABCD + ABCD + ABCD + ABCD The logic circuit for above Boolean equation will be as follows:
= BCD(A+A) + ABCD + ABCD
= BCD + ABCD + ABCD
CBSE CS N IP Page 16 of 35
There are three pairs that reduces as given The logic circuit will be as follows:
below:
Pair-1(m1 + m3) reduces to ABO
Pair-2(m1 + m5) reduces to ACO
Pair-3(m1 + m9) reduces to BCO
And single 1 in m10 is ABCO
Simplified Boolean expression for given K-
map is
F(A,B,C,O) = ABO + ACO + BCO +
ABCO
(ii) F(A, B, C) = (0, 2, 4, 5)
There are two pairs that reduces as given The logic circuit will be as follows:
below:
Pair-1(M0.M2) reduces to (A + C)
Pair-2(M4.M5) reduces to (A + B)
Simplified Boolean expression for given K-map
is
F(A,B,C) = (A + C). (A + B)
(iii) F(A, B, C) = (1, 2, 4, 6, 7)
There are three pairs that reduces as given The logic circuit will be as follows:
below:
Pair-1(m2 + m6) reduces to BC
Pair-2(m6 + m7) reduces to AB
Pair-2(m4 + m6) reduces to AC
And single 1s in m1 is ABC
Simplified Boolean expression for given K-
map is
F(A,B,C) = BC + AB + AC + ABC
(iv) F(A, B, C) = (1, 3, 5, 7)
There is Quad that reduces as given below: The logic circuit will be as follows:
Pair-1(M1.M3.M5.M7) reduces to C
Simplified Boolean expression for given K-map
is C.
Ans.
Boolean expression for the output F is (AB + CD)
58. Convert the above circuit into NAND-to-NAND logic circuit.
Ans. The given Boolean expression can be written as
= (NOT((NOT A) NAND (NOT B)) NAND (C NAND D))
CBSE CS N IP Page 17 of 35
59. Why are NAND and NOR gates more popular?
Ans. NAND and NOR gates are more popular as these are less expensive and easier to design. Also other functions (NOT,
AND, OR) can easily be implemented using NAND/NOR gates. Thus NAND, NOR gates are also referred to as Universal
Gates.
60. Draw the logical circuits for the following using NAND gates only :
(i) xy + xyz + xyz (ii) ABC + ABC + ABC
Ans. (i) xy + xyz + xyz (ii) ABC + ABC + ABC
The given Boolean expression can be written as
= (x NAND y) NAND (x NAND (NOT y) NAND z) The given Boolean expression can be written as
NAND (x NAND y NAND z) = (A NAND B NAND C) NAND (A NAND (NOT B) NAND
(NOT C)) NAND (A NAND B NAND C)
61. Draw the logical circuits for the following using NOR gates only :
(i)(X + Y) . (X+ Y) . (X+Y) (ii) (X + Y + Z) . (X + Y +Z)
Ans. (i)(X + Y) . (X+ Y) . (X+Y) (ii) (X + Y + Z) . (X + Y +Z)
The given Boolean expression can be written as The given Boolean expression can be written as
= (X NOR Y) NOR ((NOT X) NOR Y) NOR ((NOT X) NOR = (X NOR Y NOR Z) NOR (X NOR (NOT Y) NOR (NOT Z))
(NOT Y))
62. Draw the logical circuit for the following function using NAND gates only F(a, b, c) = (0, 3, 4, 7)
Ans. There are two pairs that reduces as given The logic circuit will be as follows:
below:
Pair-1(m0 + m4) reduces to bc
Pair-2(m3 + m7) reduces to bc
Simplified Boolean expression for given K-
map is
F(A,B,C) = bc + bc
63. Draw the simplified logic diagram using only NAND gates to implement the three input function F denoted by the
Ans. expression : F = (0, 1, 2, 5).
There are two pairs that reduces as given The logic circuit will be as follows:
below:
Pair-1(m0 + m2) reduces to ac
Pair-2(m1 + m5) reduces to bc
Simplified Boolean expression for given K-
map is
F(A,B,C) = ac + bc
64. Give an example for each of the following :
CBSE CS N IP Page 18 of 35
(i) a boolean expression in the sum of minterm form
(ii) a boolean expression in the non canonical form.
Ans. For a function F(X, Y, Z)
(i) Sum of minterms expression is
XYZ + XYZ + XYZ + XYZ
(ii) Non canonical form of Sum-of-products
XY + YZ + ZX + XY
65. What function is implemented by the circuit shown
(a) AND (b) OR (c) NAND (d) NOR (e) None of these
Ans.
(c) is correct answer
69. Which of the following functions equals the function : f = x + yz?
(a)x(y + z) (b) (y + x)(z + x) (c) (y + x)(x + z) (d) None of these
Ans. (b) is correct answer
70. Any possible binary logic function can be implemented using only.
(a) AND (b) OR (c) NOT (d) AA (anyone is sufficient) (e) NAND
Ans. Try by Yourself.
71. The function in the following circuit is:
CBSE CS N IP Page 19 of 35
Ans.
(b) Develop an equivalent expression using only NOR operations, and the logic diagram.
Try by Yourself.
84. For the logic function of F(A, B, C, D) = (0, 1, 3, 4, 5, 7, 8, 10, 12, 14, 15).
(a) Show the truth table (b) Write the SOP form (c) Write the POS form (d) Simplify by K-map.
Ans. (a)Show the truth table
Truth table for the given function is as following :
A B C D F Minterms Maxterms
0 0 0 0 1 ABCD A+B+C+D
0 0 0 1 1 ABCD A+B+C+D
0 0 1 0 ABCD A+B+C+D
0 0 1 1 1 ABCD A+B+C+D
0 1 0 0 1 ABCD A+B+C+D
0 1 0 1 1 ABCD A+B+C+D
0 1 1 0 ABCD A+B+C+D
0 1 1 1 1 ABCD A+B+C+D
1 0 0 0 1 ABCD A+B+C+D
1 0 0 1 ABCD A+B+C+D
1 0 1 0 1 ABCD A+B+C+D
1 0 1 1 ABCD A+B+C+D
1 1 0 0 1 ABCD A+B+C+D
CBSE CS N IP Page 21 of 35
1 1 0 1 ABCD A+B+C+D
1 1 1 0 1 ABCD A+B+C+D
1 1 1 1 1 ABCD A+B+C+D
(b) Write the SOP form
Adding all the minterms for which output is 1, we get
ABCD + ABCD + ABCD + ABCD + ABCD + ABCD + ABCD + ABCD + ABCD + ABCD + ABCD
This is desired Canonical Sum-of-Product form.
(c) Write the POS form
By multiplying Maxterms for the output 0s, we get
(A+B+C+D)( A+B+C+D)( A+B+C+D)( A+B+C+D)( A+B+C+D)
This is desired Canonical Product-of-Sum form.
(d) Simplify by K-map
Mapping the given function in a K-map, we get 2 pairs and 2 Quads.
Pair-1(m14 + m15) reduces to ABC as D removed.
Pair-2(m3 + m7) reduces to ACD as B removed.
Quad-1(m0 + m4 + m8 + m12) reduces to CD as A and B removed.
Quad-1(m1 + m3 + m5 + m7) reduces to AD as B and C removed.
Simplified Boolean expression for given K-map is
F(A,B,C) = ABC + ACD + CD + AD
85. (a) Implement the following Boolean expression using only NAND gates.
F = (A+ B +C)(A + B)(A + C)
(b) Construction a NOR function by only NAND gates.
Ans. Try by Yourself.
CBSE CS N IP Page 22 of 35
(ii) (X.Y)= X + Y
Again to prove this theorem, we will make use of complementary law i.e.,
X + X= 1 and X . X= 0
If XYs complement is X + Y then it must be true that
(a) XY + (X+ Y) = 1 and (b) XY(X+ Y) = 0
To prove the first part
L.H.S = XY + (X+Y)
= (X+Y) + XY (ref. X + Y = Y + X)
= (X+Y + X).(X+Y + Y) (ref. (X + Y)(X + Z) = X + YZ)
= (X + X+Y).(X + Y +Y)
= (1 +Y).(X + 1) (ref. X + X=1)
= 1.1 (ref. 1 + X =1)
= 1 = R.H.S
Now the second part i.e.,
XY.(X + Y) = 0
L.H.S = (XY).(X+Y)
= XYX + XYY (ref. X(Y + Z) = XY + XZ)
= XXY + XYY
= 0.Y + X.0 (ref. X . X=0)
= 0 + 0 = 0 = R.H.S.
XY.(X + Y)= 0 and XY + (X +Y) = 1
(XY)= X + Y. Hence proved.
1(b). Draw a Logical Circuit Diagram for the following Boolean Expression
X.(Y + Z)
Ans. The Logical Circuit Diagram for the Boolean Expression is as following:
1(c) Convert the following Boolean expression into its equivalent Canonical Sum of Product Form (SOP).
(X + Y + Z).(X + Y + Z).(X + Y + Z)
Ans. Given (X + Y + Z).(X + Y + Z).(X + Y + Z)
(1 + 0 + 1) (1 + 0 + 0) (1 + 1 + 1)
= M4.M5.M6.M7
= (4, 5, 6, 7)
SOP is equal to(excluding position of minterms)
= (0, 1, 2, 3)
= m0 + m1 + m2 + m3
= XYZ + XYZ + XYZ + XYZ
1(d) Reduce the following Boolean expression using K-map
F(A, B, ,C, D) = (0,2,3,4,5,6,7,8,10,12)
Ans.
There are 1 Pair and 2 Quads that reduce as given below:
Pair(m8 + m10) reduces to ABD
Quad-1(m0 + m4 + m12 + m8) reduces to CD
Quad- 2(m2 + m3 + m6 + m7) reduces to AC
Simplified Boolean expression for given K-map is
F(A,B,C,D) = ABD + CD + AC
2(a). State De Morgans Theorems and verify the same using truth table.
Ans. De Morgans First theorem. It states that (X+Y)=X.Y De Morgans Second theorem. It states that (X.Y)=X+Y
Truth Table for first theorem. Truth Table for second theorem.
X Y X Y X+Y (X+Y) X.Y X Y X Y X.Y (X.Y) X+Y
0 0 1 1 0 1 1 0 0 1 1 0 1 1
0 1 1 0 1 0 0 0 1 1 0 0 1 1
CBSE CS N IP Page 23 of 35
1 0 0 1 1 0 0 1 0 0 1 0 1 1
1 1 0 0 1 0 0 1 1 0 0 1 0 0
From Truth Table it is proved that (X+Y) = X.Y From Truth Table it is proved that (X.Y) = X + Y
2(b). Write the equivalent Canonical Product of Sum Expression for the following Sum of Product Expression : F(X, Y, Z)
= (0, 2, 4, 5)
Ans. Given SOP expression : F(X, Y, Z) = (0, 2, 4, 5)
Equivalent POS expression : (1, 3, 6, 7)
Equivalent POS expression will be = M1.M3.M6.M7
M1 = (0 + 0 + 1)S Maxterm = (X + Y + Z)
M3 = (0 + 1 + 1)S Maxterm = (X + Y + Z)
M6 = (1 + 1 + 0)S Maxterm = (X + Y + Z)
M7 = (1 + 1 + 1)S Maxterm = (X + Y + Z)
Equivalent POS will be
F(X, Y, Z) = (X + Y + Z). (X + Y + Z). (X + Y + Z). (X + Y + Z)
2(c). Write the equivalent Boolean expression for the following Logic Circuit.
Ans. The equivalent Boolean expression for the given Logic Circuit is: F = AB + CD
2(d). Reduce the following Boolean expression using K-map :
F(A, B, C, D) = (5, 6, 7, 8, 9, 12, 13, 14, 15)
Ans.
3(d). Draw the circuit diagram for the Boolean function F(X, Y, Z) = (X + Y)(Y + Z) using NOR gates only.
CBSE CS N IP Page 24 of 35
Ans. The circuit diagram for the given Boolean function is as following:
3(e). Express in the POS form, the Boolean function F(A, B, C), the truth table for which is given below :
A B C F
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
Ans. The desired Canonical Product-of-Sum form is as following;
F = (0, 2, 4, 6) = (A + B + C)(A + B + C)(A + B + C)(A + B + C)
4(a). State the distributive law. Verify the law using truth table.
Ans. Distributive law state that (a) X(Y +Z) = XY + XZ (b) X + YZ = (X + Y)(X + Z)
(a) X(Y +Z) = XY + XZ
To prove this law, we will make a following truth table :
X Y Z Y+Z XY XZ X(Y + Z) XY + XZ
0 0 0 0 0 0 0 0
0 0 1 1 0 0 0 0
0 1 0 1 0 0 0 0
0 1 1 1 0 0 0 0
1 0 0 0 0 0 0 0
1 0 1 1 0 1 1 1
1 1 0 1 1 0 1 1
1 1 1 1 1 1 1 1
From truth table it is prove that X(Y +Z) = XY + XZ
(b) X + YZ = (X + Y)(X + Z)
X Y Z YZ X + YZ XZ X+Y X+Z (X + Y)(X + Z)
0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 1 0
0 1 0 0 0 0 1 0 0
0 1 1 1 1 0 1 1 1
1 0 0 0 1 0 1 1 1
1 0 1 0 1 1 1 1 1
1 1 0 0 1 0 1 1 1
1 1 1 1 1 1 1 1 1
From truth table it is prove that X + YZ = (X + Y)(X + Z)
4(b). Prove x + xy = x + y algebraically.
Ans. LHS = x + xy
= (x + x)(x + y) (X + YZ = (X + Y)(X + Z) Distributive law)
=x+y (x + x =1)
= RHS
4(c). Write the dual of the Boolean expression (x + y).(x + y)
Ans. The dual of the given Boolean expression is xy + xy
4(d). Minimize F(w, x, y, z) using Karnaugh map
F(w, x, y, z) = (0, 4, 8, 12)
Ans.
CBSE CS N IP Page 25 of 35
There is 1 Quad(m0 + m4 + m8 + m12) that reduces to yz
Simplified Boolean expression for given K-map is
F(w, x, y, z) = yz
4(e). Represent the Boolean expression (x + y)(y + z)(z + x) with the help of NOR gates only.
Ans.
4(f). Write sum of products form of function F(x, y, z). The truth table representation for the function F is given below :
x y z F
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
Ans. The desired Canonical Sum-of-Product form is as following;
F = (2, 4, 7) = xyz + xyz + xyz
5(a). State and prove DeMorgans Theorem (Any One) algebracaly.
Ans: DeMorgans theorems state that (i) (X + Y)= X.Y (ii) (X.Y)= X + Y
(i) (X + Y)= X.Y
Now to prove DeMorgans first theorem, we will use complementarity laws.
Let us assume that P = x + Y where, P, X, Y are logical variables. Then, according to complementation law
P + P =1 and P . P= 0
That means, if P, X, Y are Boolean variables hen this complementarity law must hold for variables P. In other words, if
P i.e., if (X + Y)= X.Ythen
(X + Y) + (XY)must be equal to 1. (as X + X= 1)
(X + Y) . (XY)must be equal to 0. (as X . X= 0)
Let us prove the first part, i.e.,
(X + Y) + (XY) = 1
(X + Y) + (XY)= ((X + Y) +X).((X + Y) +Y) (ref. X + YZ = (X + Y)(X + Z))
= (X + X+ Y).(X + Y +Y)
= (1 + Y).(X + 1) (ref. X + X=1)
= 1.1 (ref. 1 + X =1)
=1
So first part is proved.
Now let us prove the second part i.e.,
(X + Y) . (XY)= 0
(X + Y) . (XY) = (XY) . (X + Y) (ref. X(YZ) = (XY)Z)
= (XY)X + (XY)Y (ref. X(Y + Z) = XY + XZ)
= X(XY) + XYY
= 0 .Y + X . 0 (ref. X . X=0)
=0+0=0
So, second part is also proved, Thus: X + Y = X . Y
5(b). Given the following truth table, driven a Sum of Product (SOP) and Product of Sum (POS) form of Boolean
CBSE CS N IP Page 26 of 35
expression from it :
X Y Z G(X, Y, Z)
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
Ans. The desired Canonical Sum-of-Product form is as following;
G = (1, 2, 5, 7) = XYZ + XYZ + XYZ + XYZ
The desired Canonical Product-of-Sum form is as following;
G = (0, 3, 4, 6) = (X + Y + Z)(X + Y + Z)(X + Y + Z)(X + Y + Z)
5(c). Obtain a simplified form for the following Boolean Expression using Karnaughs Map :
F(u, v, w, z) = (0, 3, 4, 5, 7, 11, 13, 15).
Ans. There are 2 Pairs and 1 Quad that reduce as given below:
Pair-1(m0 + m4) reduces to uwz
Pair-2(m5 + m13) reduces to vwz
Quad(m3 + m7 + m11 + m15) reduces to wz
Simplified Boolean expression for given K-map is
F(u, v, w, z) = uwz + vwz + wz
5(d). Draw the logic circuit for a Half Adder using NOR gates only.
Ans.
Ans. The equivalent Boolean expression for the given Logic Circuit is: F = (W + X)(Y + Z)
6(a). State DeMorgans Laws. Verify one of the DeMorgans laws using truth tables.
Ans. De Morgans First theorem. It states that (X+Y)=X.Y
De Morgans Second theorem. It states that (X.Y)=X+Y
Truth Table for first theorem.
X Y X Y X+Y (X+Y) X.Y
0 0 1 1 0 1 1
0 1 1 0 1 0 0
1 0 0 1 1 0 0
1 1 0 0 1 0 0
From Truth Table it is proved that (X+Y) = X.Y
6(b). Prove X + YZ = (X + Y + Z)(X + Y + Z)(X + Y + Z) algebraically.
Ans. Try by Yourself.
6(c). Write the dual of the Boolean expression (U + W)(VU + W)
Ans. The dual of the given Boolean expression is UW + (V + U)W
6(d). Obtain a simplified form for a Boolean expression :
F(u, v, w, z) = (0, 1, 3, 5, 7, 9, 10, 11, 12, 13, 14, 15( using Karnaugh Map.
CBSE CS N IP Page 27 of 35
Ans. There are 3 Pairs and 1 Octet that reduce as given below:
Pair-1(m0 + m1) reduces to uvw
Pair-2(m12 + m13) reduces to uvw
Pair-3(m10 + m14) reduces to uwz
Octet(m1 + m3 + m5 + m7 + m9 + m11 + m13 + m15) reduces to z
Simplified Boolean expression for given K-map is
F(u, v, w, z) = uvw + uvw + uwz + z
6(e). Represent the Boolean expression X + Y . Z with the help of NOR gates only.
Ans.
6(f). Write the Product of Sum form of the function H(U, V, W), truth table representation of H is as follows :
U V W H
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
Ans. The desired Canonical Product-of-Sum form is as following;
H = (1, 3, 4, 6) = (U + V + W)(U + V + W)(U + V + W)(U + V + W)
7(a). State and prove the absorption law algebraically.
Ans. Absorption law states that (i) X + XY = X and (ii) X(X + Y) = X
(i) X + XY = X (ii) X(X + Y) = X
LHS = X + XY = X(1 + Y) LHS = X(X + Y) = X . X + XY
=X.1 [ 1 + Y = 1] = X + XY
= X = RHS. Hence proved. = X(1 + Y)
=X.1
= X = RHS. Hence proved.
7(b). Given the following truth table, derive a sum of product (SOP) and Product of Sum (POS) form of Boolean
expression from it :
A B C G(A, B, C)
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
The desired Canonical Sum-of-Product form is as following;
Ans. G = (1, 2, 5, 7) = ABC + ABC + ABC + ABC
The desired Canonical Product-of-Sum form is as following;
G = (0, 3, 4, 6) = (A + B + C)(A + B + C)(A + B + C)(A + B + C)
7(c). Obtain a simplified form for the following Boolean Expression using Karnaughs Map :
F(a, b, c, d) = (0, 1, 2, 4, 5, 7, 8, 9, 10, 11, 14)
Ans.
CBSE CS N IP Page 28 of 35
There are 3 Pairs and 2 Quads that reduce as given below:
Pair-1(m0 + m2) reduces to abd
Pair-2(m5 + m7) reduces to abd
Pair-3(m12 + m14) reduces to acd
Quad-1(m0 + m1 + m4 + m5) reduces to ac
Quad-2(m8 + m9 + m10 + m11) reduces to ab
Simplified Boolean expression for given K-map is
F(a, b, c, d) = abd + abd + acd + ac + ab
7(d). Draw the logic circuit for a Half Adder using NAND gates only.
Ans.
Ans. The equivalent Boolean expression for the given Logic Circuit is: F = (W + X).(Y + Z)
8(a). State Absorption Laws. Verify one of the Absorption Law using truth table.
Ans. Absorption law states that (i) X + XY = X and (ii) X(X + Y) = X
Truth Table for X + XY = X
X Y XY X + XY
0 0 0 0
0 1 0 0
1 0 0 1
1 1 1 1
From Truth Table it is proved that X + XY = X
8(b). Verify X.Y + Y.Z = X.Y.Z + X.Y.Z + X.Y.Z algebraically.
Ans. RHS = X.Y.Z + X.Y.Z + X.Y.Z
= X.Y(Z + Z) + X.Y.Z
= X.Y + X.Y.Z
= X.Y + Y(X + X.Z) (X + X = 1)
= X.Y + Y.Z
= LHS
8(c). Write the dual of the Boolean expression A + B . C
Ans. The dual of the given Boolean expression is A.(B + C)
8(d). Obtain a simplified form for a boolean expression
F(U, V, W, Z) = (0, 1, 3, 4, 5, 6, 7, 9, 10, 11, 13, 15) using Karnaugh Map.
Ans. There are 3 Pairs and 1 Octet that reduce as given below:
Pair-1(m0 + m4) reduces to UWZ
Pair-2(m6 + m7) reduces to UVW
Pair-3(m10 + m11) reduces to UVW
Octet (m1 + m3 + m5 + m7 + m9 + m11 + m13 + m15) reduces to Z
Simplified Boolean expression for given K-map is
F(U, V, W, Z) = UWZ + UVW + UVW + Z
8(e). Represent the Boolean expression X . Y + Z with the help of NOR gates only.
CBSE CS N IP Page 29 of 35
Ans.
8(f). Write the Product of Sum form of the function H(U, V, W), truth table representation of H is as follows :
U V W H
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 0
Ans. The desired Canonical Product-of-Sum form is as following;
H = (2, 4, 6, 7) = (U + V + W)(U + V + W)(U + V + W)(U + V + W)
9(a). State the distributive law and verify the law using truth table.
Ans. Distributive law state that (a) X(Y +Z) = XY + XZ (b) X + YZ = (X + Y)(X + Z)
(a) X(Y +Z) = XY + XZ
To prove this law, we will make a following truth table :
X Y Z Y+Z XY XZ X(Y + Z) XY + XZ
0 0 0 0 0 0 0 0
0 0 1 1 0 0 0 0
0 1 0 1 0 0 0 0
0 1 1 1 0 0 0 0
1 0 0 0 0 0 0 0
1 0 1 1 0 1 1 1
1 1 0 1 1 0 1 1
1 1 1 1 1 1 1 1
From truth table it is prove that X(Y +Z) = XY + XZ
(b) X + YZ = (X + Y)(X + Z)
X Y Z YZ X + YZ XZ X+Y X+Z (X + Y)(X + Z)
0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 1 0
0 1 0 0 0 0 1 0 0
0 1 1 1 1 0 1 1 1
1 0 0 0 1 0 1 1 1
1 0 1 0 1 1 1 1 1
1 1 0 0 1 0 1 1 1
1 1 1 1 1 1 1 1 1
From truth table it is prove that X + YZ = (X + Y)(X + Z)
9(b). Prove XY + YZ + YZ = XY + Z, algebraically.
Ans. LHS = XY + YZ + YZ
= XY + Z(Y + Y) (Y + Y = 1)
= XY + Z
9(c). Obtain the simplified form of a boolean expression using Karnaugh map
F(w, x, y, z) = (2, 3, 6, 10, 11, 14)
Ans.
CBSE CS N IP Page 30 of 35
There are 1 Pair and 1 Quad that reduce as given below:
Pair (m3 + m11) reduces to xyz
Quad (m2 + m6 + m10 + m14) reduces to yz
Simplified Boolean expression for given K-map is
F(w, x, y, z) = xyz + yz
9(d). Represent the Boolean expression (X + Y)(Y + Z)(X + Z) with help of NOR gate only.
Ans.
9(e). Given the following truth table, write the products of sums form of the function F(x, y, z):
x y z F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
Ans. The desired Canonical Product-of-Sum form is as following;
F = (0, 3, 4, 6) = (x + y + z)(x + y + z)(x + y + z)(x + y + z)
10(a). State and verify Duality principle.
The principle of duality states that starting with a Boolean relation, another Boolean relation can be derived by :
1 .Changing each OR sign(+) to an AND sign(.).
2. Changing each AND sign(.) to an OR sign(+).
3. Replacing each 0 by 1 and each 1 by 0.
For example postulate II states (a) 0 + 0 = 0 (b) 0 + 1 = 1 (c) 1 + 0 = 1 (d) 1 + 1 = 1
Now according to principle of duality we changed + to . and 0 to 1.
These become (i) 1 . 1 = 1 (ii) 1 . 0 = 0 (iii) 0 . 1 = 0 (iv) 0 . 0 = 0 ,which are same as postulate III.
So i, ii, iii, iv are duals of a, b, c, d.
10(b). Prove algebraically xyz + xyz + xyz + xyz + xyz + xyz = x + y
Ans. LHS = xyz + xyz + xyz + xyz + xyz + xyz
= xy(z + z) + xy(z + z) + xy(z + z) ( z + z = 1, z + z = 1)
= xy + xy + xy
= x(y + y) + xy
= x + xy (y + y = 1)
= x + (x)y (x = (x))
= x + y (a + ab = a + b x + xy = x + y)
= RHS
10(c). If F(a, b, c, d) = (0, 1, 3, 4, 5, 7, 8, 9, 11, 12, 13, 15), obtain the simplied form using K-Map.
Ans.
There are 1 Quad and 1 Octet that reduce as given below:
Pair (m3 + m7 + m11 + m15) reduces to cd
Quad (m0+ m1 + m4 + m5 + m8 + m9 + m12 + m13) reduces to c
Simplified Boolean expression for given K-map is
F(a, b, c, d) = cd + c
10(d). Seven inverters are cascaded one after another. What is the output if the input is 1?
CBSE CS N IP Page 31 of 35
Ans. 0
10(e). Given the following circuit :
11(c). Convert the following Boolean expression into its equivalent Canonical Product of Sum Form(POS) :
A.B.C + A.B.C + A.B.C
Ans. Given A.B.C + A.B.C + A.B.C
(1 0 1) (0 1 1) (0 1 0)
= m 5 + m 3 + m2
= (2, 3, 5)
POS is equal to (excluding positions of minterms)
= (0, 1, 4, 6, 7)
= M0.M1.M4.M6.M7
= (A + B + C).(A + B + C).(A + B + C).(A + B +C).(A + B + C)
11(d). Reduce the following Boolean expression using K-map:
F(A, B, C, D) = (0, 1, 2, 4, 5, 8, 9, 10, 11)
Ans.
There are 1 Pair and 2 Quad that reduce as given below:
Pair (m2 + m10) reduces to BCD
Quad-1 (m0+ m1 + m4 + m5 ) reduces to AC
Quad-2 (m0+ m1 + m4 + m5 ) reduces to AB
Simplified Boolean expression for given K-map is
F(A, B, C, D) = BCD + AC + AB
12(a). State and verify Distributive law in Boolean Algebra.
Ans. Distributive law state that (a) X(Y +Z) = XY + XZ (b) X + YZ = (X + Y)(X + Z)
(a) X(Y +Z) = XY + XZ
To prove this law, we will make a following truth table :
X Y Z Y+Z XY XZ X(Y + Z) XY + XZ
0 0 0 0 0 0 0 0
0 0 1 1 0 0 0 0
0 1 0 1 0 0 0 0
0 1 1 1 0 0 0 0
1 0 0 0 0 0 0 0
1 0 1 1 0 1 1 1
1 1 0 1 1 0 1 1
CBSE CS N IP Page 32 of 35
1 1 1 1 1 1 1 1
From truth table it is prove that X(Y +Z) = XY + XZ
(b) X + YZ = (X + Y)(X + Z)
X Y Z YZ X + YZ XZ X+Y X+Z (X + Y)(X + Z)
0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 1 0
0 1 0 0 0 0 1 0 0
0 1 1 1 1 0 1 1 1
1 0 0 0 1 0 1 1 1
1 0 1 0 1 1 1 1 1
1 1 0 0 1 0 1 1 1
1 1 1 1 1 1 1 1 1
From truth table it is prove that X + YZ = (X + Y)(X + Z)
12(b). Draw a Logical Circuit Diagram for the following Boolean Expression: A.(B + C)
Ans.
12(C). Convert the following Boolean expression into its equivalent Canonical Sum of Product Form(SOP).
(U + V + W).(U + V + W).(U + V + W)
Ans. Given (U + V + W).(U + V + W).(U + V + W)
(1 + 1 + 1) (0 + 1 + 1) (0 + 0 + 0)
= M0.M3.M7
= (0, 3, 7)
SOP is equal to(excluding position of Maxterms)
= (1, 2, 4, 5, 6)
= m1 + m2 + m4 + m5 + m6
= UVW + UVW + UVW + UVW + UVW
12(d). Reduce the following Boolean expression using K-map:
F(A, B, C, D) = (0, 3, 4, 5, 7, 9, 11, 12, 13, 14)
Ans. There are 4 Pair and 1 Quad that reduce as given below:
Pair-1(m4 + m5) reduces to ABC
Pair-2(m7 + m13) reduces to ACD
Pair-3(m9 + m11) reduces to ABD
Pair-4(m12 + m14) reduces to ABD
Quad(m1+ m5 + m9 + m13 ) reduces to CD
Simplified Boolean expression for given K-map is
F(A, B, C, D) = ABC + ACD + ABD + ABD + CD
13(a). Verify the following algebraically: X.Y + X.Y = (X + Y).(X + Y)
Ans. RHS = (X + Y).(X + Y)
= (X + Y).X + (X + Y).Y
= X.X + X.Y + X.Y + Y.Y
= 0 + X.Y + X.Y + 0
= X.Y + X.Y
= LHS (Verified)
13(b). Write the equivalent Boolean Expression for the following Logic Circuit.
Ans. The equivalent Boolean Expression for the given Logic Circuit is: F = (U + V).(V + W)
13(c). Write the SOP form of a Boolean function G, which is represented in a truth table as follows:
P Q R G
0 0 0 0
CBSE CS N IP Page 33 of 35
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 1
Ans. The desired Canonical Sum-of-Product form is as following;
G = (2, 3, 4, 6, 7) = PQR + PQR + PQR + PQR + PQR
13(d). Reduce the following Boolean expression using K-map: F(A, B, C, D) = (3, 4, 5, 6, 7, 13, 15)
Ans. There are 2 Pair and 1 Quad that reduce as given below:
Pair-1(m3 + m7) reduces to ACD
Pair-2(m4 + m7) reduces to ABD
Quad(m1+ m5 + m9 + m13 ) reduces to BD
Simplified Boolean expression for given K-map is
F(A, B, C, D) = ACD + ABD + BD
14(a). Verify XY + XY + XY = (X + Y) using truth table.
Ans. X Y X Y XY XY XY XY + XY + XY X + Y
0 0 1 1 0 0 1 1 1
0 1 1 0 1 0 0 1 1
1 0 0 1 0 1 0 1 1
1 1 0 0 0 0 0 0 0
From Truth Table it is proved that XY + XY + XY = (X + Y)
14(b). Write the equivalent Boolean Expression for the following Logic Circuit.
Ans. The equivalent Boolean Expression for the given Logic Circuit is: F = (X + Y).(X + Z)
14(c). Write the POS form of a Boolean function H, which is represented in a truth table as follows:
A B C H
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
Ans. The desired Canonical Product-of-Sum form is as following;
H = (0, 5, 6) = (A + B + C).(A + B + C).(A + B + C)
14(d). Reduce the following Boolean expression using K-map:
F(P, Q, R, S) = (1, 2, 3, 4, 5, 6, 7, 9, 11, 12, 13, 15)
Ans. There are 2 Pair and 1 Octet that reduce as given below:
Pair-1(m2 + m6) reduces to QRS
Pair-2(m4 + m12) reduces to PRS
Octet (m1+ m3 + m5 + m7 + m9+ m11 + m13 + m15) reduces to S
Simplified Boolean expression for given K-map is
F(P, Q, R, S) = QRS + PRS + S
15(a). State and verify absorption law using truth table.
Ans. Absorption law states that (i) X + XY = X and (ii) X(X + Y) = X
Truth Table for X + XY = X Truth Table for X(X + Y) = X
X Y XY X + XY X Y X +Y X(X + Y)
CBSE CS N IP Page 34 of 35
0 0 0 0 0 0 0 0
0 1 0 0 0 1 1 0
1 0 0 1 1 0 1 1
1 1 1 1 1 1 1 1
From Truth Table it is proved that X + XY = X From Truth Table it is proved that X(X + Y) = X
15(b). Write the equivalent Boolean Expression for the following Logic Circuit.
Ans. The equivalent Boolean Expression for the given Logic Circuit is: F = PQ + PR
15(c). Write the POS form of a Boolean function H, which is represented in a truth table as follows:
U V W G
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 1
Ans. The desired Canonical Product-of-Sum form is as following;
G = (2, 3, 6) = (U + V + W).(U + V + W).(U + V + W)
15(d). Reduce the following Boolean expression using K-map:
H(U, V, W, Z) = (0, 1, 4, 5, 6, 7, 11, 12, 13, 14, 15)
Ans. There are 2 Pair and 1 Octet that reduce as given below:
Pair-1(m0 + m1) reduces to UVW
Pair-2(m11+ m15) reduces to UWZ
Octet (m4+ m5 + m6 + m7 + m12+ m13 + m14 + m15) reduces to V
Simplified Boolean expression for given K-map is
F(U, V, W, Z) = UVW + UWZ + V
CBSE CS N IP Page 35 of 35