Exam for computational physics course