Basically a potentiometer is a device for________________?
A. comparing two voltages
B. measuring a current
C. comparing two currents
D. measuring a voltage
E. none of the above