The rules here in the US are that ...
1) If a calculator is programmable, the invigilator must be satisfied that the memory has been cleared of any stored formulae. Most calculators including my TI-68 make this pretty clear, and can be reset easily. Mine is "Clear Mem? Y Y Y -> Memory cleared"
2) The penalty for cheating includes being stripped of the test pass, and being barred from taking another FAA written for 1 (possibly 2) years. You would be pretty dumb to try cheating.
And also, the LaserGrade computer software that I usually encounter at testing locations includes a pretty decent flight computer built right into the testing software. Doesn't do w&b though sadly