Different materials refract light by different amounts. Refraction occurs because light travels at different speeds in different media.
The refractive index n = c / v where c = speed of light in a vacuum and v is the speed of light in that particular material. 

If light travels from water to glass it is refracted towards the normal.
To calculate the angle of refraction:
Refractive Index
Read the text
Read the text and highlight anything you think is important. When you go on, the text is hidden and you answer from memory.
Specification: OCR Physics A (H156), AS-level, 4.4.2 Electromagnetic waves. Topic: Waves.