I'm pretty sure that most courses these days provide a mix of exams (where memorising the facts is important) and (possibly collaborative) 'project' work where students can solve problems in a more realistic scenario with access to whatever reference material they care to find.

It's how they did it 25(ish) years ago when I was at high school and I'm pretty sure that's how they do it still.