Answer:
close the door - IM
Harry Potter - DE
Ouch! - EX
Glass of water - IM
When is your graduation? - IN
Car is black - DE
Talent! - EX
Sport - IN
Stop! - EX
Room - IM
Explanation:
Imperative: every time you order someone to do something.
Declarative: Only a "." at the end of the sentence. You're not telling anyone to do anything for you.
Exclamatory: "!" at the end of the sentence.
Interrogative: "?" at the end of the sentence.