Use C programming to Implement the breadth-first tree traversal. The tasks are:
a) Build the tree.
b) Perform breadth first traversal on the tree that you have built at step
a).
Note: "Please comment the program"
In: Computer Science
JB Co. is planning to invest in a new koala theme park. The investment will generate $4.5 million p.a. for 15 years with the first cash inflow received in one year's time. The required rate of return for this type of investment is expected to be 6% p.a. for years 1-9 rising to 11% p.a. for years 10-15. What is the most JB Co. should pay for this investment now?
In: Finance
The new Ocean FasTrack (Standard, Deluxe, Grand) is available for both children and adults at HK$280, HK$400 and HK$520 respectively. These FasTrack can enable holders enjoy priority accesses for designated rides and attractions with shorter queues but available at limited quotas. Based on economics concept, explain why Ocean Park has such practices
i) FasTrack launching
ii) limited quotas
In: Economics
Age of College Students Find the 80% confidence intervals for the variance and standard deviation of the ages of seniors at Oak Park College if a random sample of 23 students has a standard deviation of 2.9 years. Assume the variable is normally distributed. Use the chi-square distribution table to find any chi-square values to three decimal places. Round the final answers to one decimal place.
In: Statistics and Probability
JB Co. is planning to invest in a new koala theme park. The investment will generate $4.5 million p.a. for 15 years with the first cash inflow received in one year's time. The required rate of return for this type of investment is expected to be 6% p.a. for years 1-9 rising to 11% p.a. for years 10-15. What is the most JB Co. should pay for this investment now?
In: Finance
Research Article Critique, Part TwoThe Cognitive Impact of Chronic Diseases on Functional Capacity inCommunity-Dwelling Adults(Kim, Park, & An 2019
Which ones of these questionnaires, scales, or physiologic measures are used in this research study?
a. The Katz Index of Activities of Daily Living
b. The Charlson Comorbidity Index
c. The Bandura Self-Efficacy Scale
d. Clinical Skills Self-Efficacy Scale
In: Nursing
Time in years since the re-introduction of gray wolves to Yellowstone National Park (x) and total living biomass of willow plants along the high-risk Blacktail Creek (y).
|
a. |
Principles of inheritance – is a trait heritable? |
|
b. |
Life history tradeoffs |
|
c. |
Abiotic factors governing primary production |
|
d. |
Size-selective predation and/or predator-prey refugia |
|
e. |
Trophic cascades |
In: Biology
You are looking into a factory to make strained peas. You
estimate that the equipment will cost $50,000, which you would
depreciate over the 10-year life of the project to a book value of
zero. The salvage value of the equipment is zero. You think you can
sell 15,000 cans at $2/can. The cost of producing the cans is $0.80
each. Your tax rate will be 40%. You plan to maintain an inventory
equal to 25% of revenues and you can salvage 80% of this working
capital at the end of the project’s life. You plan to use your
garage, which means you will have to pay $2,000/year to park your
car elsewhere (the good news is that the $2,000/year is tax
deductible). To estimate the cost of capital for the project you
look at the following comparable firms:
Company D/E Tax rate Beta on stock
Gerber 1.00 0.50 1.5
Brio 0.50 0.40 1.3
You plan to finance this project entirely with equity. The current
T-Bond rate is 11.5% and the MRP is 5.5%. You also assume all debt
betas are equal to zero in your analysis.
a) What is the appropriate discount rate for the project?
b) What are the after-tax cash flows?
c) What is the NPV?
In: Finance
Jensen Company owns a building in a suburban industrial park. It purchased the building four years ago for $3 million. It is now deciding whether to lease the building or to use it as a distribution center. It could be leased immediately. Given today’s market conditions, lease income of $120,000 per year would be expected. To convert the building to make it useful as a distribution center would require an immediate expenditure of $400,000. Having the distribution center at this location would provide Jensen with $140,000 per year in cost savings, at today’s prices. The cash flows associated with this decision are not very risky, so a real discount rate of just 3% per year is required. Inflation of 2% per year is expected in the future. For simplicity, assume that: (i) there are no taxes, (ii) the building could be leased or used as a distribution center forever, (iii) ongoing cash flows, including rents and distribution cost savings, would increase with the overall inflation rate, and (iv) all cash flows except the initial $400,000 would occur at year end. (the last assumption implies that one year of inflation would affect the first lease payment and distribution cost saving) (a) Provide a NPV analysis and a recommendation of how the building should be used.(b) Is the outcome of your NPV analysis sensitive to changes in the assumed inflation rate?
In: Finance
Resorts & Spas, a magazine devoted to upscale vacations and accommodations, published its Reader's Choice List of the top 20 independent beachfront boutique hotels in the world. The data shown are the scores received by these hotels based on the results from Resorts & Spas' annual Readers' Choice Survey. Each score represents the percentage of respondents who rated a hotel as excellent or very good on one of three criteria (comfort, amenities, and in-house dining). An overall score was also reported and used to rank the hotels. The highest ranked hotel, the Muri Beach Odyssey, has an overall score of 94.3, the highest component of which is 97.7 for in-house dining. If required, round your answer to three decimal places.
| Hotel | Overall | Comfort | Amenities | In-House Dining | |||
| Muri Beach Odyssey | 94.3 | 94.5 | 90.8 | 97.7 | |||
| Pattaya Resort | 92.9 | 96.6 | 84.1 | 96.6 | |||
| Sojourner's Respite | 92.8 | 99.9 | 100.0 | 88.4 | |||
| Spa Carribe | 91.2 | 88.5 | 94.7 | 97.0 | |||
| Penang Resort and Spa | 90.4 | 95.0 | 87.8 | 91.1 | |||
| Mokihana Hōkele | 90.2 | 92.4 | 82.0 | 98.7 | |||
| Theo's of Cape Town | 90.1 | 95.9 | 86.2 | 91.9 | |||
| Cap d'Agde Resort | 89.8 | 92.5 | 92.5 | 88.8 | |||
| Spirit of Mykonos | 89.3 | 94.6 | 85.8 | 90.7 | |||
| Turismo del Mar | 89.1 | 90.5 | 83.2 | 90.4 | |||
| Hotel Iguana | 89.1 | 90.8 | 81.9 | 88.5 | |||
| Sidi Abdel Rahman Palace | 89.0 | 93.0 | 93.0 | 89.6 | |||
| Sainte-Maxime Quarters | 88.6 | 92.5 | 78.2 | 91.2 | |||
| Rotorua Inn | 87.1 | 93.0 | 91.6 | 73.5 | |||
| Club Lapu-Lapu | 87.1 | 90.9 | 74.9 | 89.6 | |||
| Terracina Retreat | 86.5 | 94.3 | 78.0 | 91.5 | |||
| Hacienda Punta Barco | 86.1 | 95.4 | 77.3 | 90.8 | |||
| Rendezvous Kolocep | 86.0 | 94.8 | 76.4 | 91.4 | |||
| Cabo de Gata Vista | 86.0 | 92.0 | 72.2 | 89.2 | |||
| Sanya Deluxe | 85.1 | 93.4 | 77.3 | 91.8 | |||
1.Use the t test to determine the significance of each independent variable. What is the conclusion for each test at the 0.01 level of significance? If your answer is zero, enter “0”.
The p-value associated with the estimated regression parameter b1 is ___ (not 0)
2. Remove all independent variables that are not significant at the 0.01 level of significance from the estimated regression equation. What is your recommended estimated regression equation? Enter a coefficient of zero for any independent variable you chose to remove.
y hat = 45.1461 +() x1 +() x2 + ()x3
In: Statistics and Probability