That's a problem with the students, not the CS program. "You can lead a horse to water but you can't make it drink."
Someone signing up for a class and not learning anything is a problem. Someone passing a class and not learning anything is a big problem for the signaling power of that degree.