A compound that gives positive iodoform test is:
1-Pentanol
Pentanal
3-Pentanone
2-Pentanone
Iodoform test is given by aldehydes and ketones having at least one methyl group at carbonyl carbon.
Pentanone and pentanol are isomers.