This help article shows you how to set ideal quiz and test settings.
By using this setting you can minimize the cheating possibility.
Watch the following steps and set your quiz settings.
1-Click the Assessment settings on the right corner.
2- After setting the Due date, make the settings just like in the pictures.
3- Click safe and now your test settings are ready.