The final score , on a scale of 0 to 20, is allocated based upon a written examination and may take into account the outcome of the assessment throughout the semester .