Cs201 Assignment no 1 Fall 2012 Idea Solution written update
Assignment
| |||||||||||||||||||||||||
Problem Statement: Assessment system
You are required to write a program for Assessment system of a University. The basic idea is to calculate the GPA (Grade Point Average) of each subject and then calculate the GPA of whole semester and on the basis of that GPA calculate the grade and remarks.
Detailed Description:
You are required to take the student’s marks for three subjects(English, Calculus, and Computer) as input from the user. After that calculate the GPA of each subject and the whole semester. Assume that total marks of a subject are 100 and each subject is of 3 credit hours.
Complete Assessment system is given below:
NOTE: If user enters less than 40 marks for a subject, the GPA of that subject should be 0.
For example suppose the GPA in subject A is 2.5, in subject B 2.6, and in subject C is 3. Assuming that each subject is of 3 credit hours then GPA of whole semester will be calculated as:
= 3 * ( 2.5 + 2.6 + 3 ) / 9
= 2.7
|
-->