Answer:
"I knew it was time to hit the books" is a figurative language. It doesn't actually mean hit the books, in this scenario when the student gets his report card and says time to hit the books, it really means "time to read", or "time to study."