The conversation between human and AI assistant.
Is "taking an exam" or "giving an exam" correct for a student?
What if the student is the one creating the exam?
In that case, the correct phrase would be "writing an exam."