Haloform test is performed by the compound which has −O||C−CH3 or −OH|C−CH3 groups. However (ii), (viii) and (ix) does not give this test since it gets coverted to carboxylate and inhibits the haloform reaction.
So only four compounds listed here give positive haloform reaction, which are (i), (iii), (v) and (vi).