Fetching details from the dictionary...

failure (in an examination); failing to advance (to the next year)
falling short of the standard; not making the grade
試験に落第して一年留年することになった。
I failed the exam and had to repeat a year.
落第しないように必死で勉強している。
I am studying desperately so I do not fail.
彼は二度の落第を経て合格を勝ち取った。
He earned his pass after failing twice.