Question

In: Computer Science

Create the pseudocode solution to a program that calculates the final score and letter grade for...

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.

Solutions

Expert Solution

Answer: Hey!! kindly find your solution below. Let me know if any issue. Thanks.

Pseudocode: This pseudocode has three sub functions and one main function. In main, all sub-functions are called.

if any issue comment me in the comment box.

function calAvg (sum)
avg = sum / 5
  
return avg
end function

function calcGrade (avg)
if avg >= 90 AND avg <= 100 then
output "Grade : A"
else
if avg >= 80 AND avg <= 89 then
output "Grade : B"
else
if avg >= 70 AND avg <= 79 then
output "Grade : C"
else
if avg >= 60 AND avg <= 69 then
output "Grade : D"
else
if avg >= 0 AND avg <= 59 then
output "Grade : F"
end if
end if
end if
end if
end if
end function

function inputMarks
output "Enter marks for homework Assignments:"
input ha
output "Enter marks for Quizzes:"
input qu
output "Enter marks for Projects:"
input pro
output "Enter marks for Discussion parts:"
input dis
output "Enter marks for exams:"
input ex
total = ha + qu + pro + dis + ex
output "Final Score: ",total   
return total
end function

function Main
sum = inputMarks()
avg = calAvg(sum)
calcGrade(avg)
end function


Related Solutions

ITP100 Project: Part 3 Create the pseudocode solution to a program that calculates the final score...
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%...
ITP100 Project: Part 3 Create the pseudocode solution to a program that calculates the final score...
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%...
Create a small program that calculates the final grade in this course, given the different assignments...
Create a small program that calculates the final grade in this course, given the different assignments and exams you will be required to take. The program should ask for all the grades through the semester, and as a final output it should compute the weighted average as well as give the final letter grade. You should use the syllabus for this course to calculate the final grade. • Five assignments worth 30 points each. • Three projects worth 100 points...
Write a program that translates a letter grade into a number grade. Letter grades are A,...
Write a program that translates a letter grade into a number grade. Letter grades are A, B, C, D, and F, possibly followed by + or -. Their numeric values are 4, 3, 2, 1 and 0. There is no F+ or F-. A “+” increases the numeric value by 0.3, a “–“ decreases it by 0.3. However, an A+ has value 4.0.4 pts Enter a Letter grade: B- The numeric value is 2.7 Your code with comments A screenshot...
PROJECT DETAILS: You will create a carefully produced, professional cover letter (10% of final grade) and...
PROJECT DETAILS: You will create a carefully produced, professional cover letter (10% of final grade) and resume (15% of final grade) that must be based on one of the two job postings listed. You are a free to choose either Job Posting A or Job Posting B. Using what you learn from in-class lessons and helpful links you find online, you will develop a strong understanding of what is involved in creating as flawless a cover letter/resume package as possible....
a.Create the logic for a program using pseudocode that calculates and displays the amount of money...
a.Create the logic for a program using pseudocode that calculates and displays the amount of money you would have if you invested $5000 at 2 percent simple interest for one year. Create a separate method to do the calculation and return the result to be displayed. b.Modify the program in Exercise 2a so that the main program prompts the user for the amount of money and passes it to the interest-calculating method. c.Modify the program in Exercise 2b so that...
write a Java program Write a program to assign a letter grade according to the following...
write a Java program Write a program to assign a letter grade according to the following scheme: A: total score >= 90 B: 80 <= total score < 90 C: 70 <= total score < 80 D: 60 <= total score < 70 F: total score < 60 Output - the student's total score (float, 2 decimals) and letter grade Testing - test your program with the following input data: test1 = 95; test2 = 80; final = 90; assignments...
Write a c++ program that given a set of letter grade/credit hour combiniation, determines the grade...
Write a c++ program that given a set of letter grade/credit hour combiniation, determines the grade point average (GPA) Each A is worth 4 points. Each B is worth 3 points. Each C is worth 2 points. Each D is worth 1 point, and Each F is worth 0 points. The total quality points earned is the sum of the product of letter grade points and associated course credit hours. The GPA is the quotient of the quality points divided...
write a program including the pseudocode write a progrqm that outputs a grade based on user...
write a program including the pseudocode write a progrqm that outputs a grade based on user input. an example if the user enters an 80 the program will output the grade is B. grading scale: 90-100=A 80-89=B 70-79=C 65-69=D 0-64=F
Write a C program that calculates a student grade in the C Programming Class. Ask the...
Write a C program that calculates a student grade in the C Programming Class. Ask the user to enter the grades for each one of the assignments completed in class: Quiz #1 - 25 points Quiz #2 - 50 points Quiz #3 - 30 points Project #1 - 100 points Project #2 - 100 points Final Test - 100 points The total of the quizzes count for a 30% of the total grade, the total of the projects counts for...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT