cramming; last-minute studying
Refers to intensive, hurried studying done just before an exam or deadline, often with the implication of insufficient preparation beforehand.
Cramming the day before the exam isn't very effective.
He always gets through tests by cramming.