Solution:
Concept: Refraction: light bends when it passes obliquely from one medium into another because its speed changes. Going into an optically denser medium it bends towards the normal; going into a rarer medium it bends away from the normal. Snell's law: sinrsini is a constant (the refractive index) for a given pair of media and a given colour of light. All angles are measured from the normal, not from the surface.
Step 1 — Part (i): Snell's law.
For a given pair of media and light of a given colour, the ratio of the sine of the angle of incidence to the sine of the angle of refraction is a constant:
sinrsini=1μ2
The constant 1μ2 is the refractive index of the second medium with respect to the first.
Step 2 — Part (ii): why the ray bends.
The speed of light is different in the two media: it is greater in the rarer medium and smaller in the denser medium. When a beam enters the new medium obliquely, one edge of it reaches the surface first and changes speed before the other edge, so the beam turns. It turns towards the normal on entering a denser medium and away from the normal on entering a rarer one.
Step 3 — Part (iii): when it does not bend.
If the ray falls normally on the surface (angle of incidence 0°), the whole beam reaches the surface at the same moment, so it goes straight on with angle of refraction 0°. Its speed still changes, but its direction does not.

Watch out: The ray still changes speed at normal incidence; only its direction stays the same.
Therefore, (i) sin i / sin r is a constant, the refractive index (Snell's law); (ii) the speed of light is different in the two media; (iii) when the ray is incident normally on the surface (i = 0°).