Question: PYTHON PROGRAMMING Assignment 3 For the following program: 1) Create an algorithm called surveyAlgorithm.txt 2) Create the source code called survey.py 3) Upload your algorithm

PYTHON PROGRAMMING

Assignment 3

For the following program:

1) Create an algorithm called surveyAlgorithm.txt

2) Create the source code called survey.py

3) Upload your algorithm and source code.

Write a program that uses the following menu to keep track of student information:

1) Enter a student

2) Quit

If 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.

Include the following in your algorithm:

If statements/Loops:

Main menu loop

Input validation loop for grade level menu

Input validation loop for test score

Calculations:

Grade level counters

Total students

Grade level percentages

Total test score

Average test score

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!