Not necessary, when I did my degree, our Algorithms and Data Structures class was done in C, a couple of years later the same course was upgraded into Java.
However, I know from former university friends, that eventually became TAs, that was what required from students was kept at the same level of requirements.
The professor responsible for the class, had a battery of tests (almost a decade before unit tests became a known term), and having the tests green was the first requirement to even accept the class projects.
Those tests did not only test for correctness, performance, memory consumption and execution time were all part of the acceptance criteria.
This is what is missing from many teaching institutions.
OTOH, the only people who can think how to properly implement it are people who are also perfectly comfortable with Assembly, C or C++.