Home / Courses / IIT JAM Physics / Practice / ADCs and DACs

ADCs and DACs

Electronics · 17 questions and templates for IIT JAM Physics, in order from warm-up to top rank. Check each answer, then read the full solution.

Loading questions… (they need JavaScript; nothing you type is sent anywhere)

Written questions with solutions

The same questions as a list, so you can print them or read without the practice box. Templates (fresh numbers) appear only in the practice box above.

  1. MCQWarm-up

    An 8-bit flash (parallel) ADC needs how many comparators?
    1. 8
    2. 256
    3. 255
    4. 128
    Answer and solution

    Answer: C

    A flash converter compares the input with every threshold between adjacent codes at once. 28=256 codes have 255 thresholds, so it needs 2n−1=255 comparators (and a 256-resistor ladder). That is why flash ADCs are fast but rarely exceed 8 bits.

    Why people get this wrong: 256 counts codes, not the thresholds between them.

  2. MCQWarm-up

    An n-bit successive-approximation ADC completes one conversion in about
    1. n clock cycles
    2. 2n clock cycles
    3. 2n−1 clock cycles
    4. one clock cycle
    Answer and solution

    Answer: A

    It performs a binary search: one comparison per bit, from the most significant down. So n clock cycles (plus a little overhead), independent of the input voltage.

    Why people get this wrong: 2n−1 cycles is the worst case of a counter-ramp ADC.

  3. NATWarm-up

    An 8-bit DAC produces outputs from 0 to 2.55 V in equal steps. The size of one step is ______ mV.
    Answer and solution

    Answer: 10 mV

    There are 28=256 codes and therefore 255 steps between the lowest and highest output: 2.55 V/255=10 mV per LSB.

    Why people get this wrong: Dividing by 256 instead of 255 when the stated range is from the first to the last output.

  4. MCQWarm-up

    An audio signal contains frequencies up to 20 kHz. To sample it without aliasing, the sampling rate must be
    1. 20 kHz
    2. 10 kHz
    3. 30 kHz
    4. more than 40 kHz
    Answer and solution

    Answer: D

    The sampling theorem requires fs>2fmax=40 kHz. CDs use 44.1 kHz, leaving room for a practical anti-aliasing filter.

    Why people get this wrong: Sampling at the highest signal frequency itself loses everything at that frequency.

  5. MCQWarm-up

    An ideal ADC that rounds to the nearest code has a maximum quantisation error of
    1. 1 LSB
    2. ±12 LSB
    3. zero
    4. ±2 LSB
    Answer and solution

    Answer: B

    Every input inside one code's band is reported as the centre of that band, so the error never exceeds half a step either way. A truncating converter has an error from 0 to −1 LSB instead.

    Why people get this wrong: Zero error would need infinitely many bits.

  6. MSQWarm-up

    Which statements about ADC architectures are correct?
    1. The flash ADC is the fastest type
    2. The dual-slope ADC is slow but rejects mains hum and is used in digital multimeters
    3. The successive-approximation ADC is the common choice for medium speed and resolution
    4. The conversion time of a counter-ramp ADC does not depend on the input voltage
    Answer and solution

    Answer: A, B, C

    Flash converts in one step; SAR in n steps; a counter-ramp ADC counts up until its DAC output passes the input, so a larger input takes longer (up to 2n−1 clocks). Dual-slope integrates the input over a fixed time, averaging out any periodic interference whose period divides that time.

    Why people get this wrong: Only the counter-ramp (and tracking) types have input-dependent conversion times.

  7. MCQWarm-up

    The percentage resolution of an 8-bit DAC (one step as a fraction of the full-scale output) is about
    1. 12.5%
    2. 3.9%
    3. 0.39%
    4. 0.80%
    Answer and solution

    Answer: C

    An 8-bit DAC has 28−1=255 steps from zero to full scale, so one step is 1/255=0.39% of full scale.

    Why people get this wrong: 1/8=12.5% divides by the number of bits instead of the number of steps.

  8. NATStandard

    A 4-bit binary-weighted resistor DAC uses 10 kΩ for the most significant bit. The resistor for the least significant bit is ______ kΩ.
    Answer and solution

    Answer: 80 kΩ

    Each lower bit must contribute half the current of the one above, so its resistor doubles: 10, 20, 40, 80 kΩ. For n bits the spread is 2n−1, which becomes impractical for many bits.

    Why people get this wrong: Answering 160 kΩ (one doubling too many) or 40.

  9. NATStandard

    An 8-bit R-2R ladder DAC with reference 10 V and output amplifier gain such that |Vo|=VrefD/256 receives the code 1100 1000. The magnitude of its output is ______ V (to two decimal places).
    Answer and solution

    Answer: 7.81 V (±0.01)

    1100 1000 = 128 + 64 + 8 = 200. |Vo|=10×200/256=7.8125 V. Each bit contributes Vref/2,Vref/4,… in turn.

    Why people get this wrong: Reading the code backwards (LSB first) gives 19.

  10. MCQStandard

    A 7 kHz sine wave is sampled at 10 kHz with no anti-aliasing filter. The reconstructed signal appears at
    1. 7 kHz
    2. 3 kHz
    3. 17 kHz
    4. 10 kHz
    Answer and solution

    Answer: B

    The Nyquist frequency is 5 kHz. A 7 kHz tone folds back to |7−10|=3 kHz: its samples are identical to those of a 3 kHz tone.

    Why people get this wrong: 17 kHz is also consistent with the samples, but reconstruction keeps only the band below fs/2.

  11. MSQStandard

    Which statements about an R-2R ladder DAC are correct?
    1. It needs only two resistor values
    2. The resistance looking into the ladder from any node towards the LSB end is R (with the proper termination)
    3. Its output is proportional to the binary input code
    4. It needs a resistor ratio of 2n−1 between its largest and smallest resistors
    Answer and solution

    Answer: A, B, C

    Every node sees 2R∥2R=R further down, so the current halves at each node, giving binary weights with only R and 2R: easy to match on a chip. A spread of 2n−1 is the drawback of the weighted-resistor DAC.

    Why people get this wrong: Mixing the two DAC types.

  12. NATStandard

    A single-slope ADC starts a counter clocked at 1.0 MHz when an analogue ramp of 1.0 V/ms starts from 0 V, and stops it when the ramp reaches the input. For an input of 2.5 V the final count is ______.
    Answer and solution

    Answer: 2500

    The ramp reaches 2.5 V after 2.5/1.0=2.5 ms. At 106 counts per second the counter reaches 2.5×10−3×106=2500. The result depends directly on the ramp slope and clock, which is why the dual-slope design (which cancels them) is preferred for accuracy.

    Why people get this wrong: Using the clock period in ms and the time in s (or the reverse) gives an answer off by 103.

  13. NATExam level

    A 4-bit binary-weighted DAC has input resistors 10, 20, 40 and 80 kΩ (MSB to LSB) switched to +5 V for a 1 and to ground for a 0, all feeding the virtual-ground input of an inverting amplifier with Rf=5 kΩ. For the input 1011, the output is ______ V (to four decimal places).
    Answer and solution

    Answer: -3.4375 V (±0.002)

    Bits 3, 1 and 0 are 1: currents 5/10+5/40+5/80=0.5+0.125+0.0625=0.6875 mA. Vo=−IRf=−0.6875×5=−3.4375 V =−(11/16)×5 V.

    Why people get this wrong: Forgetting the sign of the inverting amplifier, or giving bit 1 the 20 kΩ resistor.

  14. NATHard

    An ADC must resolve steps smaller than 1 mV over a 0 to 10 V range. The minimum number of bits is ______.
    Answer and solution

    Answer: 14

    Need 10 V/2n<1 mV, so 2n>10000. 213=8192 is too small; 214=16384 gives 0.61 mV. So 14 bits.

    Why people get this wrong: Rounding log2⁡10000=13.3 down to 13.

← All topics · Timed mock test →