The Canton of Fribourg school system provides one year of non-obligatory Kindergarten, followed by six years of Primary school. This is followed by three years of obligatory lower Secondary school where the students are separated according to ability and aptitude. Following the lower Secondary students may attend a three or four year optional upper Secondary school. The upper Secondary school is divided into gymnasium (university preparatory) and vocational programs. After they finish the upper Secondary program, students may choose to attend a Tertiary school or continue their apprenticeship.