Sleep has a big impact on your ability to learn. You should make sure to get enough sleep, especially during the exam phase. Studying through the night can have a negative impact on your immune system and ability to absorb.