1. What is the difference between an A/D input and D/A output?

2. An analog voltage that has a range of -10V to 10V and is to be read to a precision of +/-0.05V. How is the minimum number of bits required for the A/D converter?

3. If given a 12 bit analog input with a range of -10V to 10V. If we put in 2.735V, what will the integer value be after the A/D conversion? What is the error? What voltage can we calculate?

4. Write a (complete) program for the ATmega32 that will read a potentiometer connected to PA0. The potentiometer is connected across a 2V voltage source. When the potentiometer is above the middle of the range (>1V) pin PB0 will be turned on.