Really, the biggest factor is whether the student gets admitted to the major, or (if not) how difficult it will be to get into the major after enrolling. The better department does not help if you cannot get into the major.
Based on the links in reply #4, getting into Wisconsin CS is easy if you get into the school, but Purdue CS can be much more difficult to get into.