You can provide immediate feedback in a Google Form using the Branching/Go to Section option to allow students to retry the same question.
Ultimate Guide to Feedback in a Google Form – Part 2
Google Forms provides two ways to provide immediate feedback. These are Branching/Go to section for MC questions or using Response validation for short answer.