Picking apart someone else's code as a class assignment
Students are taught to write code, but not to read it. Yet on the job, nine-tenths of your time goes to other people's code. The assignment: take an existing project, explain what each module does and propose one improvement, without rewriting it from scratch.