Step 1: Understanding the Concept
Sodium hypoiodite (\(\text{NaOI}\)) gives a yellow precipitate of iodoform with \(\text{CH}_3\text{CO}-\) or \(\text{CH}_3\text{CH(OH)}-\) groups.
Step 2: Check each
Acetophenone \(\text{C}_6\text{H}_5\text{COCH}_3\), pentan-2-one \(\text{CH}_3\text{COC}_3\text{H}_7\) and ethanal \(\text{CH}_3\text{CHO}\) each have a \(\text{CH}_3\text{CO}-\) unit.
Step 3: Pentan-3-one
\(\text{CH}_3\text{CH}_2\text{COCH}_2\text{CH}_3\) has no methyl ketone group.
Step 4: Compare the options
So pentan-3-one gives no yellow solid.
Final Answer:
Pentan-3-one has no methyl ketone group and gives no iodoform.
\[ \boxed{\text{(B) }\text{Pentan-3-one}} \]