Imagine you’re a student, it’s finals week, and you’re preparing for a big exam: do you pull an all-nighter or do you get some rest? As...