I had many classes in college that didn't administer homework or take-home assignments. All we had were just exams. Most of those professors operated on the logic that if you wanted to pass their class, then you would do the (suggested) work.
Also, I never had a computer science class where exams were administered on a computer. I only graduated like 10 years ago, too. I shit you not, even my x86 assembly class was all pen and paper too, and yes, we were graded for code accuracy.