Digital Electronics

Logic Gates — Practice MCQs for CCAT

25 Questions Section C: Hardware Digital Electronics

Practice 25 Logic Gates multiple-choice questions designed for CDAC CCAT exam preparation. Click "Show Answer" to reveal the correct option with detailed explanation.

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
BInverter
CAmplifier
DRepeater
Show Answer & Explanation

Correct Answer: B — Inverter

NOT gate inverts the input - also called inverter.

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

Correct Answer: B — 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:
AAND followed by NOT
BOR followed by NOT
CNOT followed by AND
DXOR followed by NOT
Show Answer & Explanation

Correct Answer: A — 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
BOutput equals input
CANDs inputs
DORs inputs
Show Answer & Explanation

Correct Answer: B — Output equals input

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

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

Correct Answer: A — 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?
A1
B0
CSame as inputs
DUndefined
Show Answer & Explanation

Correct Answer: B — 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
B1
CSame as inputs
DUndefined
Show Answer & Explanation

Correct Answer: B — 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
B0
CSame as inputs
DComplement of inputs
Show Answer & Explanation

Correct Answer: B — 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
B1
CUndefined
DComplement of inputs
Show Answer & Explanation

Correct Answer: B — 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
B2
C3
D4
Show Answer & Explanation

Correct Answer: B — 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
BA + B
CA'·B + A·B'
DA' + B'
Show Answer & Explanation

Correct Answer: C — 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?
AAND gate
BOR gate
CXOR gate
DNAND gate
Show Answer & Explanation

Correct Answer: C — 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 inputs the gate can accept
BNumber of outputs
CNumber of gates it can drive
DPower input
Show Answer & Explanation

Correct Answer: A — 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?
AThree input logic
BLogic with 0, 1, and high-impedance states
CThree output logic
DTriple redundant logic
Show Answer & Explanation

Correct Answer: B — 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.