Back to Practice Digital Electronics

Logic Gates - Practice MCQs for CCAT

50 Questions Section C: Hardware Digital Electronics

Logic Gates Question Bank for C-CAT

Topic-wise Logic Gates MCQs for CDAC C-CAT preparation with answers and explanations.

Q1.
Which gate is universal?
AAND
BOR
CNAND
DXOR
Show Answer & Explanation

Correct Answer: C - NAND

NAND and NOR are universal - any circuit can be made using only them.

Q2.
AND gate output is 1 when:
AAny input is 1
BAll inputs are 1
CAll inputs are 0
DAny input is 0
Show Answer & Explanation

Correct Answer: B - All inputs are 1

AND gate: output is 1 only when ALL inputs are 1.

Q3.
OR gate output is 1 when:
AAll inputs are 1
BAt least one input is 1
CAll inputs are 0
DNo input is 1
Show Answer & Explanation

Correct Answer: B - At least one input is 1

OR gate: output is 1 when at least one input is 1.

Q4.
NOT gate is also called:
ABuffer
BAmplifier
CInverter
DRepeater
Show Answer & Explanation

Correct Answer: C - Inverter

NOT gate inverts the input - also called inverter.

Q5.
XOR gate output is 1 when:
ABoth inputs same
BBoth inputs 0
CBoth inputs 1
DInputs are different
Show Answer & Explanation

Correct Answer: D - Inputs are different

XOR (Exclusive OR): output is 1 when inputs are different.

Q6.
XNOR gate output is 1 when:
AInputs are different
BBoth inputs same
COne input is 1
DOne input is 0
Show Answer & Explanation

Correct Answer: B - Both inputs same

XNOR: output is 1 when both inputs are same.

Q7.
NAND gate is:
ANOT followed by AND
BOR followed by NOT
CAND followed by NOT
DXOR followed by NOT
Show Answer & Explanation

Correct Answer: C - AND followed by NOT

NAND = NOT AND (AND gate output inverted).

Q8.
NOR gate is:
AAND followed by NOT
BOR followed by NOT
CNOT followed by OR
DXOR followed by NOT
Show Answer & Explanation

Correct Answer: B - OR followed by NOT

NOR = NOT OR (OR gate output inverted).

Q9.
Buffer gate:
AInverts input
BORs inputs
CANDs inputs
DOutput equals input
Show Answer & Explanation

Correct Answer: D - Output equals input

Buffer: output = input (used for signal strengthening).

Q10.
How to make NOT gate from NAND?
AUse three NAND gates
BUse two NAND gates
CImpossible
DConnect both inputs together
Show Answer & Explanation

Correct Answer: D - Connect both inputs together

NAND with both inputs same: A NAND A = A' (NOT A).

Q11.
Which gate produces HIGH output only when all inputs are HIGH?
AOR gate
BAND gate
CNAND gate
DNOR gate
Show Answer & Explanation

Correct Answer: B - AND gate

AND gate outputs 1 only when all inputs are 1. If any input is 0, output is 0.

Q12.
Which gate produces HIGH output when any input is HIGH?
AAND gate
BOR gate
CNAND gate
DNOT gate
Show Answer & Explanation

Correct Answer: B - OR gate

OR gate outputs 1 when at least one input is 1. Output is 0 only when all inputs are 0.

Q13.
What is the output of NAND gate when all inputs are HIGH?
A0
B1
CSame as inputs
DUndefined
Show Answer & Explanation

Correct Answer: A - 0

NAND is NOT-AND. When all inputs are 1, AND gives 1, then NOT inverts it to 0.

Q14.
What is the output of NOR gate when all inputs are LOW?
A0
BUndefined
CSame as inputs
D1
Show Answer & Explanation

Correct Answer: D - 1

NOR is NOT-OR. When all inputs are 0, OR gives 0, then NOT inverts it to 1.

