If the university is treating students as children it's probably because, on average, they are.
If this is the way they are treated, how will they ever grow up?
The correct way for them to treat these kids is first of all to make it clear that this point marks a discontinuity in their education - earlier, the system was responsible. Now, as a student, you are. Give them both freedom and responsibility. Let them face the consequences of their actions. Maybe they will crash and burn - in the first semester. After that, they're damn well going to start studying and start attending, because then they'll know what happens if they don't.
You obviously have no teaching experience yourself, especially if you are teaching something as dry as computer science or mathematics..When you have a large amount of work to get through, it is not easy to make it exciting.
I must say one thing about this - isn't it assumed that by the time you hit university, you actually want to be there? That the people who come to get the Computer Science or Mathematics degree are the ones who are interested in the subject matter, and excited by the subject, to begin with?
This view may sound rather naive in this day and age, when real education has been replaced with job training, but isn't the solution to this to make the system better, not to cave in further?
The rule on staying alive as a program manager is to give 'em a number or give 'em a date, but never give 'em both at once.