It is compulsory for all Malaysians to receive their 6 years of primary education, known as Year 1 to Year 6, and be enrolled into one of the following types of school at the age of 6: government primary schools, religious primary schools, private primary schools or special education primary schools. Students will be required to sit for a public exam at the end of Year 6, either UPSR, PSRA or UPKK, in order to progress to their secondary education.