Did all the students give their homework to the teacher on time?
Did all the students hand in their homework on time?
Explanation: The verb 'hand in' means to submit something, like homework, to someone in authority.