Write a student class that will keep track of the grades of students and generates a final mark. You should store three quiz marks, each out of a total of 20 marks, one midterm score out of a total of 50 marks, one final project out of 100 and an overall score with a letter grade associated with it. Further, create the respected accessor and mutator methods necessary. The function calculateOverallScore() should calculate the weight as follows; quizzes are 15% total, midterm is 35% total and final is worth 50% for a total of 100% when summed up. The function finalLetterGrade() should return the letter based off the following: 100-90 è A, 90-80 è B, 70-80 è C, 60-70 è D, 0 – 60 è F When complete create a student object, set the marks for quizzes/midterm/final and print the letter and final grade to the console.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

PYTHON PROGRAMMING

  • Write a student class that will keep track of the grades of students and generates a final mark.
  • You should store three quiz marks, each out of a total of 20 marks, one midterm score out of a total of 50 marks, one final project out of 100 and an overall score with a letter grade associated with it. Further, create the respected accessor and mutator methods necessary.
  • The function calculateOverallScore() should calculate the weight as follows; quizzes are 15% total, midterm is 35% total and final is worth 50% for a total of 100% when summed up.
  • The function finalLetterGrade() should return the letter based off the following: 100-90 è A, 90-80 è B, 70-80 è C, 60-70 è D, 0 – 60 è F
  • When complete create a student object, set the marks for quizzes/midterm/final and print the letter and final grade to the console.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Reference Types in Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education