How do I limit submission attempts for an assignment?
As an instructor, you may be able to limit the number of submission attempts allotted to students for an assignment. Limiting assignment attempts is only available for assignments with the Online submission type.
Open Assignment

To open an existing assignment, click the assignment name [1].
To create a new assignment, click the Add Assignment button [2].
Select Submission Attempts

Locate the Submission Type setting [1] and select the Online option [2]. Then locate the Submission Attempts setting [3].
Set Number of Attempts

By default, the Allowed Attempts setting is set to the Unlimited option [1]. If this option is selected, students will be able to resubmit the assignment as many times as necessary.
To limit the number of attempts allowed to students, select the Limited option [2]. Then select the number of attempts in the Number of Attempts field [3].