assignment01
docx
keyboard_arrow_up
School
Centennial College *
*We aren’t endorsed by this school
Course
100
Subject
Industrial Engineering
Date
Dec 6, 2023
Type
docx
Pages
4
Uploaded by PresidentLobsterPerson956
Week 1
Programming Fundamentals: IPO Charts
Assignment 1 – Due in Week 2.
Answer the questions below in this file. Save it. Once you are done, upload to eCentennial under
Assessments / Assignment / Assignment 1
For each of the problems below determine what is required i.e. identify the output(s) and then the given
input(s). Do a sample calculation that will transform the input into the required output. If this is successful,
then the problem is solvable. If it can be solved then create a three-column IPO chart similar to the ones we
did in your first class and then generate an algorithm. Else if it is not solvable then explain what is needed to
make it solvable. If you make any assumption in your calculation, then you must clearly state so.
For each question in your submission, you must have either
a)
the question, output, input, processing (if any) any assumptions, a sample calculation, and the IPO
chart/
or
b)
the question and an explanation why it is not solvable
Please note that the IPO chart should not contains numbers, even the calculations just items
Page
1
of
4
Week 1
Programming Fundamentals: IPO Charts
1.
Acme Builder’s Inc. has worked out that the wiring of an average house requires 45m of 14AWG wire. If a
contractor has to wire 5 houses, what length of wire will be needed?
Input
Processing
Output
Average length per house
Number of houses
Multiply the average length
by the number of houses
Total length of wire needed
Sample Calculation:
Total wire length needed = Average length per house * Number of houses.
45m * 5= 225m.
2.
Burnaby Farms wants to estimate the cost of fertilizing their fields for the coming year. Each hectare of
cultivated land requires 15kg and they intend to work 300 hectares.
Input
Processing
Output
Fertilizer price per KG
(assumption)
Fertilizer requirement per
hectare
Number of hectares
Multiply Fertilizer price per
KG, Fertilizer required per
hectare and Number of
hectares
Total cost
Sample Calculation:
Total cost = Fertilizer required per hectare * Number of hectares * Price of fertilizer per KG.
15 * 300 * Price of fertilizer per KG
3.
Cherry Entertainment Corp. is looking into the profitability of hosting MMA XXII at the Rogers Center. The
sale of tickets, broadcasting rights and advertising will gross approximately $2 million. How much profit will
Cherry Entertainment Center make if Rogers Centre costs $800, 000?
Input
Processing
Output
Gross revenue
Cost of Rogers Centre
Subtract the cost of Rogers
Centre from the gross
revenue
Profit
Sample Calculation:
Total wire length needed = Average length per house * Number of houses.
45m * 5= 225m.
4.
Delta Airlines estimates that the fuel efficiency of a Boeing 747 jet is 12 liters per km. If the price of
aviation fuel is $1 per liter, how much would it cost the airline to fly to New York and back from Toronto?
The question is not solvable because the distance between New York and Toronto is not mentioned in
the question.
Page
2
of
4
Week 1
Programming Fundamentals: IPO Charts
5.
Estelle’s Grocery is having a back-to-school sale of up to 50% off on most food items. The price of potatoes
is 11
₵
per kg. A plastic bag costs 5
₵
. What will the total cost (potatoes and bag) if someone buys 25kg of
potatoes?
Input
Processing
Output
Price of potatoes per KG
Weight of potatoes
Price of plastic bags
Multiply price per KG and
weight of potatoes, then
add the price of a plastic
bag
Total cost
Sample Calculation:
Total cost = (Price of potatoes per KG * Weight of potatoes) + Price of plastic bag.
(11 * 25) + 5 = 280
₵
6.
Fancy Jewelers is located in the Scarborough Town Center on the second floor near to Wal-Mart. In their
Boxing week sale earrings were priced at $20 per pair. If Narendra wants to get a pair for as many females
in his family as he can. How many pairs can he get if he has $125? [You may assume that there are more
females in his family than he can buy earrings.]
Input
Processing
Output
Earring price per pair
Budget
Divide the budget by the
earring price per pair
Number of pairs (only
whole number)
Sample Calculation:
Number of pairs = Budget / Earring price per pair.
125 / 20 = 6.25 = 6 pairs.
7.
Gerard The Plumber charges $1.25 per meter for pipe installation. Each join cost 90
₵
. How much will
Gerard charge for a job that is 12m with 4 joins?
Input
Processing
Output
Length of pipe installation
Number of joins
Charge per meter
Cost per join
Multiply Length of pipe
installation with charge per
meter
Multiply number of joins
with cost per join
Add them both
Total charge
Sample Calculation:
Total charge = (Length of pipe * Charge per meter) + (Number of join + Cost per join)
(12 * 1.25) + {(90 * 4)/100} = 18.6$
8.
Last year at the CNE, the Halls family bought 50 ride tickets. If the Polar Express, the Ferris Wheel, the High
Drop and the Waterfall require 15, 10, 12 and 9 tickets respectively, how many tickets will remain at the
end of the day?
Page
3
of
4
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Week 1
Programming Fundamentals: IPO Charts
Input
Processing
Output
Total ride tickets
Tickets required for each
ride
Subtract ticket required for
each ride from the total
ride tickets
Remaining tickets
Sample Calculation:
Remaining tickets = Total ride tickets – Ticket required for each ride
50 – 15 – 10 – 12 – 9 = 4.
9.
Isabelle’s Confectionary sells a packet of Maynard’s sour drops for 25
₵
. Each packet contains approximately
30 candies. How many packets will Sarah get if she has $3?
Input
Processing
Output
Cost per packet
Budget
Divide the budget by the
cost per packet
Number of packets
Sample Calculation:
Number of packets = Budget / Cost per packet
(3 * 100) / 25 = 12.
10.
Jake’s Towing Services works out of the Markham/Finch area. They charge $5.50 per km for towing in
addition to a flat service fee of $18. What would be the cost of towing a Toyota RAV 4 from
Morningside/Ellesmere to McCowan/Sheppard?
The question is not solvable because the distance between Morningside/Ellesmere to
McCowan/Sheppard is not mentioned in the question.
Page
4
of
4