While setting up quizzes you will be able to set up a time limits for the students-
- Go to the quizzes configuration section from the course edit page
- Click on the Time tab
- Enable the quiz duration button
- After enabling the quiz duration a new field will where you’ll be able to set the time limit for the course
- Finally, click on the update button.