Hide Assignment InformationTurnitin™This assignment will be submitted to...

1 answer below »
































































































Turnitin™ enabled


This assignment will be submitted to Turnitin™.


















This week's assignment involves writing a Python program to compute the cost of house cleaning. Your program should prompt the user for the number of rooms in the house and the type of cleaning (e.g., floors, windows, bathrooms, dusting). Your program must offer at least two types of cleaning and the price is different for each type.You shoulddecide on the choices to offer and the different prices of each type of cleaning. The cost should be based on whether the house has a small, medium, or a large number of rooms and the type of cleaning. You should decide on the cutoffs for what constitutes a small, medium, and large number of rooms. Your program should output the cost of the house cleaning based on the number of rooms and the type of cleaning.








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 prices for each cleaning type 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 (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 SubmissionRequirements document (i.e., Filename and display your name, class, date in the output).








Grading:








10% - Design – outline proper sequence of steps, calculations (if necessary). Identify values of any known constants (cost of each service).








10% - TestPlan – 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 choices selected. Include screenshots for each test case.








10% - Documentation - Header and in-line comments. Include document for the values you chose as the known constants cost of each service (cutoffs for the three house sizes, the cost for each size and the prices for each cleaning type) 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).

















Important note:








This is an individual assignment and students are required to submit their original/independent work and adhere to UMGC academic integrity policy.Your submission should adhere to the Submission Requirements document. It is advised that you read all the material, including the Lecture before attempting the assignment. Also, review the example programs and practice exercises. If you do not understand something, reach out to your professor or the UMGC tutor.














Answered Same DayApr 06, 2023

Answer To: Hide Assignment InformationTurnitin™This...

Kamala answered on Apr 07 2023
36 Votes
COST of HOUSE Cleaning
Based on room type, cleaning cost was fixed for 2 different services. Floors
and Dusting.
Test case-1
OUTPUT for Valid input
Test case-2
OUTPUT for invalid input
Test case-2
OUTPUT validating input from the user until user enter correct valid house clean option
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here