Hm. If exam is not measuring competence adequately, the exams validity is lacking, ergo, exam should be redesigned for better validity. Open-book exams with good validity exist, as do tests allowing scientific calculators and formula sheets. Admittedly, that is harder, but... what is "cheating" in the age of information anyway?