A slightly different answer to the above ones.
I'm a student, and I find myself printing out code for various coursework hand-ins, but not for every unit where I have to write code.
In my first year most units required a hard-copy in addition to either an electronic upload, or a copy burnt to CD (yes, a CD for a 5 Mb zip file...) [Lecturer's choice]
I'm currently in my second year and so far we've had one electronic only upload, and one Hardcopy + CD hand-in.
Considering we have Moodle which allows electronic submission of coursework, quite why we don't always upload code is beyond me - we have to pay to print things out on the University Printers, and there is not a single CD burner on any of the PC's that I know of.
Of course, the lecturers don't like Moodle - but that's another question entirely.
BTW, I'm a UK University Student, and not at a small, unknown one. Mine was in the top 10 of Uni's according to The Times / Guardian when I last looked.