A question mark is a punctuation mark, not a part of speech. It is used at the end of a sentence to indicate that it is a question.
.
The phrase "what part of speech is cake" is a question.
The question "What part of speech is reputation?" means that someone is interested in knowing the part of speech (noun, verb, pronoun, adjective, adverb, preposition, conjunction, interjection) for the word reputation. Reputation is a noun.
The part of speech that answers the question "which one" is a pronoun. Pronouns replace nouns in a sentence to refer to something or someone previously mentioned or understood in the context.
'from' is a preposition
adverbs
A question mark is a punctuation mark, not a part of speech. It is used at the end of a sentence to indicate that it is a question.
.
The phrase "what part of speech is cake" is a question.
Who in a question is a pronoun.e.g. Who is reading this?
the idea given in the speech or the question asked.
I think the answer to this question is a noun.
Cleverly is an adverb.
A statement, also a line of dialogue in a script. It is not a part of speech which is the job or function of a word within a sentence or question.
The word what is a pronoun. It is an interrogative pronoun.
Who, which and what are Interrogative Pronouns.