This answer explains why acetic acid does not give a positive iodoform test.
Does acetamide respond positively to the test?
Chemistry Stack Exchange is a question and answer site for scientists, academics, teachers, and students in the field of chemistry. It only takes a minute to sign up.
Sign up to join this communityThis answer explains why acetic acid does not give a positive iodoform test.
Does acetamide respond positively to the test?
From wikipedia article of haloform reaction:
Acetyl chloride and acetamide don't give this (iodoform or in general haloform) test.
Why?
Acetamide is not a ketone which is substantially more acidic than the amide. It's about a million times too weak an acid at the alpha protons. Hydroxide is too weak a base. (Quora)
Acetamide does not give positive Iodoform test. The reason is that if we recall the mechanism of reaction , after incorporation of three halogen atoms on the $\alpha$ carbon of carbonyl carbon, there is a step where the OH- attacks at the carbonyl carbon and $\alpha$ CX3 - leaves. But in acetamide there is a resonance of NH2 group with Carbonyl carbon. So the electrophilicity of Carbonyl carbon decreases and it becomes difficult to attack the less electrophilic carbon by external nucleophile because the overlap of Carbonyl carbon with N of NH2 is very strong (2p $\pi$ - 2p$\pi$ overlap) .so the iodoform reaction is very difficult to occur for acetamide.