Q15.
What is the output of XOR gate when both inputs are same?
A1
BSame as inputs
C0
DComplement of inputs
Show Answer & Explanation

Correct Answer: C - 0

XOR (exclusive OR) outputs 0 when both inputs are same (both 0 or both 1), and 1 when inputs differ.

Q16.
What is the output of XNOR gate when both inputs are same?
A0
BComplement of inputs
CUndefined
D1
Show Answer & Explanation

Correct Answer: D - 1

XNOR outputs 1 when both inputs are same, and 0 when inputs differ. It is the complement of XOR.

Q17.
How many NAND gates are required to implement AND gate?
A1
B4
C3
D2
Show Answer & Explanation

Correct Answer: D - 2

AND = NAND followed by NOT. Use one NAND gate, then another NAND as NOT (inputs tied). Total: 2 gates.

Q18.
What is the Boolean expression for XOR gate?
AA'·B + A·B'
BA + B
CA · B
DA' + B'
Show Answer & Explanation

Correct Answer: A - A'·B + A·B'

XOR can be expressed as A'·B + A·B', which gives 1 when inputs differ and 0 when same.

Q19.
Which gate is used as a controlled inverter?
AXOR gate
BOR gate
CAND gate
DNAND gate
Show Answer & Explanation

Correct Answer: A - XOR gate

XOR can act as controlled inverter. If control input is 0, output = input. If control is 1, output = complement of input.

Q20.
What is the propagation delay of a gate?
ATime to manufacture the gate
BTime for output to change after input changes
CDelay between two gates
DTime for gate to reset
Show Answer & Explanation

Correct Answer: B - Time for output to change after input changes

Propagation delay is the time taken for the output of a gate to change in response to a change in input.

Q21.
What is fan-out of a logic gate?
ANumber of inputs
BMaximum number of gate inputs it can drive
CPower consumption
DNumber of outputs
Show Answer & Explanation

Correct Answer: B - Maximum number of gate inputs it can drive

Fan-out is the maximum number of gate inputs that a gate output can reliably drive without signal degradation.

Q22.
What is fan-in of a logic gate?
ANumber of gates it can drive
BNumber of outputs
CNumber of inputs the gate can accept
DPower input
Show Answer & Explanation

Correct Answer: C - Number of inputs the gate can accept

Fan-in is the number of inputs a gate can accept. Higher fan-in gates may have slower operation.

Q23.
Which logic family has lowest power consumption?
ATTL
BCMOS
CECL
DRTL
Show Answer & Explanation

Correct Answer: B - CMOS

CMOS (Complementary Metal-Oxide-Semiconductor) has the lowest static power consumption.

Q24.
What is tri-state logic?
ALogic with 0, 1, and high-impedance states
BThree input logic
CThree output logic
DTriple redundant logic
Show Answer & Explanation

Correct Answer: A - Logic with 0, 1, and high-impedance states

Tri-state outputs can be 0, 1, or high-impedance (Z), allowing multiple outputs to share a bus.

Q25.
What is a transmission gate?
AGate that transmits power
BCMOS switch that passes signal when enabled
CBuffer gate
DGate for serial transmission
Show Answer & Explanation

Correct Answer: B - CMOS switch that passes signal when enabled

A transmission gate is a CMOS analog switch that passes an input signal when the control is active.

Q26.
Which gate produces output 1 only when all inputs are 1?
AOR gate
BXOR gate
CAND gate
DNAND gate
Show Answer & Explanation

Correct Answer: C - AND gate

The AND gate produces output 1 only when ALL inputs are 1. For any other input combination, the output is 0.

Q27.
The output of a NAND gate is equivalent to which combination?
AAND followed by NOT
BOR followed by NOT
CNOT followed by AND
DNOT followed by OR
Show Answer & Explanation

Correct Answer: A - AND followed by NOT

NAND = NOT + AND. The NAND gate first performs AND operation on inputs and then inverts the result. Output = (AB)'.

