There shall be maintained a uniform system of free public schools consisting of grades one through twelve, which may be divided between grammar schools, junior high schools and high schools, or any combination thereof, on such basis and in such grades as the board of trustees of the school district involved, in its discretion, shall deem necessary and desirable.