Step 1: Understanding the Concept
Mesityl oxide is an unsaturated ketone with structure \(\text{CH}_3-\text{CO}-\text{CH}=\text{C}(\text{CH}_3)_2\).
Step 2: Main chain
The longest chain containing the C=O has 5 carbons (pentane). The ketone gets the lowest number, so number from the \(\text{CH}_3-\text{CO}\) end.
Step 3: Locants
C1: \(\text{CH}_3\), C2: C=O, C3: \(\text{CH}=\), C4: \(=\text{C}\) carrying a methyl, C5: \(\text{CH}_3\).
Step 4: Name
4-methylpent-3-en-2-one, option (D).
Final Answer:
The IUPAC name is 4-methylpent-3-en-2-one.
\[ \boxed{\text{(D) }\text{4-methylpent-3-en-2-one}} \]