The voltage across the resistor increases because extra electron gained by the LDR when the light is shone on it.
Increase in the voltage can occur due to some of the following reasons.
From Ohm's law voltage is directly proportional to current flowing in a circuit.
V ∝ I
The voltage across the resistor increases because extra electron gained by the LDR when the light is shone on it.
Learn more about voltage here: https://brainly.com/question/1176850
#SPJ1