Your memory during exams isn’t just related to how much you study. It is also about how your brain functions under pressure.