It's a university, not a day-care. If the student wants to slack off and waste his/her parents' money that should be his/her prerogative. All the professor has to do is make sure the tests are hard and fair. If the students gonna dick around but they can learn the material and/or do the work, who cares?