Assignment 1 COMPLETED

docx

School

Centennial College *

*We aren’t endorsed by this school

Course

100

Subject

Industrial Engineering

Date

Feb 20, 2024

Type

docx

Pages

5

Uploaded by MegaElectronHornet33

Report
Input Processing Output Number of houses Algorithm: 1. Accept and prompt number of houses 2. Calculate how much wire is needed houses * wiring for house (45m) Amount of wire needed for wiring a certain number of houses 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? 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. This Question cannot be answered because the customer did not provide us with the cost of the fertilizer per 15kg so we cannot estimate the cost. However, what we are able to do is figure out how much kg of fertilizer is needed for 300 hectares 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 cost $800, 000? Input Processing Output Gross Income Venue Cost Algorithm: 1. Prompt the Gross Income and Venue Cost 2. Prompt calculate Total Profit = Gross Income - Venue Cost 3. Display Total Profit Total Profits 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? Input Processing Output Distance Trips Algorithm: 1. Prompt and accept distance value 2. Prompt and accept amount of trips 3. Calculate total cost; Total cost = (Distance/12) *trips 4. Display total cost Total cost of fuel
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 School sale amount = 50% Cost of potatoes = 11cent/kg Cost of 1 bag = 1cent Algorithm: 1. Prompt and accept amount of potatoes customer buying 2. Calculate the total cost = discount amount * price of potatoes * amount of potatoes + cost of bag 3. Display the total cost of potatoes Total cost of potatoes. 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 Amount of Money = $125 Cost of Earrings = $20 per pair Algorithm: 1. Prompt and accept amount of money he has 2. Calculate earrings = total money he has / price of earrings per pair 3. Display pairs of earrings he can afford Pairs of earrings he can afford. 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 Charge per meter Charge per joint Pipe length Algorithm: 1. Prompt and accept the total charge for pipe installation. Amount Charged
2. Prompt and accept the charge per meter and charge per joint. 3. Prompt and accept the total length of the pipe. 4. Calculation: charge/pipe meter x total length + (joincost) x 4 which is = 18.60 cent. 5. Display amount of charge. 8. Last year at the CNE, the Halls family bought 50 ride tickets. If the Polar Express, the Ferris Wheel, the HighDrop and the WaterFall requires 15, 10, 12 and 9 tickets respectively, how many tickets will remain at the end of the day? Input Processing Output Polar Express tickets The Ferris Wheel tickets The High Drop tickets The WaterFall tickets Algorithm: 1. Prompt and accept the total number of the tickets 2. Prompt and accept the number of the Polar Express tickets 3. Prompt and accept the number of the Ferris Wheel tickets 4. Prompt and accept the number of the High Drop tickets 5. Prompt and accept the number of the WaterFall tickets 6. Calculate the remaining tickets = the total number of the tickets - the sum of the used tickets during the day 7. Display the remaining tickets Remaining tickets 9. Isabelle’s Confectionary sells a packet of Maynard’s sourdrops for 25₵. Each packet contains approximately 30 candies. How many packets will Sarah get if she has $3?
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
Input Processing Output Total amount of money Cost of a packet Algorithm: 1. Prompt and accept total money 2. Prompt and accept cost of a packet 3. Calculate number of packets = total amount of money/cost of a packet 4. Display number of packets Number of Packets 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? Input Processing Output Amount of KM Algorithm: 1. Prompt and accept number of km 2. Calculate 5.50 * number of km 3. Calculate sum of (5.50 + number of km) + $18 4. Display number of kms 5. Display total cost Total cost Number of Kms SAMPLE CALCULATIONS: Q1. number of houses * amount of wire needed for house (45m) Q2. Could not be answered Q3 . Total Profit= Gross Income= Venue Cost = 2000000 - 800000 = $1200000 Q4. Total cost(c) = (Distance(d)/12) *trips(t) = (d/12) *t = 55.0km / 12 = 46 Q5. Half price * [price of potatoes * amount of potatoes(kg)] + Cost of the bag = Total cost of potatoes = 0.5 * 11cent * amount of kg + 1cent
= 0.5 * 11 * 25 +1 = 137.5 +1 = 138.5 Q6 . Earrings = total amount of money he has / price of earrings per pair = 125 / 20 = 6.25 Q7. Charge/pipe meter X total length + (joincost) X 4 =1.25 x 12 = 15 + (90 x 4) cents =15+3.60 =15 + 3.60 =$18.60 Q8. Remaining tickets = Total number of the tickets - the sum of the used tickets during the day = Total number of the tickets - (Polar Express tickets + The Ferris Wheel tickets + The High Drop tickets + The Waterfall tickets) = 50 - ( 15 + 10 +12 + 9) = 50 - 46 = 4 Tickets Q9. Total amount of money/cost of a packet=number of packets =3/0.25 =12 Q10. Amount of km + 5.50 per km + $18 (flat rate)