martinet
/ˈmɑr.ti.nɛt/Definitions
1. noun
A strict and often cruel teacher or person who demands high standards and exacts strict discipline.
“The student was intimidated by her martinet of a math teacher who expected nothing but perfection from her students.”