First, create the lab08 folder using the mkdir command — the folder needs to be

[ad_1]

First, create the lab08 folder using the mkdir command — the folder needs to be inside your Labs folder as well.Next, copy a file into your lab08 folder using the cp command.cp /afs/umbc.edu/users/k/k/k38/pub/cs201/given_spend.py spending.pyThis will copy the file given_spend.py from Dr. Gibson’s public folder into your current folder, and will change the file’s name to spend.py instead.The first thing you should do in your file is complete the file header comment, filling in your name, section number, email, and the date.CMSC 201 – Computer Science I for Majors Page 7Part 3B: Finishing the FunctionsAt this point, if you try to run the file, it will only print out the category titles for the expenditures, and nothing else. That is because the file is only partially completed for you.You will need to update the file to complete the two function definitions, and one function call. If you open the file, you should see comments boxed in by #signs – these are where you need to write new code. Read the function header comments to see the details about the two functions.You’ll need to think carefully about the two-dimensional spending list and how its contents are organized (and how you can access them). It might be helpful to draw a visual representation, and to label the indexes.For printSpending() and tallySpending(), you’ll need to write awhile loop. Make sure to pay attention to what the function’s already written code does, as well as things like variable names.Once both functions are complete, you need to call tallySpending() down in main(), as well as uncommenting the print() statement below it. Youshouldn’t need to write any other code.(See the next page for sample output.)CMSC 201 – Computer Science I for Majors Page 8Here is some sample output of the completed program.There is no user input, and yours should be identical once it’s complete.(The printed list of expenditures for eating out is long enough to wrap around in this document, but is should not wrap around when you run it in the terminal.)CMSC 201 – Computer Science I for Majors Page 9Part 4: Completing Your LabSince this is an in-person lab, you do not need to use the submit command to complete your lab. Instead, raise your hand to let your TA know that you are finished.They will come over and check your work – they may ask you to run your program for them, and they may also want to see your code. Once they’ve checked your work, they’ll give you a score for the lab, and you are free to leave.

The post First, create the lab08 folder using the mkdir command — the folder needs to be appeared first on homework handlers.

[ad_2]

Source link

How would one create an Activity Diagram/Activity Flow out of the information g

[ad_1]

How would one create an Activity Diagram/Activity Flow out of the information given below? Ms. Katie Couling has opened a new business offering landscape supplies and services, called Katie’s Landscaping. She has acquired 2 dump trucks, 2 front-end loaders, hired the necessary drivers (2), and brought on a small sales staff (3). Through her contacts, she has lined up some regular business to provide stone of various sizes, top soil, sand and wood chips for the spring, summer and fall months to both residential and commercial customers. Furthermore, she has the usual walk-in business that purchases the landscape supplies for either immediate pick-up (their own pick-up truck), or to be delivered (at an additional charge). She is looking for help in scheduling the equipment, monitoring the supplies (both her purchase of the supplies at wholesale rates and the sales of these supplies at retail rates), and further marketing to increase her sales.Searching for solutions, Ms. Couling contacted a friend at her local community college, and arranged to have a team of advanced Business Information students review her operation and present a written proposal for an automated computer system. One student visited with Ms. Couling and reviewed her operation, to identify some of her needs. The student did some preliminary fact-finding for analysis. Here is some of what that student found out from interviews:

The post How would one create an Activity Diagram/Activity Flow out of the information g appeared first on homework handlers.

[ad_2]

Source link

1.   When were cane toads introduced to Australia?     Cane toads were introduc

[ad_1]

1.   When were cane toads introduced to Australia?     Cane toads were introduced into north-eastern Australia around 1935.2.   Why were cane toads introduced to Australia?            Cane toads were introduced to Australia to control the cane grub.3.   Where are the cane toads native? The cane toad native is originally from South America and was introduced to Hawaii.4.   Briefly describe the reproductive life-cycle of cane toads.They start as eggs, hatch as tadpoles, develop into juveniles known as metamorphs, grow and mature into an adult. Cane toad may take up to 2 years to reach maturity. Cane toads cannot climb and hold vertical surfaces very well in comparison to frogs.5.   What is it about the life-cycle that makes cane toad populations successful?6.   Did they do “their job”? Why or why not?7.   Are cane toad populations expanding exponentially or logistically in Australia?8.   Are there natural predators of cane toad tadpoles in Australia? 9.   Are the adult cane toads habitat-specific? Yes, the adult cane toads are habitat-specific.10. Are cane toads palatable? Why or why not?11. What are some of the ways that humans appreciate or use cane toads?12. 13. How might conservation biologists control cane toad populations? Biologists says that resting toads has been meta physical as apparatus that remove them will often wipe out frogs. Toads in Queensland that lagged lost the invasion arch and hang they were infected mutually a lungworm virus which slows full adults and, in empirical tests, kills completely 30% of baby toads. 14. What are the ramifications (pros and cons) of introducing a natural predator of cane toads?

The post 1.   When were cane toads introduced to Australia?     Cane toads were introduc appeared first on homework handlers.

[ad_2]

Source link

A convenience store recently started to carry a new brand of health drink. Mana

[ad_1]

A convenience store recently started to carry a new brand of health drink. Management is interested in estimating the future sales volume to determine whether it should continue to be stocked. At the end of April, the average monthly sales volume of the new drink was 700 bottles and the trend was +50 bottles per month. The actual sales volume for May, June and July are 760, 800 and 820 respectively. Use trend-adjusted exponential smoothing with andto forecast sales for June, July and August. Hint: Sales for April are 700 bottles. You should start with the smoothed (SES) forecast for April = 700 bottles and trend (April) = 50.

The post A convenience store recently started to carry a new brand of health drink. Mana appeared first on homework handlers.

[ad_2]

Source link