Exercises for actuarial exams