Calculate Distance of Light Source with Voltage Changes of Analog Input with LDR

Yes.

Depends on the ratio of the distance of the pinhole to the object and the screen.

Allan