This quiz works best with JavaScript enabled. Home > Class 12 > Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates – Quiz 3 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 3 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. Another way to represent OFF or FALSE A) 0. B) 1. C) All the above. D) None of the above. Show Answer Correct Answer: A) 0. 2. X = 100Y = 50print(x and y)What is the ouput of this code? A) True. B) 100. C) False. D) 50. Show Answer Correct Answer: D) 50. 3. 9 * 2-5 == 13 A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 4. What does the statement:(NOT A) OR A evaluate to? A) 0. B) 1. C) A. D) NOT A. Show Answer Correct Answer: B) 1. 5. How many different combinations of 1 and 0 are possible with 3 bits? A) 4. B) 5. C) 6. D) 7. E) 8. Show Answer Correct Answer: E) 8. 6. NOR Gate is the combination of? A) NOT and AND. B) OR and AND. C) NAND and OR. D) NOT and OR. Show Answer Correct Answer: D) NOT and OR. 7. In the truth table for a NOR gate, what is the output when both inputs are 1? A) 0. B) 1. C) Undefined. D) A. Show Answer Correct Answer: A) 0. 8. A NOT takes a single Boolean value, either true or false, and ..... A) Makes it true. B) Makes it false. C) Negates it. D) Keeps it the same. Show Answer Correct Answer: C) Negates it. 9. What is the correct way to declare a boolean variable in Java? A) Boolean isTrue = 1;. B) Boolean isTrue = 'true';. C) Boolean isTrue = true;. D) Boolean isTrue = '1';. Show Answer Correct Answer: C) Boolean isTrue = true;. 10. What gate produces 0 only when both inputs are 1? A) NAND. B) AND. C) OR. D) XOR. Show Answer Correct Answer: A) NAND. 11. An integer is ..... A) A whole number. B) A number with a decimal part. C) Letters, numbers or punctuation. D) True or False. Show Answer Correct Answer: A) A whole number. 12. The expression for the Absorption law is given by ..... (A' means $\overline{A}$ A) A+AB=A. B) A+AB=B. C) AB+AA'=A. D) A+B=B+A. Show Answer Correct Answer: A) A+AB=A. 13. Write the Boolean value of TRUE. A) 0. B) 1. C) All the above. D) None of the above. Show Answer Correct Answer: B) 1. 14. Two transistors connected in series, with two inputs and one output, act like ..... A) A NOT gate. B) An AND gate. C) An OR gate. D) An IF statement. Show Answer Correct Answer: B) An AND gate. 15. If there are 3 variables, then we can have ..... number of minterms A) 6. B) 3. C) 4. D) 8. Show Answer Correct Answer: D) 8. 16. A.A' is equal to A) 0. B) 1. C) A. D) A'. Show Answer Correct Answer: A) 0. 17. Is 1.005 >= 1.000 A) True. B) False. C) Not Sure. D) None of the above. Show Answer Correct Answer: A) True. 18. 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. 19. If an input A is given to an inverter gate, the output will be, A) 1/A. B) 1. C) A. D) A'. Show Answer Correct Answer: D) A'. 20. 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. 21. When we use symbols for logic gates, rather than transistors, we are moving up ..... A) A row on a logic table. B) A layer of abstraction. C) The ladder of complexity. D) The trophic pyramid. Show Answer Correct Answer: B) A layer of abstraction. 22. 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. 23. NAND gate means A) Inversion followed by AND gates. B) AND gates followed by an inverter. C) AND gate followed by an OR Gate. D) None. Show Answer Correct Answer: B) AND gates followed by an inverter. 24. 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. 25. How many rows does a truth table need if there are 3 inputs?(1 mark) A) 8. B) 4. C) 2. D) 6. E) 16. Show Answer Correct Answer: A) 8. ← 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 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 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