It was a telephone test, I guess to minimize cribbing. So, it did cost them something to administer the test.
I was in dire financial straits at the time, so it bothered me a lot. Now, though, it's kind of funny. I doubt I would have enjoyed working for them much. They were the kind of company that made you go through a two-week "boot camp" before you could actually do anything for them. They probably had a budget for stupid inspirational posters.
Anyway, my attitude now is that stupid companies deserve to go out of business.
As to your point that C++ and Java go hand-in-hand, of course it's true, but you have to be post-adolescent to realize this. I keep hearing that there is a vast difference between Java and C++ because C++ has pointer syntax. Well, the last time I made a pointer error, the President really was an actor who got second billing to a chimpanzee instead of merely seeming like one. Computer language religious wars are the hallmarks of tyros. Unfortunately, at least in the dot com boom days, a lot of businesses were run by these feeble minds. I'm hoping that the current shakedown will fix this problem.