Common Present Perfect questions are formed by rearranging the auxiliary verbs at the beginning of the sentence. Examples:
Anna has planted the flowers (statement).
Has Anna planted the flowers?
They have come to the classes (statement).
Have they come to the classes? (question).
Specials are constructed using interrogative words which begin an utterance. These are the words what?, why?, where?, which?, who? and so on. The auxiliary words remain in front of the subject, as in general questions.
What game have they just played?
Why has he decided to go there today?
Where have you been this morning?
Tag questions contain a statement, i.e. direct word order + short question.
My brother has eaten all the sweets, hasn't he?
They have already built a new bridge, haven't they?
You also have to know how to answer questions. Let's look at some short answers:
Has Anna planted the flowers? - Yes, she has / No, she hasn't.
Have they come to the classes? - Yes, they have / No, they haven't
My brother has eaten all the sweets, hasn't he? - Yes, he has / No, he hasn't.
They have already built a new bridge, haven't they? - Yes, they have/ No, they haven't.
Questions with when, what time cannot be asked in Present Perfect, because we want to know a specific time, and this is only possible in Past Simple.