Answer:
option D
Explanation:
Assume number of bulb in the hostel be 100
number of bulb on at 8 p.m.
= 80 % of total bulb
= 0.8 x 100 = 80 bulb
Let L be the number of light on and 100 - L be the light that are off
now,
Light on = 40 % of (100 - L) + 90 % of L
80 = 40 - 0.4 L + 0.9 L
40 = 0.5 L
L = 80 bulb
number of bulbs which were off = 100-80 = 20 bulb
number of bulbs that are on are supposed to be off = 40 % of 20
= 0.4 x 20 = 8 bulbs
percentage =

= 10 %
Hence, the correct answer is option D