1. Quiz Grade ) There are six quizzes with grades 0 through 10. The lowest grade will be dropped. ) The program should define a class named Quizzes that has an instance variable to hold a list of the six grades. :) Define the following methods: 1) init_) should drop the lowest grade 2) average() calculate the average of the remining five grades 3) display() display the list with five remaining grades and the average 3) Save the Quizzes class in quizzes.py. 1) Write codes to import Quizzes class. Use a loop to request six grades in floats. Call display() to print the grades and the average.
1. Quiz Grade ) There are six quizzes with grades 0 through 10. The lowest grade will be dropped. ) The program should define a class named Quizzes that has an instance variable to hold a list of the six grades. :) Define the following methods: 1) init_) should drop the lowest grade 2) average() calculate the average of the remining five grades 3) display() display the list with five remaining grades and the average 3) Save the Quizzes class in quizzes.py. 1) Write codes to import Quizzes class. Use a loop to request six grades in floats. Call display() to print the grades and the average.
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
Related questions
Question
need help with python. Also, can you explain how we have to do this? Please write codes for prog1.py and quizzes.py separately
![**Quiz Grade Program Instructions**
1. **Quiz Grade Details:**
- There are six quizzes with grades ranging from 0 to 10.
- The program will drop the lowest grade from the set.
2. **Program Requirements:**
- Create a class named `Quizzes` with an instance variable to store six grades.
3. **Methods to Define:**
- **`__init__()`**: Automatically drop the lowest grade when the object is created.
- **`average()`**: Compute the average of the remaining five grades.
- **`display()`**: Show the list of the five grades and the calculated average.
4. **Implementation Steps:**
- Save the `Quizzes` class in a file named `quizzes.py`.
- Write a program to import the `Quizzes` class.
- Use a loop to input six grades as floating point numbers.
- Call `display()` to output the grades and their average.
5. **Example Output:**
```
Enter grade on quiz 1: 5.5
Enter grade on quiz 2: 6
Enter grade on quiz 3: 7
Enter grade on quiz 4: 8
Enter grade on quiz 5: 9
Enter grade on quiz 6: 10
-----------------------------
Original Grades: [5.5, 6.0, 7.0, 8.0, 9.0, 10.0]
Updated Grades:
quiz 1 6.0
quiz 2 7.0
quiz 3 8.0
quiz 4 9.0
quiz 5 10.0
-----------------------------
Quiz Average: 8.0
-----------------------------
```
6. **Testing and Submission:**
- Test the program by running `prog1.py`.
- Save both `prog1.py` and `quizzes.py` in a folder named `EC4_YourName`.
- Compress the folder and submit it to Course Content/12 Classes/Extra Credit 4 on Blackboard by the due date for evaluation.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F45659156-2443-4577-bdf7-43f525303eb1%2F13e74a89-db1a-48cf-9d2f-85ba9a2bcc5f%2Fwhgv97x_processed.png&w=3840&q=75)
Transcribed Image Text:**Quiz Grade Program Instructions**
1. **Quiz Grade Details:**
- There are six quizzes with grades ranging from 0 to 10.
- The program will drop the lowest grade from the set.
2. **Program Requirements:**
- Create a class named `Quizzes` with an instance variable to store six grades.
3. **Methods to Define:**
- **`__init__()`**: Automatically drop the lowest grade when the object is created.
- **`average()`**: Compute the average of the remaining five grades.
- **`display()`**: Show the list of the five grades and the calculated average.
4. **Implementation Steps:**
- Save the `Quizzes` class in a file named `quizzes.py`.
- Write a program to import the `Quizzes` class.
- Use a loop to input six grades as floating point numbers.
- Call `display()` to output the grades and their average.
5. **Example Output:**
```
Enter grade on quiz 1: 5.5
Enter grade on quiz 2: 6
Enter grade on quiz 3: 7
Enter grade on quiz 4: 8
Enter grade on quiz 5: 9
Enter grade on quiz 6: 10
-----------------------------
Original Grades: [5.5, 6.0, 7.0, 8.0, 9.0, 10.0]
Updated Grades:
quiz 1 6.0
quiz 2 7.0
quiz 3 8.0
quiz 4 9.0
quiz 5 10.0
-----------------------------
Quiz Average: 8.0
-----------------------------
```
6. **Testing and Submission:**
- Test the program by running `prog1.py`.
- Save both `prog1.py` and `quizzes.py` in a folder named `EC4_YourName`.
- Compress the folder and submit it to Course Content/12 Classes/Extra Credit 4 on Blackboard by the due date for evaluation.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images

Knowledge Booster
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.Recommended textbooks for you

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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education