Solution:
Key idea: Compounds that contain the group CH3CH(OH)− or CH3CO− give the iodoform test: with iodine and sodium hydroxide they form iodoform, CHI3, a yellow solid with a typical smell.
Step 1 — Check the structure of propan-2-ol.
Propan-2-ol is CH3CH(OH)CH3. It contains the CH3CH(OH)− group, so it gives the test.
Step 2 — Write the reaction.
Iodine first oxidises propan-2-ol to acetone, which is then iodinated and split by the alkali.
(CH3)2CHOH+4I2+6NaOH→CHI3+CH3COONa+5NaI+5H2O
Step 3 — Fill the blanks.
Iodoform separates as a yellow precipitate, and the test is named after this product: the iodoform test.
Therefore, propan-2-ol on reaction with iodine and sodium hydroxide gives yellow precipitate and the reaction is called iodoform test.