cram for an examination
cram for an/the exam
To study for a test shortly before it is scheduled to take place. You might have gotten a higher grade if you didn't cram for the exam at the last minute.
cram for an examinationand cram for a test
Fig. to study very hard for an exam. I have to go cram fora test now. If you would study during the school term, you would not have to cram.