Not quite!

Q: When should you flash your headlights at other road users?
Correct answer:
When letting them know that you're there
Explanation
You should only flash your headlights to warn others of your presence. Don't use them to greet others, show impatience or give priority to other road users, because they could misunderstand your signal.
Learn your theory >>
If you're looking for an earlier driving test we can help: www.driving-test-cancellations-4all.co.uk