Solution:
Key idea: Bleaching powder supplies chlorine and calcium hydroxide. With ethanol or acetone this brings about the haloform reaction with chlorine, which gives chloroform.
Step 1 — Follow the reaction with ethanol.
Chlorine from bleaching powder oxidises ethanol to ethanal. The CH3 group of ethanal is then chlorinated to give chloral, CCl3CHO.
Step 2 — Find the final product.
Calcium hydroxide (from the bleaching powder) splits chloral into chloroform, CHCl3, and calcium formate. Acetone gives chloroform in the same way, through trichloroacetone.
Therefore, bleaching powder, on treatment with ethanol or acetone, gives chloroform.