Physics

Logic Gates and Digital Electronics MCQs with Answer

What does a NOT gate do to its input?
a) Returns the input as it is
b) Inverts the input
c) Adds 1 to the input
d) Subtracts 1 from the input

Answer
b) Inverts the input

Which of the following logic gates is used for addition in digital circuits?
a) AND gate
b) OR gate
c) XOR gate
d) NOT gate

Answer
c) XOR gate

What is the output of an AND gate when both inputs are 1?
a) 1
b) 0
c) 2
d) Undefined

Answer
a) 1

Which logic gate produces a high output only when at least one input is high?
a) AND gate
b) OR gate
c) XOR gate
d) NOT gate

Answer
b) OR gate

What is the Boolean expression for an AND gate?
a) A + B
b) A – B
c) A * B
d) A + B + C

Answer
c) A * B

Which logic gate is called a universal gate?
a) AND gate
b) OR gate
c) NAND gate
d) NOR gate

Answer
c) NAND gate

What is the output of an OR gate when both inputs are 0?
a) 1
b) 0
c) Undefined
d) Both 0 and 1

Answer
b) 0

What is the Boolean expression for an XOR gate?
a) A * B
b) A + B
c) A ⊕ B
d) A – B

Answer
c) A ⊕ B

What is the function of a NAND gate in digital electronics?
a) Outputs 1 when both inputs are 0
b) Outputs 0 only when both inputs are 1
c) Outputs 1 when both inputs are 1
d) Outputs 1 when at least one input is 0

Answer
b) Outputs 0 only when both inputs are 1

Which of the following gates can be used to create an inverter?
a) AND gate
b) OR gate
c) XOR gate
d) NOT gate

Answer
d) NOT gate

What is the result of the Boolean expression A + A’?
a) A
b) A’
c) 1
d) 0

Answer
c) 1

What is the truth table for a NOR gate?
a) Outputs 1 only when both inputs are 1
b) Outputs 1 only when both inputs are 0
c) Outputs 0 when both inputs are 0
d) Outputs 0 when both inputs are 1

Answer
b) Outputs 1 only when both inputs are 0

What is the primary use of a NAND gate in digital circuits?
a) To simplify circuit design
b) To add two binary numbers
c) To amplify signals
d) To invert signals

Answer
a) To simplify circuit design

Which logic gate is used to perform logical multiplication?
a) AND gate
b) OR gate
c) XOR gate
d) NOR gate

Answer
a) AND gate

What is the output of a XOR gate when both inputs are the same?
a) 0
b) 1
c) Undefined
d) 2

Answer
a) 0

What does a truth table represent in digital electronics?
a) The number of inputs in a gate
b) The output values of a logic gate for every possible input combination
c) The cost of the gate
d) The physical characteristics of the gate

Answer
b) The output values of a logic gate for every possible input combination

Which of the following gates is commonly used in constructing flip-flops?
a) AND gate
b) OR gate
c) NAND gate
d) XOR gate

Answer
c) NAND gate

Which gate has the property that its output is true if and only if one of its inputs is true, but not both?
a) AND gate
b) OR gate
c) XOR gate
d) NAND gate

Answer
c) XOR gate

What is the result of the Boolean expression A * A’?
a) A
b) A’
c) 1
d) 0

Answer
d) 0

Which of the following statements is true for a NOR gate?
a) The output is 1 when at least one input is 0
b) The output is 1 when both inputs are 1
c) The output is 0 when both inputs are 0
d) The output is 1 when both inputs are 0

Answer
d) The output is 1 when both inputs are 0

Which gate is equivalent to an AND gate followed by a NOT gate?
a) OR gate
b) NOR gate
c) NAND gate
d) XOR gate

Answer
c) NAND gate

What is the Boolean expression for a NOR gate?
a) A * B
b) (A + B)’
c) A + B
d) A’ + B’

Answer
b) (A + B)’

Which of the following gates can be used to perform subtraction in digital electronics?
a) XOR gate
b) AND gate
c) OR gate
d) NAND gate

Answer
a) XOR gate

What is the main advantage of using NAND and NOR gates in circuit design?
a) They can only be used in simple circuits
b) They are more energy-efficient
c) They are universal gates that can construct any other logic gate
d) They are faster than other gates

Answer
c) They are universal gates that can construct any other logic gate

What is the output of an AND gate when one input is 1 and the other is 0?
a) 1
b) 0
c) Undefined
d) Both 1 and 0

Answer
b) 0

Which of the following gates is used to compare two inputs and output true if they are not equal?
a) AND gate
b) OR gate
c) XOR gate
d) NAND gate

Answer
c) XOR gate

Which gate has the property that its output is the complement of the input?
a) AND gate
b) OR gate
c) NOT gate
d) XOR gate

Answer
c) NOT gate

Which of the following gates can be used to build a full adder circuit?
a) AND gate
b) OR gate
c) XOR gate
d) All of the above

Answer
d) All of the above

What is the output of an OR gate when both inputs are 1?
a) 1
b) 0
c) 2
d) Undefined

Answer
a) 1

What is the output of an AND gate when both inputs are 0?
a) 1
b) 0
c) Undefined
d) Both 0 and 1

Answer
b) 0

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button