Basic education, which includes six years of primary and three years of preparatory school, is a right for Egyptian children from the age of six. After grade 9, students are tracked into one of two strands of secondary education: general or technical schools. General secondary education prepares students for further education, and graduates of this track normally join higher education institutes based on the results of the Thanaweya Amma, the leaving exam.