Assignment title: Information
Question
We want to make a system that produces the result of an ABC University taking into account the Term test, Assignments, Final Exam and Attendance. Term test is worth 10%, Assignment 25%, Final Exam is worth 60% and an Attendance is worth 5%. Total percentage and rank shown in an ascending order. We want system to pop out message showing full scholarship rewards to those student who receive more than 90% and half discount in total fee as a rewards to those students who receive 80% to 90 %.
SOLUTION
IPO Chart
INPUT PROCESS OUTPUT
Student Name='SN'
Term test mark='TM'
Assignment mark='AM'
Final Exam mark='FM'
Attendance='AT'
Evaluation='EV'
Get Student Name
Get Term test mark
Get Assignment mark
Get Final exam mark
Get attendance evaluation
Calculate,
Total marks= TM+AM+FM+AT
Total Percentage= (Total marks/100)*100%
If
total percentage is between 80% to 90% then Print reward half discount in total fee
Else if
total percentage is above 90% then Print reward full scholarship
Else
don't display reward
Also
Referencing the total percentage, Display rank 1 and so on.
Results in ascending order.
Display,
Total Marks
Total percentage
Rank
Reward
Total Mark
Total Percentage
Rank
Reward
Interface for Initial Proposal
ABC University
Welcome
Student Name
Assignments
Term Test
Final Exam
Attendance
CALCULATE CLEAR
Total Marks Total Percentage
Rank
ABC University
Welcome
Student Name
Assignments
Term Test
Final Exam
Attendance
CALCULATE CLEAR
Total Marks Total Percentage
Rank
Pseudo-code
Top
Define variables,
Student Name (SN)
Term test mark (TM),
Assignment Mark (AM),
Final Exam Mark (FM),
Attendance (AT)
Evaluation (EV)
Total mark= TM+AM+FM+AT
Total Percentage= (Total Mark/100)*100%
Rank= Ascending order according to the total percentage received
If
Total percentage is between (80% and 90%),
Print = "Congratulation! Half discount in total fee have been offered to you
Please Visit Student Service for further information"
If else
Total Percentage >90%
Print= "Congratulation! Full Scholarship have been offered to you
Please Visit Student Service for further information"
Ask for another student entry
If yes go to top
Else
Output "Thank You"
End
Test check and Data Check
Declare the Student Name
Ask for the Students Assignment marks, term test marks, Final exam marks and Assignment assessment marks.
While (full marks in between 80% and 90% and Full marks>90) do give the scholarship reward based on marks achieved.
Ask for another student entry
End
Programme is finished; give a "Thank You" message
Condition
• Total percentage is between 80% to 90% then Print reward half discount in total fee
• Total percentage is above 90% then Print reward full scholarship
Student Name Assignment Mark Mid-term Mark Exam Mark Attendance assessment Mark Total Total Percentage
(Ascending order Condition Output
Ram 10 5 40 5 60 60% No rewards Thank You
Surya Bahadhur Thapa 20 10 50 5 85 85% Yes
rewards "Congratulation! Scholarship have been offered to you
Please Visit Student Service for further information"
Deepak Upreti
20 10
55
5
90
90%
Yes rewards "Congratulation! Scholarship have been offered to you
Please Visit Student Service for further information"
Above performed algorithm seems to work in a promising way and is ready to convert into program.