The refractive index \( n \) of a glass slab can be calculated using the formula:
\[
n = \frac{\text{Thickness of the slab in air}}{\text{Thickness of the slab in the medium}}
\]
From the data, the thickness of the glass slab in air is \( 8.123 \, \text{cm} \), and the thickness of the slab in the medium is \( 6.123 \, \text{cm} \). So, the refractive index \( n \) is:
\[
n = \frac{8.123}{6.123} = 1.500
\]
Thus, the refractive index of the glass slab is \( 1.500 \), corresponding to option (3).