top of page

PROGRAMMING CHALLENGES

Test Score Grader

Difficulty:

1 Easy

1.6 Iteration (while loops)

Topic:

Write a program that allows you to enter a test score out of 100. The program outputs �FAIL� for a score less than 40, �PASS� for 40 or more, �MERIT� for 60 or more, and �DISTINCTION� for 80 or more.

Use nested if-elif-else statements to determine and display the grade based on the score.

Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page