IPO Chart
Input
|
Processing
|
Output
|
Marks for four courses
|
Processing Item: Grade Point and Grade for individual course
|
Overall GPA
|
Algoritham
Initialize gp with zero
Repeat for (each course)
Enter the marks for course
If( marks is less than 0 or more than 100)
Display error message "Invalid marks" and terminate execution
If( marks is greater than 80 and less than or equal 100)
Display Grade=HA and GPA=4
gp+=(4*12)
else if (mark is greater than 70)
Display Grade=DI and GPA=3
gp+=(3*12)
else if(marks is greater than 60)
Display Grade=CR and GPA=2
gp+=(2*12)
else if (marks is greater than 50)
Display Grade =PA and GPA=1
gp+=(1*12)
else
Display Grade =NN and GPA=0
gp+=(0*12)
end if
end loop
GPA=gp/48
Display GPA
Flowchart
First desk Check
Course no
|
Credit Point
|
Marks
|
Individual Grade
|
Individual Grade Point
|
Overall GPA
|
1
|
12
|
82
|
HD
|
48
|
|
2
|
12
|
68
|
CR
|
24
|
|
3
|
24
|
75
|
DI
|
72
|
3
|
Second desk Check
Course no
|
Credit Point
|
Marks
|
Individual Grade
|
Individual Grade Point
|
Overall GPA
|
1
|
12
|
70
|
DI
|
36
|
|
2
|
48
|
85
|
HD
|
192
|
|
3
|
48
|
90
|
HD
|
192
|
3.89
|