Professor surprises students by using computer as a teaching assistant.