In: Computer Science
ITP100 Project: Part 3 Create the pseudocode solution to a program that calculates the final score and letter grade for one student. Please use the following grading system: 9 Homework Assignments – 100 points each 10 points 11 Quizzes – 100 points each 5 points 5 Projects – 100 points each 10 points 6 Discussion posts – 100 points each 10 points 4 Exams – 100 points each 65 points A = 90 – 100% B = 80 – 89% C = 70 – 79% D = 60 – 69% F = 0 – 59% Modify part 2 of the project by including repetitive structures, functions and input validation (Chapters 5, 6 and 7). Try to reduce your code by reusing functions or modules that perform similar tasks. Do not use arrays.
You must specify the language in which you are going to code for better solution and syntax.
As it was pseudo code you can easily modify it according to language
According to the given question we were required to write a program for calculating the final score and letter grade for one student according to the given grading system.
Pseudocode is given below:-
Read: assignment score, assignment max(900), assignment weight(10)
Read : quiz score,quiz max(1100), quiz weight(5)
Read: project score, project max(500), project weight(10)
Read: discussion post score, discussion max(1000), discussion weight(10)
Read: exam-score, exam-max(400), exam-weight(65)
assignment total = (assignmment score/assignment max)*assignment weight
quiz total = (quiz score/quiz max)*quiz weight
project total = (project score/project max)*project weight
discussion total = (discussion score/discussion max)*discussion weight
exam-total = (exam-score/exam-max)*exam-weight
total grade = assignment total+quiz total+project total+discussion total+exam-total
IF total grade>=90 then
letter grade = A
ELSE IF total grade>=80 then
letter grade = B
ELSE IF total grade>=70 then
letter grade = C
ELSE IF total grade>=60 then
letter grade = D
ELSE
letter grade = F
ENDIF
WRITE final score and letter grade