ADC and DAC: GATE ECE practice questions with solutions

This topic covers DAC step size and ladders, flash, SAR and dual-slope ADCs, quantization error, ENOB, droop and DNL and INL. The 15 original questions follow the GATE EC format: 9 MCQ, 2 MSQ and 4 NAT, from 5 easy, 7 medium and 3 hard.

Three ideas to know:

  • An n-bit flash converter uses 2ⁿ − 1 comparators.
  • Convert the code to decimal, then scale by Vref ÷ 2ⁿ.
  • ENOB is the bit count of an ideal converter with the same SINAD.

It helps GATE EC and ECE students revising Digital Circuits for the exam or a semester test. Helpful background: Successive-approximation ADC and R-2R ladder DAC. Start with the 5 easy questions, then work up to the 3 hard ones.

Q.1

EasyMCQ1 mark

An 8-bit DAC has a reference of 5.12 V and output Vout = Vref × D ÷ 256, where D is the input code (0 to 255). Its step size (1 LSB) is

  1. Option A: 20 mV
  2. Option B: 19.6 mV
  3. Option C: 40 mV
  4. Option D: 640 mV
Show answer and solutionHide answer and solution

Answer: (A)

Key idea: The step size is the reference divided by the number of codes the formula divides by.

1. One LSB is the change in Vout when D changes by 1. 2. 5.12 V ÷ 256 = 0.02 V = 20 mV.

Common mistake: Dividing by 2⁷ = 128 instead of 2⁸ gives 40 mV, option (C).

You need: DAC resolution

Q.2

EasyMCQ1 mark

A 6-bit flash ADC needs how many comparators?

  1. Option A: 64
  2. Option B: 6
  3. Option C: 32
  4. Option D: 63
Show answer and solutionHide answer and solution

Answer: (D)

Key idea: An n-bit flash converter uses 2ⁿ − 1 comparators.

1. A flash ADC needs one comparator per transition between adjacent codes. 2. 2⁶ codes have 2⁶ − 1 = 63 transitions.

Common mistake: Using one comparator per code gives 64, option (A).

You need: Flash ADC

Q.3

EasyNAT1 mark

A signal is sampled at 48 kHz. The highest frequency it can contain without aliasing is ______ kHz.

Numerical answer: type a number.

Show answer and solutionHide answer and solution

Answer: 24

Key idea: The Nyquist frequency is half the sampling rate.

1. The sampling rate must exceed twice the highest signal frequency.

2. The limit is 48 ÷ 2 = 24 kHz.

Common mistake: Taking the sampling rate itself, 48 kHz, as the limit.

You need: Sampling theorem

Q.4

EasyMCQ1 mark

A successive-approximation ADC with n bits completes one conversion in how many comparison steps?

  1. Option A: 2ⁿ
  2. Option B: n
  3. Option C: 2ⁿ − 1
  4. Option D: 1
Show answer and solutionHide answer and solution

Answer: (B)

Key idea: Successive approximation is a binary search: one comparison per bit.

1. A successive-approximation register decides one bit per step, from the MSB down. 2. n bits need n steps.

Common mistake: Confusing it with a counter-ramp ADC, which may need up to 2ⁿ − 1 clock steps, option (C).

You need: Successive-approximation ADC

Q.5

EasyMCQ1 mark

In a 4-bit binary-weighted-resistor DAC, the MSB input resistor is R. The LSB input resistor is

  1. Option A: R/8
  2. Option B: 2R
  3. Option C: 8R
  4. Option D: 16R
Show answer and solutionHide answer and solution

Answer: (C)

Key idea: In a weighted-resistor DAC the LSB resistor is 2^(n−1) times the MSB resistor.

1. Each lower bit has half the weight, so its resistor doubles.

2. The resistors are R, 2R, 4R and 8R.

3. The LSB uses 8R.

Common mistake: Using 2ⁿ instead of 2^(n−1) gives 16R, option (D).

You need: Weighted-resistor DAC

Q.6

MediumNAT2 marks

A 4-bit R-2R ladder DAC has Vref = 8 V and output Vout = Vref × D ÷ 16. For the input code D = 1011, Vout is ______ V.

Numerical answer: type a number.

Show answer and solutionHide answer and solution

Answer: 5.5

Key idea: Convert the code to decimal, then scale by Vref ÷ 2ⁿ.

1. 1011₂ = 11.

2. Vout = 8 × 11 ÷ 16 = 5.5 V.

Common mistake: Dividing by 15 (2ⁿ − 1) instead of 16 gives 5.87 V.

You need: R-2R ladder DAC

Q.7

MediumMCQ2 marks

A 4-bit successive-approximation ADC has 1 LSB = 1 V: it keeps a trial bit when the trial code's voltage (code × 1 V) is less than or equal to the input. For an input of 10.3 V, the trial codes in order and the final result are

  1. Option A: 1000, 1100, 1010, 1011; result 1010
  2. Option B: 1000, 1100, 1110, 1111; result 1111
  3. Option C: 1000, 0100, 0110, 0111; result 0111
  4. Option D: 0001, 0011, 0111, 1111; result 1111
Show answer and solutionHide answer and solution

Answer: (A)

Key idea: Each step sets the next bit, compares, and clears the bit if the trial overshoots.

1. Try 1000 (8 V ≤ 10.3): keep.

2. Try 1100 (12 V > 10.3): clear.

3. Try 1010 (10 V ≤ 10.3): keep.

4. Try 1011 (11 V > 10.3): clear.

5. Result 1010.

Common mistake: Never clearing a bit after the comparator says the trial is too high gives 1000, 1100, 1110, 1111 and the result 1111, option (B).

You need: Successive-approximation ADC

Q.8

MediumMCQ2 marks

A dual-slope ADC integrates the input for a fixed 1000 clock counts, then integrates a reference of opposite polarity, Vref = 2 V, until the integrator returns to zero. For Vin = 1.25 V, the second count is

  1. Option A: 1600
  2. Option B: 625
  3. Option C: 1250
  4. Option D: 375
Show answer and solutionHide answer and solution

Answer: (B)

Key idea: In a dual-slope ADC the result is a ratio of counts and does not depend on R or C.

1. The charge balance gives Vin × N1 = Vref × N2.

2. N2 = 1000 × 1.25 ÷ 2 = 625.

Common mistake: Inverting the ratio, 1000 × 2 ÷ 1.25, gives 1600, option (A).

You need: Dual-slope ADC

Q.9

MediumNAT1 mark

An ideal 10-bit ADC has 1 LSB = Vref ÷ 2¹⁰ with Vref = 5.12 V, and each code is read as the center of its band. The maximum quantization error is ______ mV.

Numerical answer: type a number.

Show answer and solutionHide answer and solution

Answer: 2.5

Key idea: Ideal quantization error is ±½ LSB.

1. 1 LSB = 5.12 ÷ 1024 = 5 mV.

2. Taking the band center, the error is at most ½ LSB = 2.5 mV.

Common mistake: Taking the whole LSB, 5 mV, as the error.

You need: Quantization error

Q.10

MediumMCQ2 marks

A sample-and-hold uses a 1 nF hold capacitor with a leakage current of 10 nA. It feeds a 12-bit ADC with a 4.096 V range (1 LSB = 1 mV). The longest hold time for which the droop stays within ½ LSB is

  1. Option A: 100 µs
  2. Option B: 5 µs
  3. Option C: 50 µs
  4. Option D: 500 µs
Show answer and solutionHide answer and solution

Answer: (C)

Key idea: Leakage discharges the hold capacitor at a constant rate I ÷ C.

1. ½ LSB = 0.5 mV.

2. Droop ΔV = I·t ÷ C, so t = C·ΔV ÷ I. 3. t = 1 nF × 0.5 mV ÷ 10 nA = 50 µs.

Common mistake: Allowing a full LSB of droop instead of ½ LSB gives 100 µs, option (A).

You need: Sample and hold, droop

Q.11

MediumMSQ2 marks

Which of the following statements about ADC architectures are true?

One or more options are correct.

  1. Option A: The conversion time of a successive-approximation ADC grows exponentially with the number of bits
  2. Option B: A flash ADC is the fastest of the common architectures
  3. Option C: A dual-slope ADC strongly rejects mains interference when its fixed integration time is a whole number of mains periods
  4. Option D: An n-bit flash ADC needs 2ⁿ comparators
Show answer and solutionHide answer and solution

Answer: (B) and (C)

Key idea: Flash is fast and large, successive approximation is linear in n, and dual-slope is slow but rejects periodic noise.

1. A successive-approximation ADC needs n steps, which grows linearly, so (A) is false.

2. A flash ADC converts in one comparator delay, so (B) is true.

3. Integrating over whole mains periods averages the interference to zero, so (C) is true.

4. A flash ADC needs 2ⁿ − 1 comparators, so (D) is false.

Common mistake: Counting one comparator per code and choosing (D).

You need: ADC architectures

Q.12

MediumMCQ1 mark

