WEEK 3 assignmentThis week's assignment involves writing aPython program to compute the cost of house cleaning. Your program shouldprompt the user for the number of rooms in the house and the type of...

1 answer below »


WEEK 3 assignment







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
(eg. Floors, Windows, Bathrooms, Dusting, etc.). Your program must offer
at least two types of cleaning and the price is different for each type.
You should decide 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 number of rooms, a medium number or a large number 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 screen
shot 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,
date in the output).















Design


– outline proper sequence of steps, calculations. Identify values of any
known constants (cost of each service).

Outline
proper sequence of steps, calculations. Identify values of any known constants,
thresholds, test conditions, loops. Identify what the user inputs will be and
what the output will be.








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 choices selected. Include screen shots for
each test case.

Test Plan/Report submitted with
at least three test cases. Includes a screen shot for each test case.
Includes (when necessary) test cases for invalid inputs.








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

Python code runs correctly on all test
cases. Satisfies all requirements compiles - effectiveness and neatness ,
descriptive variables def main().







Program prompts and executes correctly on
all test cases. Satisfies all requirements. (each requirement -10pts, compiles
-20pts, effectiveness and neatness -10pts, descriptive variables – 5pts, def
main() -5pts).

Included all of the following: Header
comments. Documentation for the values you chose as the known constants (hourly
rate, commission rate, etc.) In-line comments of major steps (from design
outline);


















NOTE:
PLEASE SEND ME ALL FILES INCLUDE HOW THE CALCULATIONS BEEN DONE, WITH ATTCHED
.PY IDLE FILE. THE WORD FILE HAS TO BE ACCORDING TO AVOBE REQUIREMENTS. THANK
YOU


Answered Same DayNov 03, 2022

Answer To: WEEK 3 assignmentThis week's assignment involves writing aPython program to compute the cost of...

Nidhi answered on Nov 04 2022
58 Votes
# This program used to compute cost of the house cleaning based on the number of rooms and
the typ
e of cleaning.
# It will ask to user for number of rooms in the house and the type of cleaning (eg. Floors,
Windows, Bathrooms, Dusting, etc.). It will compute house cleaning based on the number of
rooms and the type of cleaning.
# House size values:
# small house = 1 (Multiple of final cost)
# medium house = 2 (Multiple of final cost)
# large house = 4 (Multiple of final cost)
# List of service cost
# floors = 100
# windows = 200
# bathrooms = 300
#...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here