A positive iodoform test is given by compounds having CH3‌CO group in their structure. When iodine and sodium hydroxide are added to a compound that contains CH3‌CO group in α-position, a pale yellow precipitate of iodoform is formed. So, compounds (i), (ii) and (v) have CH3‌CO group. Hence, they will give positive iodoform test.