Answer: (B) Only (Q) and (R)
Key idea: A compound gives the iodoform test (yellow CHI3 with iodine and aqueous NaOH) if it contains a CH3CO− group, or a CH3CH(OH)− group that iodine can oxidise to CH3CO−. The methyl group must be bonded directly to the carbonyl carbon (or to the carbon that carries the –OH group).
Step 1 — Test (P) methanol.
Methanol, CH3OH, has only one carbon. On oxidation it gives formaldehyde, HCHO, which has no CH3CO− group, so methanol gives no iodoform.
Step 2 — Test (Q) acetaldehyde.
Acetaldehyde, CH3CHO, contains the CH3CO− group (with H on the carbonyl carbon), so it gives iodoform.
CH3CHO+3I2+4NaOH→CHI3+HCOONa+3NaI+3H2O
Step 3 — Test (R) acetone.
Acetone, CH3COCH3, contains the CH3CO− group, so it gives iodoform.
CH3COCH3+3I2+4NaOH→CHI3+CH3COONa+3NaI+3H2O
Step 4 — Test (S) pentan-3-one.
In CH3CH2−CO−CH2CH3, both groups on the carbonyl carbon are ethyl groups. No methyl group is joined directly to the C=O group, so pentan-3-one gives no iodoform.
Why the others are wrong:
- (A) Compound P (methanol) gives no iodoform, because its oxidation product is formaldehyde, which has no methyl group on a carbonyl carbon.
- (C) Neither P nor S gives iodoform: P has no CH3CO− group after oxidation, and S carries ethyl groups on both sides of its C=O group.
- (D) Compound S has no CH3CO− group, so this pair includes a compound that gives no yellow precipitate, and it leaves out R, which does give one.
Therefore, only (Q) acetaldehyde and (R) acetone give the iodoform test, option (B).