To receive a grade on the course you are taking, you will be tried through an examination. There are different kinds of exams. Some of the most common ones are written exams, take-home exam, laboration and writing an essay or thesis.
The grading systems vary between different faculties and may also be different between different courses within a programme. The syllabus provides information about which grading system is used for the course.