Write a sentence using a verb in the interrogative mood and then expalin why the sentence is in that mood.

Did you eat all of the cookies?

This sentence is in the interrogative mood because it is asking a question to gather information about the action of eating all of the cookies.