computer

profilesniper87
homework.docx

CS1160 Homework #1-1 – Specifications

Create a specifications document in Microsoft Word with sections for inputs, outputs, and algorithm for the following problems. The you will show step-by-step examples as seen in Section B stepping through your algorithm. Name your file “cs1160_hw1-1.doc” and submit as a Word document only. No other formats will be accepted.

A) Create the Specifications for the following problems.

1. Estimate the cost of painting the exterior of a house.

2. Determine whether taking a commuter train or driving to work is more economical.

B) Show a Step-by-Step Example based on your Specifications above.

1. Now show an example of estimating the cost using your algorithm from Section A.1 and assuming the cost of paint is $10 per bucket. (You may include other numbers as needed. For example, you might assume the exterior of your house is 2100 sq. feet.)

2. Now show an example step-by-step using your algorithm in Section A.2 of which is more economical when the distance to work is 100 miles. (You may include other numbers as needed. For example, you might assume your car gets 21 mpg.)

Start Date

Jan 15, 2014 5:00 PM

Due Date

Jan 22, 2014 11:59 PM

https://pilot.wright.edu/d2l/img/0/Shared.Main.infInfo.gif?v=10.1.0.398-18

CS1160 Homework #1

-

1

Specifications

Create a specifications document in Microsoft Word with sections for inputs, outputs, and algorithm for the following problem

s. The you

will show step

-

by

-

step examples as seen in Section B stepping through your algorithm. Name your file “cs1160_hw1

-

1.doc”

and submit

as a Word document only. No other formats will be accepted.

A) Create the Specifications for the following problems.

1. Estimate the cost of painting the exterior of a house.

2. Determine whether taking a commuter train or driving to work is mor

e economical.

B) Show a Step

-

by

-

Step Example based on your Specifications above.

1. Now show an example of estimating the cost using your algorithm from Section A.1 and assuming the cost of paint is $10 per

bucket.

(You may include other numbers as needed.

For example, you might assume the exterior of your house is 2100 sq. feet.)

2. Now show an example step

-

by

-

step using your algorithm in Section A.2 of which is more economical when the distance to work is

100 miles. (You may include other numbers as neede

d. For example, you might assume your car gets 21 mpg.)

Start Date

Jan 15, 2014 5:00 PM

Due Date

Jan 22, 2014 11:59 PM

CS1160 Homework #1-1 – Specifications

Create a specifications document in Microsoft Word with sections for inputs, outputs, and algorithm for the following problems. The you

will show step-by-step examples as seen in Section B stepping through your algorithm. Name your file “cs1160_hw1-1.doc” and submit

as a Word document only. No other formats will be accepted.

A) Create the Specifications for the following problems.

1. Estimate the cost of painting the exterior of a house.

2. Determine whether taking a commuter train or driving to work is more economical.

B) Show a Step-by-Step Example based on your Specifications above.

1. Now show an example of estimating the cost using your algorithm from Section A.1 and assuming the cost of paint is $10 per bucket.

(You may include other numbers as needed. For example, you might assume the exterior of your house is 2100 sq. feet.)

2. Now show an example step-by-step using your algorithm in Section A.2 of which is more economical when the distance to work is

100 miles. (You may include other numbers as needed. For example, you might assume your car gets 21 mpg.)

Start Date

Jan 15, 2014 5:00 PM

Due Date

Jan 22, 2014 11:59 PM