Skip to content
GK24
GK QuizComputer Awareness

Computer Awareness Quiz: Logic Gates and Boolean Algebra

  • 10 questions
  • 10 minutes
  • Difficulty: Medium
Start Quiz

About this quiz

This Computer Awareness quiz on Logic Gates and Boolean Algebra puts 10 multiple-choice questions to you, the verified MCQs published with GK24's note on the topic, 2 of them asked in real previous-year papers. Every question carries a full explanation of why the correct option is right and why the other options are wrong, so you learn the fact behind the answer rather than the letter. Attempt it right after reading the note, keep to the timer, and use the explanations at the end to mark what needs another look. Sit it again before the exam as a quick revision of the topic.

Questions in this quiz

10 questions with answers and explanations

Q2.Computer AwarenessEasy

Which of the following pairs is known as universal gates?

  1. A.AND and OR
  2. B.NAND and NOR
  3. C.XOR and XNOR
  4. D.NOT and AND
Show answer
Correct answer: B. NAND and NOR

Each of these gates alone is enough to build every other gate and so every logic circuit: a NAND with its two inputs tied together acts as a NOT, two NANDs in sequence give an AND, and a suitable arrangement of three gives an OR, and the same can be…

Q3.Computer AwarenessMedium

According to De Morgan's theorem, the complement of the product of two variables A and B is equal to

  1. A.The product of the complements of A and B
  2. B.The sum of the complements of A and B
  3. C.The product of A and B itself
  4. D.Always equal to 1
Show answer
Correct answer: B. The sum of the complements of A and B

De Morgan's second theorem states that NOT of A AND B equals NOT A OR NOT B. The working rule is to break the bar and change the sign, so a dot under a complement becomes a plus once the complement is distributed over the variables.

Q4.Computer AwarenessEasy

The output of an XOR gate is 1 when

  1. A.Both inputs are 1
  2. B.Both inputs are 0
  3. C.The two inputs are different
  4. D.The two inputs are the same
Show answer
Correct answer: C. The two inputs are different

An exclusive OR gate is a difference detector: it gives 1 for the combinations 0 and 1 or 1 and 0, and gives 0 when the inputs agree.

Q5.Computer AwarenessAsked in: Rajasthan · 2011Medium

A 'literal' in Boolean Algebra means

  1. A.A variable in its uncomplemented form only
  2. B.A variable or with its complement
  3. C.A variable in its complemented form only
  4. D.A variable in its complemented or uncomplemented form
Show answer
Correct answer: D. A variable in its complemented or uncomplemented form

In Boolean algebra a literal is any single appearance of a variable in an expression, whether it appears plain or with a bar over it.

Q8.Computer AwarenessEasy

Which logic gate is also known as an inverter?

  1. A.AND gate
  2. B.OR gate
  3. C.NOT gate
  4. D.NAND gate
Show answer
Correct answer: C. NOT gate

It is the only gate that takes a single input, and it simply reverses the logic level it receives, giving 1 for an input of 0 and 0 for an input of 1; because the output is the inverse or complement of the input, the circuit is called an inverter.

View all quizzes