This is how your teacher calculates the ranking for each assignment:
Assignment mark/Full mark x Weighting
For example
Exam is out of 100 marks
You got 50 marks
Exam weights 20%
=> 50/100x20=10%
Add all the weighting from the first assignment to the last one. You got your ranking mark (maybe...