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 4 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 4 (60 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. How many number of cells in the 4-variable K-Map? A) 32. B) 8. C) 16. D) 4. Show Answer Correct Answer: C) 16. 2. What is the symbol used for the OR operation? A) *. B) +. C) . D) . Show Answer Correct Answer: B) +. 3. Rule in Boolean Algebra where the order of application of two separate terms is not important. E.G. A AND B = B AND A A) Commutation. B) Distribution. C) Double Negation. D) Association. Show Answer Correct Answer: A) Commutation. 4. Which of the following expression is dual of A) (AB + CD) = (A + B) (A + D) (B + C) (C + D). B) (AB + CD) = (A + C) (A + D) (B + C) (B + D). C) (AC + BD) = (A + C) (A + D) (B + C) (B + D). D) (AD + BC) = (A + B) (A + C) (B + C) (B + D). Show Answer Correct Answer: B) (AB + CD) = (A + C) (A + D) (B + C) (B + D). 5. The Given IC numbers 7404, 7400, 7432 are ..... gates respectively. A) NAND, AND, NOT. B) NOT, NAND, OR. C) NOT, NAND, AND. D) NOR, EXOR, NOT. Show Answer Correct Answer: B) NOT, NAND, OR. 6. State the number of possible combinations for a Boolean expression with 3 variables. A) 6. B) 16. C) 8. D) 4. Show Answer Correct Answer: C) 8. 7. ( A + B ) ( C + D ) is the same as A) AC + AD + BC + BD. B) (A . B ) + ( C . D ). C) AC + BD. D) A + B + C + D. Show Answer Correct Answer: A) AC + AD + BC + BD. 8. A logic table for NOT that has an input of TRUE will show an output for ..... A) TRUE. B) FALSE. C) All the above. D) None of the above. Show Answer Correct Answer: B) FALSE. 9. Which logic gate outputs true only if both inputs are true? A) AND gate. B) OR gate. C) NOT gate. D) XOR gate. Show Answer Correct Answer: A) AND gate. 10. What is the primary purpose of a truth table? A) To list all possible values of a Boolean expression. B) To solve mathematical equations. C) To organise data in a database. D) To create a computer program. Show Answer Correct Answer: A) To list all possible values of a Boolean expression. 11. The associative law of addition for three variables is written as A + (B + C) = ..... A) (AB) C. B) A + (BC). C) (AB) + C. D) (A + B) + C. Show Answer Correct Answer: D) (A + B) + C. 12. Which of the following are boolean constants? A) Yes. B) NO. C) 1. D) ALL OF THESE. Show Answer Correct Answer: D) ALL OF THESE. 13. A logic circuit has 4 inputs. How many output combinations are possible? A) 8. B) 32. C) 16. D) 4. Show Answer Correct Answer: C) 16. 14. What is the output of the following Python code?x = 10y = 50if (x ** 2 > 100 and y < 100):print(x, y) A) 100 500. B) 10 50. C) 1 5. D) None. Show Answer Correct Answer: D) None. 15. Which of the these is NOT a fundamental operation in Boolean algebra? A) NOT. B) AND. C) OR. D) YET. Show Answer Correct Answer: D) YET. 16. The result of A complement plus 1 is equal to A) A. B) 1. C) 0. D) A complement. Show Answer Correct Answer: B) 1. 17. Give dual for the following:-(A+0).(A.1.A') A) (A+1).(A.0.A'). B) (A.1)+(A+0+.A'). C) (A.0)+(A+1+.A'). D) (A'.1)+(A+0+.A'). Show Answer Correct Answer: B) (A.1)+(A+0+.A'). 18. What is the primary reason for using binary in computers? A) It's easier to understand. B) It allows for more data storage. C) It minimizes signal issues. D) It's faster than other systems. Show Answer Correct Answer: C) It minimizes signal issues. 19. The correct way to check if age is between 20 and 30 is ..... A) Age>=20 and age<=30. B) Age>=20 and <=30. C) Age<=20 and age<=30. D) Age<=20 and age>=30. E) Age<=20 and >=30. Show Answer Correct Answer: A) Age>=20 and age<=30. 20. Boolean algebra expressions are simplified because ..... A) Circuits are then cheaper to build. B) Circuits are more logically correct. C) More gates are used. D) None of the above. Show Answer Correct Answer: A) Circuits are then cheaper to build. 21. Which logic gate outputs 1 when at least one input is 1? A) AND. B) OR. C) NOT. D) XOR. Show Answer Correct Answer: B) OR. 22. Evaluate this Boolean statement:This sentence has seven words in it. A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 23. Name the procedure "Break the line, change the sign" A) Demorgan's law. B) Duality principle. C) Demorganization. D) Fallact. Show Answer Correct Answer: C) Demorganization. 24. Evaluate this Boolean expression:I am in Computer Science AND I am in Year 9 A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 25. 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. 26. What is the output of a NOT gate if the inputs is 0? A) 1. B) 0. C) 2. D) OFF. Show Answer Correct Answer: A) 1. 27. In Boolean Algebra A plus A complement is equal to A) A. B) 0. C) 1. D) None. Show Answer Correct Answer: C) 1. 28. What does "binary" mean, literally? A) Two numbers. B) Two states. C) Two computers. D) Two parts. Show Answer Correct Answer: B) Two states. 29. Imagine Daniel is driving and he sees a traffic light turn red. What should Daniel do if the condition 'light=red' is true? A) Go ahead. B) Stop. C) Check for peanuts. D) Compare values. Show Answer Correct Answer: B) Stop. 30. 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'). 31. What is the output of an OR gate if the inputs are 1 and 0? A) OFF. B) 1. C) 0. D) 2. Show Answer Correct Answer: B) 1. 32. The distributive law of addition is written for three variables as A (B + C) = ..... A) (AB) C. B) (A + B) C. C) (AB) + C. D) (AB + AC). Show Answer Correct Answer: D) (AB + AC). 33. Which code is used for error detection in digital systems? A) BCD. B) ASCII code. C) Parity bit. D) Gray code. Show Answer Correct Answer: C) Parity bit. 34. Which property:(A + B) + C = A + (B + C) or (A * B) * C = A * (B * C) A) Not your property. B) Distributive Property. C) Commutative Property. D) Associative Property. Show Answer Correct Answer: D) Associative Property. 35. Why do we make intermediate columns when constructing truth tables? A) Because it's impossible to get the answer without them. B) Because it gets us more marks. C) There is no reason to make them. D) Because it makes working out the solution easier. Show Answer Correct Answer: D) Because it makes working out the solution easier. 36. 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. 37. 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. 38. 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. 39. What happens if the word being searched exists? A) Condition is Unknown. B) Condition is True. C) Condition is Invalid. D) Condition is False. Show Answer Correct Answer: B) Condition is True. 40. 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. 41. Why would you use a boolean expression? A) To create a loop in the program. B) To activate a response with True or False. C) To execute the next line in the program. D) To locate a bug in the program. Show Answer Correct Answer: B) To activate a response with True or False. 42. 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. 43. 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) Alan Turing. B) Isaac Newton. C) Aristotle. D) George Boole. Show Answer Correct Answer: D) George Boole. 44. 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. 45. 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. 46. The switching expression F = X'.Y + Y'.Z' + X.Y + Y'.Z after minimization becomes A) F = X + Y. B) F = 0. C) F = X + Y'. D) F = 1. Show Answer Correct Answer: D) F = 1. 47. Give dual for the following:-X+X'Y A) XX'+XY. B) X'+XY'. C) X(X'+Y). D) X+X'Y. Show Answer Correct Answer: C) X(X'+Y). 48. (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. 49. 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). 50. Divides a number by another number and returns just the whole number A) MOD. B) REM. C) DIV. D) EXP. E) INT. Show Answer Correct Answer: C) DIV. 51. Rule in Boolean Algebra where if you invert a term twice it is equal to its original term. E.G (NOT NOT A) = A A) Commutation. B) Association. C) Distribution. D) Double Negation. Show Answer Correct Answer: D) Double Negation. 52. When computer engineers are designing processors, they ..... work at the transistor level. A) Sometimes. B) Never. C) Always. D) Rarely. Show Answer Correct Answer: D) Rarely. 53. Apply Demorgan's theorem to simplify the following expression:[(A+B)+C]' A) A'+B+C. B) ABC. C) A+B+C. D) A'B'C'. Show Answer Correct Answer: D) A'B'C'. 54. The only time an XOR is true is when ..... A) Both inputs are false. B) Both inputs are true. C) One input is true and the other input is false. D) The output is grounded. Show Answer Correct Answer: C) One input is true and the other input is false. 55. Which has the highest order of precedence:AND, OR or NOT? A) NOT. B) AND. C) OR. D) XOR. E) NOR. Show Answer Correct Answer: A) NOT. 56. Which of the following represents the Idempotent Law? A) A + A = A. B) A 0 = 0. C) A 1 = A. D) A + 1 = 1. Show Answer Correct Answer: A) A + A = A. 57. Another way to represent ON or TRUE A) 1. B) 0. C) All the above. D) None of the above. Show Answer Correct Answer: A) 1. 58. Which of the following represents the complement of the function X + YZ A) X' + Y'Z'. B) X'(Y+Z)'. C) X'Y' +Z'. D) X'(Y'+Z'). Show Answer Correct Answer: D) X'(Y'+Z'). 59. Three managers have a key of a safe with them, and it requires any two keys to open the safe. If A, B and C denote the presence of the three managers respectively in front of the safe, write down the switching expression denoting the condition for opening the safe? A) A.B + B.C + C.A. B) (A + B + C) . (A' + B' + C'). C) (A + B + C) + B.C + C.A + A.B.C. D) All of these. Show Answer Correct Answer: A) A.B + B.C + C.A. 60. The process of combining adjacent 1's in K-map is known as: A) Encoding. B) Grouping. C) All the above. D) None of the above. Show Answer Correct Answer: B) Grouping. ← 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 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 9 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books