COP 1000C Lab Assignment 4.pdf 2/2 File Edit Shell Debug Options Windows Help WELCOME TO THE STUDENT SURVEY!! following menu: Please choose from the 1) Enter Student Information Quit 2 ) Enter your choice here 1 Please choose the from the following menu: grade level 1 ) Freshman Sophomore 2) 3) Junior 4. Senior Enter the grade level here: 2 test s Core: Enter the -10 Invalid test Must be between O and 100. SCore Ln: 65 Col: 4 X Tk Python Shell File Edit Shell Debug Options Windows Help Enter the test score: -10 Invalid test score Must be between 0 and 100. Enter the test score: 90 Please choose from the following menu: 1) Enter Student Information 2) Quit Enter your choice here: 3 You must choose 1 or 2 from the menu Invalid selection. Please choose from the following menu: 1) Enter Student Information 2) Quit Enter your choice here: 1 Please choose the grade level from the following menu: 1) Freshman 2) Sophomore 3) Junior 4) Senior Enter the grade level here: 3 Enter the test score: 70 Please choose from the following menu: 1) Enter Student Information 2) Quit Enter your choice here: 2 Good bye. Total number of students entered: Average test score 80.00 + Percents Freshman: 0.00 50.00 Sophomores Juniors 50.00 Seniors: 0.00 Ln: 67 Col: 4
How would i solve this question? I have the sample output but how do I make it?
Write a program in python that uses the following menu to keep track of student information:
1) Enter a student
2) Quit I
f the user chooses 1, prompt the user to enter a grade level (to be chosen from the given menu) and a test score. Keep track of the following:
• Total number of Freshman, Sophomores, Juniors, and Seniors
• Total number of students entered
• Total of all test scores entered When the user chooses to quit, calculate: • The percentage of students that fall into each category
• The average of all the test scores entered Display your results as shown. Input validation:
• The user must choose valid options from the menus.
• The user must enter a test score between 0 and 100.
![COP 1000C Lab Assignment 4.pdf
2/2
File
Edit
Shell
Debug Options
Windows
Help
WELCOME TO THE STUDENT SURVEY!!
following menu:
Please
choose
from
the
1)
Enter Student Information
Quit
2 )
Enter your choice here
1
Please
choose the
from the following menu:
grade level
1 )
Freshman
Sophomore
2)
3)
Junior
4.
Senior
Enter the grade level here: 2
test s Core:
Enter
the
-10
Invalid test
Must be between O and 100.
SCore
Ln: 65 Col: 4
X
Tk Python Shell
File Edit Shell Debug Options Windows Help
Enter the test score: -10
Invalid test score
Must be between 0 and 100.
Enter the test score: 90
Please choose from the following menu:
1) Enter Student Information
2) Quit
Enter your choice here: 3
You must choose 1 or 2 from the menu
Invalid selection.
Please choose from the following menu:
1) Enter Student Information
2) Quit
Enter your choice here: 1
Please choose the grade level from the following menu:
1) Freshman
2) Sophomore
3) Junior
4) Senior
Enter the grade level here: 3
Enter the test score: 70
Please choose from the following menu:
1) Enter Student Information
2) Quit
Enter your choice here: 2
Good bye.
Total number of students entered:
Average test score
80.00
+
Percents
Freshman:
0.00
50.00
Sophomores
Juniors
50.00
Seniors:
0.00
Ln: 67 Col: 4](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fbafb91c4-d0e9-420d-bcb8-652a0f90941a%2F792b7c54-ad8a-4f3b-8d02-4dcccbc32caa%2Fe75l7y.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)