A 7 kHz sine wave is sampled at 10 kHz without an anti-aliasing filter. The frequency that appears in the sampled data (between 0 and 5 kHz) is

  1. Option A: 7 kHz
  2. Option B: 17 kHz
  3. Option C: 10 kHz
  4. Option D: 3 kHz
Show answer and solutionHide answer and solution

Answer: (D)

Key idea: A tone above half the sampling rate folds back to |f − fs|.

1. 7 kHz is above the Nyquist frequency of 5 kHz.

2. It folds to |7 − 10| = 3 kHz.

Common mistake: Assuming the tone is captured as it is and answering 7 kHz, option (A).

You need: Aliasing

Q.13

HardNAT2 marks

An ADC datasheet gives a SINAD of 62 dB for a full-scale sine input. Using the ideal relation SNR = 6.02N + 1.76 dB, the effective number of bits is ______.

Numerical answer: type a number.

Show answer and solutionHide answer and solution

Answer: 10 (accepted 9.95 to 10.05)

Key idea: ENOB is the bit count of an ideal converter with the same SINAD.

1. ENOB = (SINAD − 1.76) ÷ 6.02.

2. ENOB = (62 − 1.76) ÷ 6.02 = 60.24 ÷ 6.02 = 10.0.

Common mistake: Leaving out the 1.76 dB term gives 62 ÷ 6.02 = 10.3.

You need: ENOB, SNR of an ideal ADC

Q.14

HardMCQ2 marks

For the DAC described in the figure, the input code is b3 b2 b1 b0 = 1101. The output voltage Vo is

Current-mode R-2R DAC with an op-ampA 4-bit current-mode R-2R ladder driven by Vref = −5 V. The ladder has series resistors R and shunt legs 2R; the four 2R legs carry bit currents of (Vref ÷ R) × 1/2, 1/4, 1/8 and 1/16 for b3 to b0. Each leg is switched to the inverting input of an ideal op-amp when its bit is 1 and to ground when it is 0. The non-inverting input is grounded and the feedback resistor is Rf = R.R-2R ladderVref = −5 Vbits b3 b2 b1 b0I−+Rf = RVogroundI = (Vref/R)(b3/2 + b2/4 + b1/8 + b0/16)
  1. Option A: 4.0625 V
  2. Option B: −4.0625 V
  3. Option C: 4.333 V
  4. Option D: 8.125 V
Show answer and solutionHide answer and solution

Answer: (A)

Key idea: A current-steering R-2R DAC with Rf = R gives Vo = −Vref × D ÷ 2ⁿ.

1. The current into the summing node is I = (Vref ÷ R) × D ÷ 16 with D = 1101₂ = 13.

2. Vo = −Rf × I = −R × (Vref ÷ R) × 13 ÷ 16 = −Vref × 13 ÷ 16.

3. With Vref = −5 V, Vo = 5 × 13 ÷ 16 = 4.0625 V.

Common mistake: Using 2ⁿ − 1 = 15 as the divisor gives 5 × 13 ÷ 15 = 4.333 V, option (C).

You need: R-2R ladder DAC, inverting amplifier

Q.15

HardMSQ2 marks

An ideal 3-bit DAC should give 0 V to 7 V in steps of exactly 1 V. A test gives these outputs for codes 0 to 7: 0, 0.95, 2.05, 2.90, 4.10, 5.00, 5.80, 7.10 V. Measure DNL as (step − 1 V) and INL as (output − k × 1 V) for code k, both in LSB. Which of the following statements are true?

One or more options are correct.

  1. Option A: The DNL of the step from code 2 to code 3 is −0.15 LSB
  2. Option B: The largest INL magnitude is 0.2 LSB
  3. Option C: The DAC is non-monotonic
  4. Option D: The largest DNL magnitude is 0.3 LSB
Show answer and solutionHide answer and solution

Answer: (A), (B) and (D)

Key idea: DNL measures each step against 1 LSB; INL measures each output against the ideal line. A DAC is monotonic if no step is negative.

1. Steps: 0.95, 1.10, 0.85, 1.20, 0.90, 0.80, 1.30 V.

2. Step 2 to 3 is 0.85 V, DNL −0.15 LSB: (A) true.

3. INL: 0, −0.05, 0.05, −0.10, 0.10, 0, −0.20, 0.10, largest magnitude 0.2: (B) true.

4. Every step is positive, so the DAC is monotonic: (C) false.

5. The largest |DNL| is the last step, 1.30 − 1 = 0.3: (D) true.

Common mistake: Treating the small step of 0.80 V (code 5 to 6) as a decrease and choosing (C); it still rises.

You need: DAC linearity, DNL, INL

Past GATE questions on this topic