Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In python please. Student Class: This class is responsible for managing information about students through the following methods: 1. addNewStudent: ask student for his/her information,
In python please.
Student Class: This class is responsible for managing information about students through the following methods: 1. addNewStudent: ask student for his/her information, which are: (1) Student name (2) Birthday use this format MMDDYYYY (3) Address (4) Phone number: accepts digits or letters as in cell phones. For example: A, B, or is the digit 2 in the cell phone pad. Saved as digits only. Also, must check for 10 digits/letters only. (5) Grades: is a list of lists, in which the first item is the list of homework, second item is list of quizzes, third item is list of midterms, and the last item is the final list. All grades' values are randomly generated between 0 and 100. Homework and quizzes lists have a random number of elements between 3 and 6 with first element being the list name as string (Ex: ['Homework, 88, 99, 44), ('Quizzes', 68, 35]). Midterms list has a random number of elements between 2 and 3 including the list name (Ex: ['Midterms, 93]). Finallist has only 2 items, the list name and the final grade (Ex: ['Final', 85]). Note: provide getters only for homeworks, quizzes, and midterms. No need for setters since . those are generated randomly. 3. deleteStudent: ask the user to enter the name of the student that supposed to be deleted and make sure if this student exists otherwise you should print a message to ask the user to either enter a correct name or return back to the menu. 4. displaystudentintos ask the user to either input the student name or the word "all then based on the input either display the information of a specific student or display information about all students 8. displaystatistics: ask the user for which homework and which quiz to displaystatistics then: (1) Find the name/minimum grade and name/maximum grade for the specified homework and for the specified quit. (2) For every student, find the overal grade, which is calculated as follows: Overall grade 30% of homework + 10% of quizzes + 30% of midterms + 30% of the final () Display (sorted based on the overall grade) the students' name, the overall grade, and grade symbol (Ex A, B. BA) as shown in the following description: Symbol Percentage Description A 90% and above becellent BA 85% to 89% Very Good 80% to 84% Good 75% to 9% Above Average 70% to 70% Average 65% to 69% Below Average 60% to 64% Inferior 59% and below Failure CB Student Class: This class is responsible for managing information about students through the following methods: 1. addNewStudent: ask student for his/her information, which are: (1) Student name (2) Birthday use this format MMDDYYYY (3) Address (4) Phone number: accepts digits or letters as in cell phones. For example: A, B, or is the digit 2 in the cell phone pad. Saved as digits only. Also, must check for 10 digits/letters only. (5) Grades: is a list of lists, in which the first item is the list of homework, second item is list of quizzes, third item is list of midterms, and the last item is the final list. All grades' values are randomly generated between 0 and 100. Homework and quizzes lists have a random number of elements between 3 and 6 with first element being the list name as string (Ex: ['Homework, 88, 99, 44), ('Quizzes', 68, 35]). Midterms list has a random number of elements between 2 and 3 including the list name (Ex: ['Midterms, 93]). Finallist has only 2 items, the list name and the final grade (Ex: ['Final', 85]). Note: provide getters only for homeworks, quizzes, and midterms. No need for setters since . those are generated randomly. 3. deleteStudent: ask the user to enter the name of the student that supposed to be deleted and make sure if this student exists otherwise you should print a message to ask the user to either enter a correct name or return back to the menu. 4. displaystudentintos ask the user to either input the student name or the word "all then based on the input either display the information of a specific student or display information about all students 8. displaystatistics: ask the user for which homework and which quiz to displaystatistics then: (1) Find the name/minimum grade and name/maximum grade for the specified homework and for the specified quit. (2) For every student, find the overal grade, which is calculated as follows: Overall grade 30% of homework + 10% of quizzes + 30% of midterms + 30% of the final () Display (sorted based on the overall grade) the students' name, the overall grade, and grade symbol (Ex A, B. BA) as shown in the following description: Symbol Percentage Description A 90% and above becellent BA 85% to 89% Very Good 80% to 84% Good 75% to 9% Above Average 70% to 70% Average 65% to 69% Below Average 60% to 64% Inferior 59% and below Failure CBStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started