…  
…  
39  # on the individual entries of the list, not on the list as a whole. 
39  # on the individual entries of the list, not on the list as a whole. 
40  # If the list is an unordered list, the routine may be called 
40  # If the list is an unordered list, the routine may be called 
41  # multiple times with various combinations of student and professor's 
41  # multiple times with various combinations of student and professor's 
42  # answers in order to find a correct match. 
42  # answers in order to find a correct match. 
43  # 
43  # 


44  * Note: If you want a correct answer whose class is a complex variable 


45  # to check a real number entry you will have to set both sameClass and 


46  # sameLength to 0 since a complex number has length 2 and a real number 


47  # has length 1. 


48  # 
44  # The checker routine will be passed the correct answer, the 
49  # The checker routine will be passed the correct answer, the 
45  # student's answer, and the answer evaluator object, in that order. 
50  # student's answer, and the answer evaluator object, in that order. 
46  # 
51  # 
47  # For example, the following checks if a student entered 
52  # For example, the following checks if a student entered 
48  # a unit vector (any unit vector in R^3 will do): 
53  # a unit vector (any unit vector in R^3 will do): 