Professor's lectures and lab sessions do not prepare you for the homework and tests. I would often be more confused after a lecture than before. The fact that 90% of the class voted that they were unprepared for the first homework assignment is less than surprising.