Molarity (M) is defined as:
\[
M = \frac{\text{moles of solute}}{\text{volume of solution in L}}
\]
Given:
Moles of NaCl = 0.5 mol
Volume of solution = 250 mL = 0.25 L
\[
M = \frac{0.5}{0.25} = 2 \, \text{mol/L} = 2 \, \text{M}
\]
Option (b) is correct.