The correct option is D Both a and b
Apposition or mosaic vision forms in bright light.
The compound eyes are situated at the dorsal surface of the head. Each eye consists of about 2000 hexagonal ommatidia. With the help of several ommatidia, a cockroach can receive several images of an object. This kind of vision is known as apposition or mosaic vision with more sensitivity but less resolution.
Superposition vision: In dim light in nocturnal insects. In the night, the pigment sheath of ommatidia contracts and shrinks to their bases, hence the light rays can easily cross over from one ommatidium to adjacent ommatidia.