This kind of sentence is called an interrogative sentence. An interrogative sentence is a sentence that seeks to elicit a reaction or response from someone.
Other kinds of sentences are:
Thus, it is right to state that "Did you go to the demonstration on Sunday?" is an interrogative sentence.
Learn more about interrogative sentences at;
https://brainly.com/question/1642468
#SPJ12