Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

  1. Display a message stating its goal

  2. Ask the users to input how many RATs they completed

  3. 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)

  4. For each RAT, ask the users to enter their score

  5. 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)

  6. Calculate and output the current RAT average (questions right * 100/questions total)

  7. Ask the users to input how many WAs they completed

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

  9. If the entry is invalid ask the users to try again until a valid input is received (hint: use WHILE loop)

  10. For each WA, ask the users to enter their score

  11. 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)

  12. Calculate and output the current WA average (questions right * 100/questions total)

  13. Ask the users to input how many questions they got correct on the Python quiz.

  14. 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)

  15. Calculate and output the current Python quiz score (questions right * 100/25)

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 1 Lncs 13426

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124227, 978-3031124228

More Books

Students also viewed these Databases questions

Question

2. Identify issues/causes for the apparent conflict.

Answered: 1 week ago