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...
Develop a program that calculates the final score and the average score for a student from...
Develop a program that calculates the final score and the average score for a student from his/her (1)class participation, (2) test, (3) assignment, (4) exam, and (5) practice scores. The user should enter the name of the student and scores ranging from 0 to 100 for each grading item. The final score is the sum of all grading items. The average score is the average of all grading items. Here is a sample output of the program: Enter the Student's...
Question: How do I write a program in C# that calculates a student's final grade for...
Question: How do I write a program in C# that calculates a student's final grade for a test with 20 multiple questions using arrays and helper methods? Instructions: (0-incorrect answer, 1-correct answer) If the student answered the question right, add .5 points to the running total. If the student didn’t answer correctly subtract .5 points from the running total. The running total is initialized with 5 points (so the student receives 5 points extra credit). To define the final grade...
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...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT