1)Have you just made a mistake?
What have you just made?
Have you just made a mistake or correction?
Who have just made a mistake?
2)Has John just given his bicycle to his brother?
What has John just given to his brother?
Has John just given his bicycle or his car to his brother?
Who has just given a bicycle to a brother?