AI can write code that runs. CS coursework tests whether you understand it. Here's where AI code fails and how to check it ...