The compounds which give positive iodoform test are the ones with Alpha methyl groups. To be more precise, Ethanal(Acetaldehyde) and methyl ketones. Ethanal is the only aldehyde which gives positive iodoform test. Thus, ketone and aldehyde with structure -COCH3 also show positive results.