There is a principle that diagnosos precede prescription. Altough it may be generally conected to medicine, it is not different in teaching a class. The teacher needs to diagnose the students level of knowlegde, familiarity with the topic, etc. as a means to informing class design and delivery.