Pupils given option to take harder exams