The educational system in Germany has several types of schools that students can attend after primary school, including Hauptschule (general secondary school), Realschule (intermediate secondary school), and Gymnasium (grammar school). Students take the Abitur exam after the 13th grade to earn a university qualification. Kindergarten is not mandatory but over 67% of 3-6 year olds attend, and primary school from ages 6-10 is compulsory. Vocational training also plays a large role in the German educational system.