Syntax seems like a stupid thing to test in university level courses. That's trade school stuff. And I don't mean that as a criticism of trade schools, they just have a different focus.
I could easily imagine a CS theory course that doesn't involve any programming language at all.