This quiz works best with JavaScript enabled. Home > Class 12 > Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates – Quiz 10 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 10 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. What would the following condition return?"Bob" == "Bob" A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 2. What is the output of a NOT gate if the inputs is 0? A) 1. B) 0. C) OFF. D) 2. Show Answer Correct Answer: A) 1. 3. In Boolean Algebra A plus A complement is equal to A) A. B) 0. C) 1. D) None. Show Answer Correct Answer: C) 1. 4. What does "binary" mean, literally? A) Two states. B) Two parts. C) Two computers. D) Two numbers. Show Answer Correct Answer: A) Two states. 5. Imagine Daniel is driving and he sees a traffic light turn red. What should Daniel do if the condition 'light=red' is true? A) Stop. B) Go ahead. C) Check for peanuts. D) Compare values. Show Answer Correct Answer: A) Stop. 6. The maxterms (1, 6, 7) can be written as A) (A'+B'+C).(A+B+C').(A+B+C). B) (A+B+C').(A'+B'+C).(A'+B'+C'). C) ABC'+A'B'C+A'B'C'. D) None. Show Answer Correct Answer: B) (A+B+C').(A'+B'+C).(A'+B'+C'). 7. What is the output of an OR gate if the inputs are 1 and 0? A) 0. B) 1. C) OFF. D) 2. Show Answer Correct Answer: B) 1. 8. The distributive law of addition is written for three variables as A (B + C) = ..... A) (A + B) C. B) (AB) C. C) (AB + AC). D) (AB) + C. Show Answer Correct Answer: C) (AB + AC). 9. Which code is used for error detection in digital systems? A) Gray code. B) Parity bit. C) ASCII code. D) BCD. Show Answer Correct Answer: B) Parity bit. 10. Which property:(A + B) + C = A + (B + C) or (A * B) * C = A * (B * C) A) Commutative Property. B) Associative Property. C) Distributive Property. D) Not your property. Show Answer Correct Answer: B) Associative Property. 11. Why do we make intermediate columns when constructing truth tables? A) Because it gets us more marks. B) Because it's impossible to get the answer without them. C) Because it makes working out the solution easier. D) There is no reason to make them. Show Answer Correct Answer: C) Because it makes working out the solution easier. 12. Determine the output of the following program at the various points indicated below.int x = 5;double y = 2.34;if( x % 2 == 0 ) \{System.out.println( x + " is even." );\}else \{System.out.println( x + " is odd." );\} A) 5 is even. B) 5 is odd. C) Error, it won't run. D) 5 is neither of these. Show Answer Correct Answer: B) 5 is odd. 13. OR Gate:IF A is ON and B is ON, C would light up? A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 14. Which gate gives a HIGH output only when all inputs are LOW? A) AND. B) OR. C) XOR. D) NOR. Show Answer Correct Answer: D) NOR. 15. What happens if the word being searched exists? A) Condition is True. B) Condition is False. C) Condition is Unknown. D) Condition is Invalid. Show Answer Correct Answer: A) Condition is True. 16. In computing 1's and 0's often also means ..... A) 10. B) 2. C) True and False. D) None of the above. Show Answer Correct Answer: C) True and False. 17. Why would you use a boolean expression? A) To create a loop in the program. B) To locate a bug in the program. C) To execute the next line in the program. D) To activate a response with True or False. Show Answer Correct Answer: D) To activate a response with True or False. 18. The output of a gate is only 1 when both inputs are 1 A) OR. B) NOT. C) NAND. D) AND. Show Answer Correct Answer: D) AND. 19. Michael is learning about the foundations of computer science and comes across Boolean Algebra. He wants to know which mathematician is associated with the development of Boolean Algebra. Who should he research? A) Aristotle. B) Isaac Newton. C) George Boole. D) Alan Turing. Show Answer Correct Answer: C) George Boole. 20. What is the role of a multiplexer in digital circuits? A) A multiplexer stores data for future retrieval. B) The role of a multiplexer in digital circuits is to select and route one of multiple input signals to a single output. C) A multiplexer converts analog signals to digital format. D) A multiplexer amplifies signals for better transmission. Show Answer Correct Answer: B) The role of a multiplexer in digital circuits is to select and route one of multiple input signals to a single output. 21. Michael and Luna are deciding whether to go to the movies. If the decision uses the OR operation, how is it different from using the AND operation? A) OR requires both inputs to be true. B) OR requires only one input to be true. C) OR is used for negation. D) OR has no output. Show Answer Correct Answer: B) OR requires only one input to be true. 22. The switching expression F = X'.Y + Y'.Z' + X.Y + Y'.Z after minimization becomes A) F = X + Y'. B) F = X + Y. C) F = 0. D) F = 1. Show Answer Correct Answer: D) F = 1. 23. Give dual for the following:-X+X'Y A) X'+XY'. B) XX'+XY. C) X+X'Y. D) X(X'+Y). Show Answer Correct Answer: D) X(X'+Y). 24. (NOT A) AND B = Q, If A=0 and B = 1, what does Q equal? A) 1. B) 0. C) All the above. D) None of the above. Show Answer Correct Answer: A) 1. 25. Which of the following represents Absorption Law A) A+AB=A. B) A.(A+B). C) Both (a) and (b). D) Neither (a) nor (b). Show Answer Correct Answer: C) Both (a) and (b). ← 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 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 11 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books