I think that it would be a great idea to try as hard as she can during the exam and after the test go see a supervisor or teacher to explain what happened. Maybe she can then retake her exam or her situation can at least be taken into account while grading.