You are on page 1of 5

SUNNY VALE HIGH SCHOOL

The Mathematics Department at Sunny Vale would like some assistance in


streamlining their grading process.

FIVE [5] assignments are used to calculate each student's course grade in
Mathematics. The marks for these five assignments are used to calculate the
student's average mark. In order to pass, students must attain an average of 50
or more. An average mark below 50 means that the student has failed the
course.

The department needs a quick and reliable method to process students' term
marks, calculate their average and determine the result ("Pass" or "Fail"). Your
team has been awarded the contract.

To assist your team, you are to create the following:

1. An IPO chart to identify the required inputs, processing and outputs


necessary for the solution
2. The algorithm (using both pseudocode and flowchart) to represent the
solution
3. A trace table to assist in testing the solution (use marks for at least FOUR
[4] different students in the trace table)

1
4. The program code for the solution (using the Pascal programming
language)

ENTER YOUR NAME AND USE THE SECTIONS BELOW TO COMPLETE THE 4 TASKS

NAME: TYPE YOUR FULL NAME

1. IPO CHART

INPUTS PROCESSING OUTPUTS

2. ALGORITHM
a. SOLUTION PSEUDOCODE
Begin

End

2
b. SOLUTION FLOWCHART
Start

3
3. TRACE TABLE

4
4. SOLUTION PROGRAM CODE

You might also like