...
Scroll down to Marking and Submissions section of the settings. Here you can change the number of attempts allowed and choice of marks (points or percentages).
Click Save. When you click save, a column for this assignment will automatically be created in Gradebook.
...
There are a range of additional Assignment settings you may wish to use.
...