a. Refractive index depends on the velocity (speed) of light.
Explanation: Light travels with different speeds in different media. The refractive index of a medium is \( n = \dfrac{c}{v} = \dfrac{\text{speed of light in vacuum}}{\text{speed of light in the medium}} \). The slower light travels in a medium, the higher its refractive index. For example, light is slower in glass than in water, so glass (n ≈ 1.5) has a higher refractive index than water (n ≈ 1.33).
b. The change in direction of light rays while going from one medium to another is called refraction.
Explanation: When light passes obliquely from one transparent medium to another, its speed changes, so it bends. Going from a rarer to a denser medium (air to glass) it bends towards the normal; going from denser to rarer it bends away from the normal. This bending is refraction. For example, a pencil dipped in water looks bent.