dì
及第
jídì
to pass the imperial examination
落第
luò dì
to fail an examination
不第。
bù dì
to fail an imperial examination