In order to be able to register for college, you have to have passed a nationwide comprehensive examination at the end of high school, on several subjects (the particular subjects depend partly on the focus of your high school).
The minimum passing grade is 50 % for each subject.
For science oriented high schools (as opposed to humanities oriented) both math
and physics are part of the exam (math is always present, maybe at an easier level, but
physics might not be).
The math exam covers all the subject matter taught, but the
Physics exam covers only the subject matter up to the middle of 11th grade.