Iodoform reaction occurs with compounds that have a methyl group adjacent to a carbonyl group. The compounds in (i), (ii), and (iv) will give iodoform on reaction with iodine and NaOH.
Step 2: Conclusion.
The compounds that will give iodoform are (i), (ii), and (iv), corresponding to option (a).