The correct option is 2 only
Explanation
The path of a light ray passing through a transparent medium is determined by the laws of refraction and the geometry of the medium's surfaces.
Statement 1 is Incorrect.
When a light ray passes through a rectangular glass slab, it undergoes refraction at two parallel surfaces (air-to-glass and glass-to-air). According to the laws of refraction, the emergent ray is parallel to the incident ray, although it is laterally displaced (shifted sideways). It is not perpendicular to the incident ray.
Statement 2 is Correct.
In a glass prism, the refracting surfaces are not parallel but are inclined at an angle (the angle of the prism). When a light ray passes through the prism, it bends at both interfaces. Due to the inclination of the surfaces, the emergent ray is not parallel to the incident ray but is deviated from its original path. The angle between the incident ray and the emergent ray is known as the angle of deviation.
Key Takeaway:
Refraction through a parallel-sided slab results in lateral displacement with no angular deviation (emergent ray is parallel to incident ray), whereas refraction through a prism results in angular deviation.