Maria Theresa was the the sovereign of Austria, Hungary, Croatia, Bohemia, Transylvania, Mantua, Milan, Lodomeria and Galicia, the Austrian Netherlands and Parma between 1740 – 1780.
She introduced number of important reforms in the Austrian Hungarian empire. One of those was a school reform.
All children from the age 6 to 12 had to attend school. The reform was not very successful, because it did not provide money for schools.
The lowest level of school in small villages for peasant kids was called Trivial school (Trivialschule in German). They teached Trivia: reading, writing, basic math. Also religion, and basic farming skills, but that did not count in Trivia ;-). The school had only one classroom and one teacher for all attending children. [My grandfather taught in a one-classroom-school in a remote village. He had kids between 1st and 4th grade in the classroom at the same time (that was, of course, much later, in the first half of 20th century).]
The word Trivia is from Latin. The schools from 13th century were founded in that region by Roman Catholic church.
They taught Trivium - [latin] grammar, rhetoric and dialectics.
Higher schools taught also Quadrivium - arithmetic, geometry, astronomy, music
https://en.wikipedia.org/wiki/Trivium
https://en.wikipedia.org/wiki/Quadrivium