A form is what we call a class at English secondary schools. It is probably a Latin expression. Probably from the Latin, "formus ignoramus."