OP said that s/he might have ranked last, not failed. It could be the case of ceiling bumping in a strong physics class where everyone has high marks which are close together. For the reason you allude, assignments don’t differentiate students as much as tests and exams, so if that’s the case...