Question
The program should: Python (no other addon) Display a message stating its goal Ask the users to input how many RATs they completed Check that
The program should:
Python (no other addon)
-
Display a message stating its goal
-
Ask the users to input how many RATs they completed
-
Check that the entry is valid - users cant enter less than 1 or more than 4 number of RATs. If the entry is invalid ask the users to try again until a valid input is received (hint: use WHILE loop)
-
For each RAT, ask the users to enter their score
-
For each score, check that the entry is valid - users cant enter less than 0 or more than 5 for a RAT. If the entry is invalid ask the users to try again until a valid input is received (hint: use WHILE loop)
-
Calculate and output the current RAT average (questions right * 100/questions total)
-
Ask the users to input how many WAs they completed
-
Check that the entry is valid - users cant enter more than twice the number of RATs theyve taken, or less than twice the number of RATs theyve taken -1. For example, If a user had taken 1 RAT, the number of WA taken must be between 1 and 2; if a user had taken 2 RATs, the number of WA taken must be between 3, and 4; if a user had taken 3 RATs, the number of WA taken must be between 5, and 6, if a user had taken 4 RATs, the number of WA taken must be between 7, and 8.
-
If the entry is invalid ask the users to try again until a valid input is received (hint: use WHILE loop)
-
For each WA, ask the users to enter their score
-
For each score, check that the entry is valid - users cant enter less than 0 or more than 10 for each WA score. If the entry is invalid ask the users to try again until a valid input is received (hint: use WHILE loop)
-
Calculate and output the current WA average (questions right * 100/questions total)
-
Ask the users to input how many questions they got correct on the Python quiz.
-
Check that the entry is valid - users cant enter less than 0 and more than 25 for the total number of correct answers on the quiz. If the entry is invalid ask the users to try again until a valid input is received (hint: use WHILE loop)
-
Calculate and output the current Python quiz score (questions right * 100/25)
-
Calculate the weights of the grades and output the current score in the course based on the inputs received (remember: RATs are 0.2 of the final + WAs are 0.7 of the final + the quiz is 0.1 to equal the overall final grade)
Step 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