This quiz works best with JavaScript enabled. Home > Cbse > Class 12 > Science > Computer Science > Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates – Quiz 2 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 2 (60 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. A.A' is equal to A) A'. B) 0. C) A. D) 1. Show Answer Correct Answer: B) 0. 2. Is 1.005 >= 1.000 A) True. B) False. C) Not Sure. D) None of the above. Show Answer Correct Answer: A) True. 3. What would the following condition return?75 + 5 == 80 A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 4. If an input A is given to an inverter gate, the output will be, A) A. B) 1. C) A'. D) 1/A. Show Answer Correct Answer: C) A'. 5. Which gate only has an output of 1 if both inputs are 1? A) OR. B) NAND. C) AND. D) NOR. Show Answer Correct Answer: C) AND. 6. When we use symbols for logic gates, rather than transistors, we are moving up ..... A) The trophic pyramid. B) The ladder of complexity. C) A layer of abstraction. D) A row on a logic table. Show Answer Correct Answer: C) A layer of abstraction. 7. Abigail and Kai are deciding whether to go to the park. They agree that if either of them wants to go, they will both go. If both Abigail and Kai do not want to go, what will be their decision? A) They will go. B) They will not go. C) Decision is undefined. D) Both go and not go. Show Answer Correct Answer: B) They will not go. 8. If the output of Booleanexpression is always True or 1 iscalled: A) Fallacy. B) Tautology. C) Duality Principle. D) None of these. Show Answer Correct Answer: B) Tautology. 9. How many rows does a truth table need if there are 3 inputs?(1 mark) A) 16. B) 4. C) 6. D) 2. E) 8. Show Answer Correct Answer: E) 8. 10. Explain the difference between AND, OR, and NOT operators. A) NOT combines two conditions together. B) AND requires at least one condition to be true. C) AND requires both conditions to be true, OR requires at least one to be true, and NOT negates a condition. D) OR requires both conditions to be true. Show Answer Correct Answer: C) AND requires both conditions to be true, OR requires at least one to be true, and NOT negates a condition. 11. According to the commutative law A) A=AA. B) A.0=A. C) AB=BA. D) (AB)C=A(BC). Show Answer Correct Answer: C) AB=BA. 12. Which of the following denotes DeMorgan's First theorem? A) (X+Y)'=X'+Y'. B) X'+Y'=(XY)'. C) (X+Y)'=X'.Y'. D) X'+Y'=X'.Y'. Show Answer Correct Answer: C) (X+Y)'=X'.Y'. 13. In a boolean expression if X is not 0, it will be A) X. B) 1. C) X'. D) None of the above. Show Answer Correct Answer: B) 1. 14. Which gate combines AND and NOT operations? A) XOR gate. B) NOR gate. C) NAND gate. D) OR gate. Show Answer Correct Answer: C) NAND gate. 15. Recall the Boolean law that states:X + 0 = X. A) Domination law. B) Identity law. C) Idempotent law. D) Null law. Show Answer Correct Answer: B) Identity law. 16. What is the purpose of a NOT gate? A) To create a truth table. B) To output true if both inputs are true. C) To invert its input. D) To combine two inputs. Show Answer Correct Answer: C) To invert its input. 17. What is the purpose of truth tables in Boolean logic? A) Truth tables help in determining the best programming language for a project. B) Truth tables are designed to visualize data flow in computer networks. C) The purpose of truth tables in Boolean logic is to evaluate the truth values of logical expressions based on all possible combinations of their variables. D) Truth tables are used to simplify complex equations in calculus. Show Answer Correct Answer: C) The purpose of truth tables in Boolean logic is to evaluate the truth values of logical expressions based on all possible combinations of their variables. 18. List the number of inputs and outputs for a standard NOT gate. A) 1 input, 1 output. B) 1 input, 2 outputs. C) 2 inputs, 2 outputs. D) 2 inputs, 1 output. Show Answer Correct Answer: A) 1 input, 1 output. 19. What is the symbol for the AND operator. A) +. B) &. C) . D) -. Show Answer Correct Answer: C) . 20. In Boolean Algebra A + 1 =? A) 0. B) 1. C) A. D) None. Show Answer Correct Answer: B) 1. 21. Which of the following is a minterm of three variables A, B, C? A) A'B'C. B) A + B + C. C) A B. D) AB + C. Show Answer Correct Answer: A) A'B'C. 22. The AND Boolean operation takes two inputs but still has a single output. What must be the inputs be for the output to match? A) Both inputs must match to have the output also match. B) Inputs don't need to match, but at least one of them must be turned to FALSE. C) Inputs must both be FALSE. D) Inputs must both be TRUE. Show Answer Correct Answer: A) Both inputs must match to have the output also match. 23. Is it possible to have more than one correct way to write a Boolean expression for a given logic circuit? A) Yes, but only if using XOR gates. B) Yes, similar to math expressions. C) No, unless NOT gates are involved. D) No, there is always only one correct form. Show Answer Correct Answer: B) Yes, similar to math expressions. 24. How many values does a Boolean variable have? A) 4. B) 2. C) 3. D) 1. E) Infinite. Show Answer Correct Answer: B) 2. 25. Which two logic gates are required to construct a half adder? A) XOR and AND. B) OR and AND. C) NOR and NAND. D) XOR and NOT. Show Answer Correct Answer: A) XOR and AND. 26. The expression AB + BC can be written in canonical form as A) A'BC + AB'C + ABC'+ A'B'C. B) ABC + AB'C' + A'BC'. C) ABC + ABC' + A'BC. D) None. Show Answer Correct Answer: C) ABC + ABC' + A'BC. 27. If 20 NAND gates are cascaded one after another and input is 1, then find the output signal:- A) 1. B) True. C) 0. D) False. Show Answer Correct Answer: A) 1. 28. What is a major problem with an SR flip-flop? A) The output is unpredictable when both inputs are 1. B) It cannot store a binary value. C) It has no clock input. D) It does not allow toggling of states. Show Answer Correct Answer: A) The output is unpredictable when both inputs are 1. 29. Which Boolean expression represents an OR gate? A) A * B. B) NOT(A) * NOT(B). C) NOT(A + B). D) A + B. Show Answer Correct Answer: D) A + B. 30. What is the simplified form of A + AB? A) AB. B) B. C) A. D) 0. Show Answer Correct Answer: C) A. 31. Find the equivalent Boolean expression of A + A'B A) A + AB. B) A + B. C) AB + A'B. D) A' + B'. Show Answer Correct Answer: B) A + B. 32. 3) The boolean expression of an OR gate is ..... A) A+B. B) A.B. C) A'B+AB'. D) A'B'. Show Answer Correct Answer: A) A+B. 33. Which gate outputs 1 only when all inputs are 0? A) OR gate. B) AND gate. C) NOR gate. D) XOR gate. Show Answer Correct Answer: C) NOR gate. 34. Evaluate:name = "lucy"name = "sally"name == "lucy" A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 35. A truth table lists every possible combination of input and the resulting output A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 36. (True NAND True) OR False A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 37. Explain De Morgan's Theorems in Boolean algebra. A) NOT (A AND B) = (NOT A) AND (NOT B). B) NOT (A OR B) = (NOT A) OR (NOT B). C) NOT (A AND B) = (A OR B). D) De Morgan's Theorems:1) NOT (A AND B) = (NOT A) OR (NOT B); 2) NOT (A OR B) = (NOT A) AND (NOT B). Show Answer Correct Answer: D) De Morgan's Theorems:1) NOT (A AND B) = (NOT A) OR (NOT B); 2) NOT (A OR B) = (NOT A) AND (NOT B). 38. Recognize the output of a NOT gate when the input is 0. A) Depends on other inputs. B) 0. C) Undefined. D) 1. Show Answer Correct Answer: D) 1. 39. K-map for 2 variables has A) 6 cells. B) 2 cells. C) 4 cells. D) 8 cells. Show Answer Correct Answer: C) 4 cells. 40. What are the two possible values that Boolean variables can assume? A) True and False. B) 0 and 1. C) On and Off. D) High and Low. Show Answer Correct Answer: B) 0 and 1. 41. Using 1 bit (1 binary digit) a pixel can have ..... A) 4 Colours. B) 256 Colours. C) 1 Colours. D) 2 Colours. Show Answer Correct Answer: D) 2 Colours. 42. Which logic operator is mentioned?The statement ( ..... X) is false when X is true and vice versa. A) And. B) Or. C) Not. D) None of the above. Show Answer Correct Answer: C) Not. 43. Who is credited with the development of Boolean Algebra? A) Aristotle. B) George Boole. C) Albert Einstein. D) Isaac Newton. Show Answer Correct Answer: B) George Boole. 44. In a NOT Gate if the input is true the output will be ..... A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 45. What is the output of an OR gate when both inputs are false? A) False. B) Null. C) True. D) Undefined. Show Answer Correct Answer: A) False. 46. What is the output of the following boolean expression in Java:System.out.println(6 > 3)? A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 47. In Boolean Algebra, A + BC = A) A+ B' + C". B) (A+B)(A+C). C) (A'+B)(A'+C). D) A' + B'C'. Show Answer Correct Answer: B) (A+B)(A+C). 48. In Boolean algebra, what does + represent? A) OR operation. B) NOT operation. C) AND operation. D) XOR operation. Show Answer Correct Answer: A) OR operation. 49. Simplification reduces A) Cost. B) Gates. C) Delay. D) All. Show Answer Correct Answer: D) All. 50. The result of this program:Friday = Falseif Friday:print "Jeans day!"else:print "Dress code" A) Jeans day. B) Dress code. C) Jeans Day. D) Dress Code. Show Answer Correct Answer: B) Dress code. 51. Who wrote this law:~ (A + B) = ~A * ~B A) DeMorgan. B) Wolfertz. C) Euler. D) Boole. Show Answer Correct Answer: A) DeMorgan. 52. "The burglar alarm will go off if either the door or the window or both are opened" . This is an example of which type of Logic? A) AND. B) OR. C) NOT. D) NOR. Show Answer Correct Answer: B) OR. 53. Which numbers for x would cause the boolean expression x <= 14 to be True? A) 14, 18, 20. B) 13, 14, 15. C) 3, 17, 20. D) 1, 11, 14. Show Answer Correct Answer: D) 1, 11, 14. 54. Which Boolean operation results in 1 only if both inputs are 0 or both are 1? A) XNOR. B) XOR. C) AND. D) NAND. Show Answer Correct Answer: A) XNOR. 55. Which gate "reverses" any numbers that pass through it? A) AND. B) OR. C) NOT. D) None of the above. Show Answer Correct Answer: C) NOT. 56. The logic gate that provides high output for same input for all variables in a 2 variable truth table is ..... gate A) NOT. B) AND. C) OR. D) XNOR. Show Answer Correct Answer: D) XNOR. 57. What fundamental operations does Boolean Algebra include? A) Addition, Subtraction, Multiplication. B) NOT, AND, OR. C) XOR, XNOR, NOR. D) Division, Modulation, Integration. Show Answer Correct Answer: B) NOT, AND, OR. 58. In the truth table of a NOT gate, what is the output when the input is 0? A) 1. B) 0. C) Undefined. D) Both 0 and 1. Show Answer Correct Answer: A) 1. 59. BOOLEAN ALGEBRA CAN BE USED ..... A) FOR DESIGNING OF THE DIGITAL COMPUTERS. B) BUILDING ALGEBRAIC FUNCTIONS. C) CIRCUIT THEORY. D) IN BUILDING LOGIC SYMBOLS. Show Answer Correct Answer: A) FOR DESIGNING OF THE DIGITAL COMPUTERS. 60. Boolean algebra can be used to A) Simplify any algebraic expression. B) Solve the mathematical problem. C) Perform arithmetic calculation. D) Minimize number of switches in a circuit. Show Answer Correct Answer: A) Simplify any algebraic expression. ← PreviousNext →Related QuizzesScience QuizzesClass 12 QuizzesClass 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 1Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 3Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 4Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 5Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 6Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 7Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 8Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 9 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books