Question

Q6) Is a potentiometer an analog or a digital sensor? Give another example for the analog sensors and one example for digital sensor?