Q28.
Which gates are called universal gates?
ANAND and NOR
BAND and OR
CXOR and XNOR
DNOT and AND
Show Answer & Explanation

Correct Answer: A - NAND and NOR

NAND and NOR are universal gates because any Boolean function can be implemented using only NAND gates or only NOR gates. They can realize AND, OR, and NOT functions.

Q29.
How can a NOT gate be implemented using a NAND gate?
AUse two NAND gates in series
BConnect one input to 0
CConnect one input to 1
DConnect both inputs of NAND gate together
Show Answer & Explanation

Correct Answer: D - Connect both inputs of NAND gate together

When both inputs of a NAND gate are connected to the same signal A, the output is (A·A)' = A'. This implements a NOT gate using a single NAND gate.

Q30.
What is the output of a 2-input XOR gate when both inputs are 1?
A0
B1
CUndefined
DHigh impedance
Show Answer & Explanation

Correct Answer: A - 0

XOR gives output 1 only when inputs are different. When both inputs are 1 (same), the output is 0. XOR: A ⊕ B = A'B + AB'.

Q31.
An OR gate with an inverter (bubble) at the output is equivalent to which gate?
ANOR gate
BNAND gate
CXOR gate
DAND gate
Show Answer & Explanation

Correct Answer: A - NOR gate

An OR gate followed by an inverter gives NOR output: (A + B)'. This is the definition of a NOR gate.

Q32.
How many NAND gates are required to implement an OR gate?
A2
B4
C3
D5
Show Answer & Explanation

Correct Answer: C - 3

To implement OR using NAND: First, invert each input using 2 NAND gates (connecting inputs together), then use a third NAND gate on the inverted inputs. A + B = (A'·B')' requires 3 NAND gates.

Q33.
What is the output expression of a 3-input NOR gate with inputs A, B, and C?
AA' + B' + C'
B(ABC)'
C(A + B + C)'
DA'B'C'
Show Answer & Explanation

Correct Answer: C - (A + B + C)'

A NOR gate ORs all inputs and then inverts the result. For 3 inputs: Output = (A + B + C)'.

Q34.
Which gate is also known as an 'inequality detector'?
AAND gate
BOR gate
CXOR gate
DNAND gate
Show Answer & Explanation

Correct Answer: C - XOR gate

The XOR gate is called an inequality detector because it gives output 1 when the inputs are NOT equal (different). It detects inequality between two inputs.

Q35.
What is the minimum number of NOR gates required to implement an AND gate?
A2
B5
C4
D3
Show Answer & Explanation

Correct Answer: D - 3

To implement AND using NOR: Invert each input using 2 NOR gates (connecting inputs together), then apply NOR on inverted inputs. A·B = (A' + B')' requires 3 NOR gates.

Q36.
In positive logic, a logic HIGH represents which binary value?
A1
B0
CUndefined
DEither 0 or 1
Show Answer & Explanation

Correct Answer: A - 1

In positive logic convention, a higher voltage level (logic HIGH) represents binary 1, and a lower voltage level (logic LOW) represents binary 0.

Q37.
What is the XNOR gate also called?
AInequality detector
BEquivalence gate
CParity checker
DBuffer gate
Show Answer & Explanation

Correct Answer: B - Equivalence gate

The XNOR gate is called an equivalence gate because it produces output 1 when both inputs are equal (both 0 or both 1). Output = AB + A'B'.

Q38.
If a 2-input AND gate has inputs A = 1 and B = 0, what is the output?
A1
BUndefined
C0
DFloating
Show Answer & Explanation

Correct Answer: C - 0

AND gate output is 1 only when ALL inputs are 1. Since B = 0, the output is A · B = 1 · 0 = 0.

Q39.
Which gate acts as a controlled inverter?
AXOR gate
BOR gate
CAND gate
DNAND gate
Show Answer & Explanation

Correct Answer: A - XOR gate

