Not that I'm defending a bad teacher, but to say programming vocabulary isn't needed in the real world is a sign of a bad programmer. Being able to communicate exactly what you're doing is as important as actually doing it.
Knowing how to pass a test isn't particularly valuable.
On the contrary; a huge number of job opportunities these days are off-limits to those without a bit of paper saying they passed a certain (set of) test. Whilst the actual knowledge/skills are ultimately far more valuable, you still need the opportunity to use them.
Test-taking is itself a skill, and one that can ultimately provide quite a bit of value.