You can set up your quizzes so students can view questions and answers following a quiz attempt. To do so, you have to change the default Submission View settings.
Open the quiz to Edit.
Open the Submission Views tab.
Click on Default View.
Under “View Details”, choose Yes under “Show Questions?” and select one of the options below. If you want students to be able to see the correct answers, select Show question answers.