Instructions:
This week’s assignment involves rewriting the Python program you wrote for your assignment last week to use a function. All the requirements from last week still apply. The function should accept the number of rooms, and the type of cleaning as parameters and should return the cost of the house cleaning. The main program should prompt the user for the number of rooms in the house and whether the cleaning should be a light cleaning or a more complete one, it should call the function that computes the cost and should output the value the function returns.
If your program from last week contained any bugs, you should correct them in this submission.
Your program should include Header comments (what the program does) and in-line comments (the major design steps). Document the values you chose as the cutoffs for the three house sizes, the cost for each size, and the surcharge for a more complete cleaning in your comments as well.
Submit your Python program as a text file (.py) file. In addition, submit a Design outline and a Test plan/report (at least 3 different test cases) in a Word document or a PDF file and include a screenshot of execution of your program for each test case.
Your submission must also adhere to the Submission Requirements document. (i.e., Filename and display your name, class, and date in the output).
Grading:
10% – Design – outline proper sequence of steps, calculations (if necessary). Identify values of any known constants (discount amount or percentage for seniors, cost of each service).
10% – Test Plan – Completeness of your Test plan/report (at least three test cases). You should have tests to show your validation/error process. You should have test cases for different combinations of Senior/Not senior and different services. Include screenshots for each test case.
10% – Documentation – Header and in-line comments. Include documentation for the values you chose as the known constants (i.e., the cost of each service) in your comments as well. Documentation of major steps (from Design outline).
70% – Program prompts and executes correctly on all test cases. Satisfies all requirements (each requirement – 10 pts, compiles – 20 pts, effectiveness and neatness – 10 pts, descriptive variables – 5 pts, def main() – 5 pts).
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more