When a ray of light is incident normally on the surface separating the two media the deviation of the ray is?

The reason that the light is not refracting is that it will take the path that will take the shortest time from through the medium. This is essentially what snell's law gives us. Since, we are looking at light at normal incidence there is no path that will take shorter time than to continue straight forward in the same medium.

You can think of it as a life guard who is trying to save a person drowning in a river. If the river is flowing and the life guard will run towards the person at an angle(on land) and he takes the current into account as he is faster on land than in the water. Thus, having different angles on land and in the water. If the water is still and the person needing help is straight out from the shore the life guard will run in a straight line to the shore and then swim straight out to rescue the person in the water.

Snell's law can be derived from Fermat's Principle which is the statement that the light will take the path that uses the least time. See the wikipedia article Snell's law for the derivation of the formula.

as mentioned by Aaron since the $\theta_1$ is zero, thus $\sin(\theta_1)=0$, $\theta_2$ needs to be zero for Snell's law to be satisfied. Below is snell's law: $$n_1\sin(\theta _1)=n_2\sin(\theta _2)$$

It is also possible to derive this directly form Maxwell's equations but that would be a boring and time consuming task.

Also note that if we are going from a medium with higher refractive index to a medium with lower refractive index we can get a situation where we will need $sin(\theta_2)$ to be greater than 1, this will result in a total internal reflection where no light will pass trough the interface.

A ray of light is incident normally on a plane glass slab. What will be the angle of refraction and the angle of deviation for the ray?

The ray of light which is incident normally on the surface separating the two media passes undeviated. Such ray suffers no bending, thus, angle of refraction and angle of deviation is 0o.

Concept: Refraction of Light Through a Rectangular Glass Slab

  Is there an error in this question or solution?