Analog and Digital Converters - Technical MCQs

Q1:

A 4-bit R/2R digital-to-analog (DAC) converter has a reference of 5 volts. What is the analog output for the input code 0101.

A 0.3125 V

B 3.125 V

C 0.78125 V

D –3.125 V

ANS:B - 3.125 V

Data (msb)0101(lsb).
Now v0 = (5/2)(1(lsb)/2^0 + 0 + 1/2^2 + 0)
=5/2 * 5/4
= 25/8 = 3.125.