Step 1: Formula-first Approach
Mass $=M\times V(\text{L})\times\text{molar mass}$.
Step 2: Calculation
$M=0.01$, $V=0.5$ L, molar mass $=40$. Mass $=0.01\times0.5\times40=0.2$ g.
Step 3: Why the other options fail
1 g and 2 g correspond to 25 and 50 times more NaOH. 0.4 g would be for 1 L, not 500 mL.
Final Answer:
The mass of NaOH is 0.2 g.
\[ \boxed{\text{(C) }\text{0.2 g}} \]