Automated Assessment of Students' Code Comprehension using LLMs