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

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

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
Transcribed Image Text: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
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY