If the teacher does not teach students to memorize when the students take a test, it will not be able to answer a question, or if it might not reply timely.
If the teacher does not teach the students to memorize when students have to take the test, it will not be able to answer the question, or if the answer is probably not in time.