Did You vs. Have You

Key Differences
'Did You' is used only for the Past Indefinite/Simple Tense, while 'Have You' is used in the Present Perfect Tense.
'Did You' contains information about the something which is just over, while 'Have You' is only for the present where to ask whether something is completed or not.
'Did You' works for recent past and has nothing to do with any other Tense, while 'Have You' is for the completion of anything in the present.
Comparison Chart
Usage
Used only for the Past Indefinite/Simple Tense
Used in the Present Perfect Tense.
Relation
Works for recent past and has nothing to do with any other Tense
For the completion of anything in the present
Event
Contains information about something which is just over
Only for the present where to ask whether something is completed or not.
ADVERTISEMENT
What is Did You?
Did is the second form of Do and is always used in Past Indefinite/Simple Tense. It can never be used either as a helping/auxiliary verb or the main verb in the Tenses other than the Past Indefinite. Did is used for the near past, a time which is just over. And whenever it comes at the start of the sentence, it will be an interrogative sentence.
What is Have You?
Although ‘Have’ is mostly used as a main verb for possession, it is also used as a helping/auxiliary verb, usually for the sentences is Perfect Tense. The construction ‘Have You’ is used in order to ask whether something is done or complete or not and it always have the Third form of verb/past participle to complete the sentence to convey accurate meaning e.g. Have you taken your meal?