0% found this document useful (0 votes)
8 views1 page

Exercise 01

The document outlines an exercise for calculating a student's average score and determining their grade based on specified criteria. It includes steps for user input, score collection, average calculation, grade assignment, and the option to repeat the process. Additionally, it provides submission instructions and a deadline for completion.

Uploaded by

athumankasele9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Exercise 01

The document outlines an exercise for calculating a student's average score and determining their grade based on specified criteria. It includes steps for user input, score collection, average calculation, grade assignment, and the option to repeat the process. Additionally, it provides submission instructions and a deadline for completion.

Uploaded by

athumankasele9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

NTA Level 04: Semester II

Basics of Programming - Exercise 01

Write an Algorithm and draw a Flowchart for a system that calculates the average score of a
student and determines their grade based on the following criteria:

1. The system asks the user how many subjects they have. (e.g., 4 or 5).
2. Using a loop, the system prompts the user to enter the score for each subject, one by one.
3. After collecting all scores, the system calculates the average score.
4. Based on the average score, the system should assign a grade:
• 80–100: Grade A
• 65–79: Grade B
• 50–64: Grade C
• 40–49: Grade D
• Below 40: Grade F

5. The system then displays the average score and the grade.
6. After displaying the result, the system should ask the user if they want to enter another set of
scores for a different student.
• If yes, repeat the entire process
• If no: end the program

Instruction:
1. This work has to be done individually, and your work has to be done clearly.
2. Write and draw your algorithm in any digital platform of your choice, and submit your
presentation document in PDF format. N.B. not PPT
3. Submission date Friday, 25th Apr, 2025, 13:00 – 14:00 (Strictly). Failing to do so may result
in penalization.

You might also like