Yes, you can. Go to the class page, choose 'Actions', then 'Class grade settings'.
On the Class grade settings page, you will see all the learning materials and tests available in the class.
All class materials have equal weighting until you choose to edit this. (An asterisk shows if one has been rounded up so that the total is 100.)
You can change the weighting by allocating a number from 0-100 to each item. The total must add up to 100. Set to 0% any item that you don’t want to contribute to the grade.
If the total doesn’t add up to 100, an error message will be displayed. Correct the error and save the changes. See the example below.