This quiz works best with JavaScript enabled. Home > Class 12 > Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates – Quiz 4 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 4 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. 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. 2. According to the commutative law A) AB=BA. B) A=AA. C) (AB)C=A(BC). D) A.0=A. Show Answer Correct Answer: A) AB=BA. 3. 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: A) (X+Y)'=X'.Y'. 4. 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. 5. Is 6 >= 7 A) True. B) False. C) Not sure. D) None of the above. Show Answer Correct Answer: B) False. 6. 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. 7. Recall the Boolean law that states:X + 0 = X. A) Identity law. B) Null law. C) Domination law. D) Idempotent law. Show Answer Correct Answer: A) Identity law. 8. 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. 9. 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. 10. List the number of inputs and outputs for a standard NOT gate. A) 1 input, 1 output. B) 2 inputs, 1 output. C) 1 input, 2 outputs. D) 2 inputs, 2 outputs. Show Answer Correct Answer: A) 1 input, 1 output. 11. What is the symbol for the AND operator. A) +. B) -. C) . D) &. Show Answer Correct Answer: C) . 12. In Boolean Algebra A + 1 =? A) 0. B) 1. C) A. D) None. Show Answer Correct Answer: B) 1. 13. Which of the following is a minterm of three variables A, B, C? A) A + B + C. B) A B. C) A'B'C. D) AB + C. Show Answer Correct Answer: C) A'B'C. 14. 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. 15. The symbol for greater than is ..... A) <. B) >>. C) >. D) >=. E) <=. Show Answer Correct Answer: C) >. 16. Is it possible to have more than one correct way to write a Boolean expression for a given logic circuit? A) No, unless NOT gates are involved. B) Yes, but only if using XOR gates. C) No, there is always only one correct form. D) Yes, similar to math expressions. Show Answer Correct Answer: D) Yes, similar to math expressions. 17. 0 NAND 1 A) 0. B) 1. C) All the above. D) None of the above. Show Answer Correct Answer: B) 1. 18. How many values does a Boolean variable have? A) 4. B) 3. C) 2. D) 1. E) Infinite. Show Answer Correct Answer: C) 2. 19. 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. 20. 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. 21. If 20 NAND gates are cascaded one after another and input is 1, then find the output signal:- A) False. B) True. C) 1. D) 0. Show Answer Correct Answer: C) 1. 22. 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. 23. Which Boolean expression represents an OR gate? A) A + B. B) A * B. C) NOT(A) * NOT(B). D) NOT(A + B). Show Answer Correct Answer: A) A + B. 24. The symbol for equal to is ..... A) ==. B) =. C) !=. D) >=. E) <=. Show Answer Correct Answer: A) ==. 25. What is the simplified form of A + AB? A) A. B) AB. C) B. D) 0. Show Answer Correct Answer: A) A. ← PreviousNext →Related QuizzesClass 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 1Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 2Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 3Class 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 9Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 10Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 11 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books