Answer:
This scenario is an example of communism.
Explanation:
The scenario that is described with the teacher setting up all the rules and having full control in the classroom without any input from the students is a scenario comparable to how communism works. Communism, basically, does the same, just that the teacher is the government and the students are the people. The government controls and owns everything.
In a communist society no one is allowed to express their opinions without permission from the government, and also, whoever stands up against is severely punished. Something that can be said about the example above is that if we look at it in practice, it turns out that the vast majority of teachers in the world use communist methods in the classroom, and this happens in countries of all political systems.