This quiz works best with JavaScript enabled. Home > Class 12 > Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates – Quiz 20 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 12 Computer Science Chapter 6 Boolean Algebra And Logic Gates Quiz 20 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. A+A'B = A) B. B) A+B. C) AB. D) A. Show Answer Correct Answer: B) A+B. 2. Which logic gate represents the OR operation? A) A gate that outputs 1 if at least one input is 1. B) A gate that inverts input. C) A gate that multiplies binary values. D) A gate that adds decimal numbers. Show Answer Correct Answer: A) A gate that outputs 1 if at least one input is 1. 3. What is a Karnaugh map and how is it used? A) A Karnaugh map is a software tool for programming languages. B) A Karnaugh map is a method for calculating probabilities in statistics. C) A Karnaugh map is a graphical representation of linear equations. D) A Karnaugh map is a tool used to simplify Boolean expressions and visualize truth tables. Show Answer Correct Answer: D) A Karnaugh map is a tool used to simplify Boolean expressions and visualize truth tables. 4. What is the output of a NOR gate when both inputs are true? A) True. B) False. C) Undefined. D) Null. Show Answer Correct Answer: B) False. 5. THE GATE WHICH IS USED TO REVERSE THE OUTPUT OBTAINED IS ..... A) NOR. B) NAND. C) AND. D) NOT. Show Answer Correct Answer: D) NOT. 6. A NOT gate has ..... A) Two inputs and one input. B) One input and one output. C) One input and two outputs. D) Two inputs and two outputs. Show Answer Correct Answer: B) One input and one output. 7. How can the XOR gate be represented in text-based Boolean algebra? A) A dot. B) A slash or bar. C) A plus symbol with a circle around it. D) A plus symbol. Show Answer Correct Answer: C) A plus symbol with a circle around it. 8. A Boolean expression ..... A) Loops the programs to continue infinitely. B) Sets everything in it equal to eachother. C) Checks if something is True or False. D) Fixes any errors in the line of code. Show Answer Correct Answer: C) Checks if something is True or False. 9. A . B is the same as A) B . A. B) A . A. C) B . B. D) A + B. Show Answer Correct Answer: A) B . A. 10. Evaluate this Boolean expression:NOT(I am in the Library OR It is night time) A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 11. ..... is elementary building block of a digital circuit that manipulates the binary information A) Binary numbers. B) Logic gate. C) All the above. D) None of the above. Show Answer Correct Answer: B) Logic gate. 12. How many input values does a NOT gate have? A) 1. B) 2. C) 3. D) 4. Show Answer Correct Answer: A) 1. 13. What is the result of the expression NOT (A OR B)? A) (NOT A) AND (NOT B). B) A AND B. C) A XOR B. D) NOT A OR NOT B. Show Answer Correct Answer: A) (NOT A) AND (NOT B). 14. What is the purpose of logic gates? A) To allow an electronic system to make a decision based on its outputs. B) To allow an electronic system to make a decision based on its inputs. C) To allow a program to make a decision based on its inputs. D) To allow a program to make a decision based on its outputs only. Show Answer Correct Answer: B) To allow an electronic system to make a decision based on its inputs. 15. WHICH GATE RETURNS TRUE IF BOTH INPUTS ARE SIMILAR OTHERWISE FALSE. A) NAND. B) XNOR. C) NOR. D) None of the above. Show Answer Correct Answer: B) XNOR. 16. A Karnaugh Map with two variables has how many cells? A) 4. B) 2. C) 8. D) 16. Show Answer Correct Answer: A) 4. 17. What does a D-type flip-flop do? A) Stores and outputs a value based on a clock signal. B) Adds two binary numbers. C) Sends a signal to a printer. D) Multiplies two inputs. Show Answer Correct Answer: A) Stores and outputs a value based on a clock signal. 18. What happens if the code finds a 'Yes'? A) Make the statement. B) Ignore the statement. C) Check for peanuts. D) Compare values. Show Answer Correct Answer: A) Make the statement. 19. Evelyn and Zoe are deciding whether to go out for ice cream. They agree that they will only go if one of them wants to go, but not both. What is a key feature of their decision-making process? A) It is true if both Evelyn and Zoe want ice cream. B) It is false if both Evelyn and Zoe want ice cream. C) It requires no input from Evelyn or Zoe. D) It represents a binary number. Show Answer Correct Answer: B) It is false if both Evelyn and Zoe want ice cream. 20. State the first DeMorgan's Theorem. A) (A + B)' = A' B'. B) (A B)' = A' + B'. C) (A + B)' = A' + B'. D) A' B' = (A + B). Show Answer Correct Answer: A) (A + B)' = A' B'. 21. Name the law:-AB=BA A) Commutative law. B) Associative law. C) Distributive law. D) Involution law. Show Answer Correct Answer: A) Commutative law. 22. How is the XOR operation different from the OR operation? A) XOR outputs True only when both inputs are the same. B) XOR outputs True only when one input is True and the other is False. C) XOR always outputs False. D) XOR is the same as OR. Show Answer Correct Answer: B) XOR outputs True only when one input is True and the other is False. 23. How can logic gate calculations represented? A) As a document. B) As a programming language. C) As truth tables. D) None of the above. Show Answer Correct Answer: C) As truth tables. 24. Boolean Addition is equivalent to the ..... operation. A) OR. B) AND. C) NOT. D) NAND. Show Answer Correct Answer: A) OR. 25. What is the binary equivalent of the decimal number 13? A) 1001. B) 1101. C) 1110. D) 1011. Show Answer Correct Answer: B) 1101. ← 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 10 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books