I think there's probably already a question/answer that covers this, but I had a search and couldn't find anything directly relevant.
There's the classic homework question but this is different IMO as helping someone currently taking a test would be viewed as cheating by most test setters.
Here's an example opening line from a question:
Please help me ASAP, I'm currently in an exam. The question has some existing code and we have to modify it. It's to do with [some topic], please help me.
It seems fairly clear cut to me that this question should be closed.
Am I right about that? If so what should I be choosing as the close reason?
Close -> Off-Topic -> Other, with a comment of "Asking for help to cheat during live test at school"?