The XOR gate acts as a controlled inverter. When one input (control) is 1, it inverts the other input. When control is 0, the output equals the other input.

Q40.
How many 2-input NAND gates are needed to implement a 2-input AND gate?
A1
B4
C3
D2
Show Answer & Explanation

Correct Answer: D - 2

An AND gate can be implemented using 2 NAND gates: First NAND gate gives (AB)', then a second NAND gate with both inputs connected together inverts it to give ((AB)')' = AB.

Q41.
What is the propagation delay of a logic gate?
ATime for the gate to be manufactured
BTime between two clock pulses
CDelay in power supply reaching the gate
DTime for output to change after input changes
Show Answer & Explanation

Correct Answer: D - Time for output to change after input changes

Propagation delay is the time taken for the output of a gate to change in response to a change in input. It is a critical parameter affecting the maximum operating speed of digital circuits.

Q42.
A fan-out of a gate refers to:
ANumber of inputs the gate has
BMaximum number of gates that can be driven by the output
CPower consumption of the gate
DMaximum frequency of operation
Show Answer & Explanation

Correct Answer: B - Maximum number of gates that can be driven by the output

Fan-out is the maximum number of gate inputs that the output of a gate can drive without degrading the output voltage levels beyond acceptable limits.

Q43.
Which logic family has the lowest propagation delay?
ATTL
BCMOS
CRTL
DECL
Show Answer & Explanation

Correct Answer: D - ECL

ECL (Emitter-Coupled Logic) has the lowest propagation delay among these families because transistors never saturate, allowing very fast switching speeds.

Q44.
The bubble at the output of a gate symbol indicates:
AInversion (complement)
BActive high output
CTri-state output
DOpen collector output
Show Answer & Explanation

Correct Answer: A - Inversion (complement)

A bubble (small circle) at the output of a gate symbol indicates inversion or complementation of the output. It denotes that the output is the complement of the basic gate function.

Q45.
What type of gate is represented by the expression Y = (A ⊕ B)'?
AXOR gate
BXNOR gate
CNOR gate
DNAND gate
Show Answer & Explanation

Correct Answer: B - XNOR gate

Y = (A ⊕ B)' is the complement of XOR, which is XNOR. The XNOR gate output is 1 when inputs are equal: Y = AB + A'B'.

Q46.
How many rows does a truth table have for a 4-input gate?
A4
B8
C16
D32
Show Answer & Explanation

Correct Answer: C - 16

A truth table for n inputs has 2n rows. For 4 inputs: 24 = 16 rows, covering all possible input combinations.

Q47.
A tri-state buffer has how many possible output states?
A2
B4
C3
D1
Show Answer & Explanation

Correct Answer: C - 3

A tri-state (three-state) buffer has three output states: logic 0, logic 1, and high-impedance (Hi-Z). The Hi-Z state effectively disconnects the output from the circuit.

Q48.
What is the output of a 2-input NAND gate when both inputs are 0?
A1
B0
CUndefined
DHigh impedance
Show Answer & Explanation

Correct Answer: A - 1

NAND output = (A·B)'. When A=0 and B=0: (0·0)' = 0' = 1. A NAND gate gives output 0 only when all inputs are 1.

Q49.
Which gate can be used as a parity generator?
AAND gate
BOR gate
CNAND gate
DXOR gate
Show Answer & Explanation

Correct Answer: D - XOR gate

XOR gates are used as parity generators/checkers. Cascading XOR gates produces the XOR of all inputs, which gives the parity (even/odd) of the number of 1s in the input.

Q50.
An AND gate in negative logic behaves like which gate in positive logic?
AOR gate
BAND gate
CNAND gate
DNOR gate
Show Answer & Explanation

Correct Answer: A - OR gate

An AND gate in negative logic performs the OR function in positive logic, and vice versa. This is because negative logic swaps the roles of 0 and 1, which is equivalent to applying De Morgan's theorem.

Showing 1-10 of 50 questions