Our K-12 system was modeled on the system the King of Prussia used to produce compliant citizens, efficient workers, and obedient soldiers starting in the late 1700's, using the factory model with children as both raw product and finished material, grading said product as A through F grade, etc.
(http://en.wikipedia.org/wiki/Prussian_education_system)