According to andyeducation, the educational system in Jordan is based on a 6-3-3-4 system, which consists of six years of primary school, three years of middle school, three years of secondary school, and four years of university. Education is compulsory for all Jordanian citizens up to the age of 15 and is free at the primary and secondary levels. Primary school typically begins at the age of six and lasts for six years. During this stage, students learn basic subjects such as math, science, social studies, art and physical education. At the end of primary school students are required to take an entrance examination in order to gain admittance into middle school. Middle school lasts for three years and focuses on preparing students for their transition into secondary school by introducing them to more advanced subjects such as algebra, geometry and foreign languages. Students also participate in extracurricular activities such as sports or clubs during this time. Secondary schools offer a variety of courses that prepare students for university or technical college admission. Students can choose between academic courses that focus on traditional subjects such as history and literature or vocational courses that focus on practical skills such as cooking or auto mechanics. Additionally there are non-formal learning centers located throughout the country which offer courses in literacy skills and life skills such as job search techniques or money management skills. These centers are often run by NGOs or other organizations that specialize in training people living in rural areas who may not have access to traditional educational institutions. See educationvv for Jordan educational systems.