Boolean and Logic
Boolean and Logic
16. Suppose there are three inputs A, B and C. For three inputs, the maximum: C
a) 3 b) 4
c) 8 d) 27
17. Single NOR-gate can perform all functions of: D
a) OR gate b) AND gate
c) NOT gate d) All of these
18. Choose the correct statement: A
a) In a NAND gate if all the inputs are 1, the output will be 0
b) In a NAND gate if all the inputs are 1, the output will be 1
c) Both ‘a’ and ‘b’ d) Neither ‘a’ nor ‘b’
19. The symbol is used to present a _______ operation: D
a) OR b) AND
c) NOT d) NAND
20. The XOR gate is also known as: A
a) The exclusive OR-gate b) The OR-gate
c) The AND-gate d) The NOR-gate
21. Choose the correct statement: B
a) The XOR gate gets more than one input signals and if inputs are different, the output will be 0
b) The XOR gate gets more than one input signals and if inputs are different, the output will be 1
c) The XOR gate gets more than one input signals and if inputs are same, the output will be 1
d) None of these
22. The XNOR gate is also known as: B
a) The NOR-gate b) The exclusive NOR-gate
c) The AND-gate d) The OR-gate
23. Choose the correct statement: A
a) The XNOR gate gets more than one input signals and gives a single output. If all are same, the
output will be ‘1’
b) The XNOR gate gets more than one input signals and gives a single output. If all are same, the
output will be ‘0’
c) The XNOR gate gets more than one input signals and gives a single output. If all are different,
the output will be ‘1’
d) None of these
24. Choose the correct statement: B
a) The XOR gate gets more than one input signals and if inputs are same, the output will be ‘1’
b) The XOR gate gets more than one input signals and if inputs are same, the output will be ‘0’
c) The XOR gate gets more than one input signals and if inputs are different, the output will be ‘1’
d) None of these
25. Choose the correct statement: A
a) The XNOR gate gets more than one input signals and gives a single output. If inputs are
different, the output will be ‘0’
b) The XNOR gate gets more than one input signals and gives a single output. If inputs are
different, the output will be ‘1’
c) The XNOR gate gets more than one input signals and gives a single output. If inputs are
same, the output will be ‘0’
d) None of these
26. In Boolean algebra (X + Y) . (X + ) = ? A
a) X b)
c) +Y d)
27. In Boolean algebra =? B
a) X b)
c) +Y d)
28. In Boolean algebra A . C + A . B + +B=? B
a) A . B + b) A . B +
c) B . C + d) A . C + B
Boolean Algebra and Logic CircuitsCOMPUTER 3
56. Which of the following statement is true in the case of AND gate with input A and B: C
a) if A and B are applied, there will not be any output
b) if neither input is applied, there will be an output
c) if one input is applied there will not be any output
d) if one input is applied there will be an output
57. Which of the following function is referred as the complementary? B
a) OR function b) NOT function
c) NAND function d) AND function
58. An OR gate has 6 input. The number of input words in its truth table are: C
a) 6 b) 32
c) 64 d) 128
59. An AND gate will function as OR if: D
a) all the inputs to the gates are “1” b) all the inputs are “0”
c) a NOT gate is added to it d) all the inputs and outputs are complemented
60. Odd parity of a word can be conveniently tested by: B
a) OR gate b) XOR gate
c) NOR gate d) NAND gate
61. NAND gates are preferred over others because these: C
a) have lower fabrication area b) can be used to make any gate
c) consume least electronic power d) provide maximum density in a chip
62. According to DeMorgan’s theorem = C
a) + + + b) +
c) d) A + B + C + D
63. According to DeMorgan’s theorem = B
a) b) + + +
c) + d)
64. Boolean description for the exclusive OR gate for two inputs x and y can be written as: C
a) + b) .
c) x . + . y d) x . y + .
65. Boolean expression for NOR gate with two inputs x and y can be written as: A
a) b)
c) + d) x . + . y
66. Boolean expression for NAND gate with two inputs x and y cane be written as: A
a) b) .
c) d) x . + . y
67. If A and B are two 1-bit numbers, what logic gates will be required to test for A = B? C
a) NOR gate b) EXCLUSIVE OR gate
c) EXCLUSIVE NOT gate d) OR gate
68. According to DeMOrgan’s law = B
a) x + y b) +
c) . d)
69. According to DeMorgan’s law = A
a) . b) x + y
c) + d)
70. The commutative law in Boolean Algebra, where a, b and c are binary numbers is: C
a) a + 0 = a b) a + 1 = 1
c) a + b = b + a d) a . (b + c) = a . b + a . c
71. According to absorption law x + x . y = A
a) x b) y
c) 1 + x d) 1 + y
72. According to absorption law x . (x + y) = A
a) x b) y
c) 1 + x d) 1 + y
Boolean Algebra and Logic CircuitsCOMPUTER 6
02. In a Karnaugh map, adjacent cells are those that differ by one variable. F
16. Logic gates are the building blocks for all digital circuits. T
19. OR logic is used when one or the other condition must be true. T
20. Any digital system can be fabricated by the use of just two gates AND and OR gates. F
21. Any digital system can be fabricated by the use of just two gates OR and NOT gates. F
22. A Boolean variable can assume the TRUE or FALSE values only. T
26. In Boolean algebra the value of A + B + C + 1 depends upon the values of A, B and C. F
28. In NOR gate all inputs must be low to get low output. F
29. 2’s complement is the number obtained by taking 1’s complement and then adding 1. T
Boolean Algebra and Logic CircuitsCOMPUTER 11
30. 2’s complement is the number obtained by taking 1’s complement and then subtracting 1.
F
31. The double complement of a Boolean variable equals the variable itself.T
34. De Morgan’s first theorem is that the complement of a sum equals the product of the complement.
T
35. De Morgan’s first theorem is that the complement of a sum equals the product of the sums.
F
37. A truth table shows only the input possibilities for a logic circuit. F
38. A truth table shows only the output possibilities for a logic circuit. F
39. A truth table shows both the input as well as output possibilities for a logic circuit. T
40. A gate is a logical circuit which operates on one or more input signals to produce an output signal.
T
41. The output of an inverter gate is always in the opposite state from the input. T
45. AND logic gate is similar to the function of two parallel switches. F
46. Using Boolean algebra the expression F = A CD + ABCD can be simplified as F = BCD.
F
50. To subtract a number B from another A, the operation required is: add B and 2’s complement of
A. F
51. To subtract a number B from another A, the operation required is: add A and 2’s complement of
B. T
52. A NAND gate with input signals inverted performs the logical AND functions. F