I'm not sure I understand your comment. Surely you don't think that the details of a particular programming language's syntax are an appropriate criteria for grading an exam? That seems crazy.