Question: what happens if you don't pass uni?
Answer: If you've selected to take a course “pass/fail” or “pass/no pass”, rather than receiving a letter grade, then failing won't be counted into your GPA. However, you will have to retake the class. In most cases, if it's a course required for your major, you won't be able to take it “pass/no pass” in the first place.