tā / wèi / le / zhǔn / bèi / kǎo / shì / , / tōng / xiǔ / zài / tú / shū / guǎn / fù / xí / gōng / kè / 。他为了准备考试,通宿在图书馆复习功课。He stayed up all night reviewing his lessons in the library to prepare for the exam.