Tree Traversals It should be noted that, in class, all traversal
methods were written as recursive algorithm (i.e. at some point,
the method called itself). It is possible to implement
non-recursive versions of preorder, inorder, and postorder
traversal methods mentioned in class. One intuitive way is by using
a stack.
1) Give written pseudocode/explanation of :
a) How to build the tree such that a given non-recursive traversal
method can be used.
b) Your algorithm for a non-recursive preorder, inorder, OR
postorder traversal method (You only have to pick one)
2) Implement the above mentioned algorithms. Traversals should
print out nodes in their required order.
In: Computer Science
what is meant by the term data consolidation
In: Computer Science
Hi-Tek Manufacturing, Inc., makes two types of industrial component parts—the B300 and the T500. An absorption costing income statement for the most recent period is shown:
| Hi-Tek Manufacturing Inc. Income Statement |
|||
| Sales | $ | 1,651,600 | |
| Cost of goods sold | 1,230,832 | ||
| Gross margin | 420,768 | ||
| Selling and administrative expenses | 550,000 | ||
| Net operating loss | $ | (129,232 | ) |
Hi-Tek produced and sold 60,400 units of B300 at a price of $19 per unit and 12,600 units of T500 at a price of $40 per unit. The company’s traditional cost system allocates manufacturing overhead to products using a plantwide overhead rate and direct labor dollars as the allocation base. Additional information relating to the company’s two product lines is shown below:
| B300 | T500 | Total | ||||
| Direct materials | $ | 400,600 | $ | 162,500 | $ | 563,100 |
| Direct labor | $ | 120,700 | $ | 43,000 | 163,700 | |
| Manufacturing overhead | 504,032 | |||||
| Cost of goods sold | $ | 1,230,832 | ||||
The company has created an activity-based costing system to evaluate the profitability of its products. Hi-Tek’s ABC implementation team concluded that $57,000 and $108,000 of the company’s advertising expenses could be directly traced to B300 and T500, respectively. The remainder of the selling and administrative expenses was organization-sustaining in nature. The ABC team also distributed the company’s manufacturing overhead to four activities as shown below:
| Manufacturing Overhead |
Activity | |||||
| Activity Cost Pool (and Activity Measure) | B300 | T500 | Total | |||
| Machining (machine-hours) | $ | 206,992 | 90,100 | 62,100 | 152,200 | |
| Setups (setup hours) | 135,240 | 72 | 250 | 322 | ||
| Product-sustaining (number of products) | 101,400 | 1 | 1 | 2 | ||
| Other (organization-sustaining costs) | 60,400 | NA | NA | NA | ||
| Total manufacturing overhead cost | $ | 504,032 | ||||
Required:
1. Compute the product margins for the B300 and T500 under the company’s traditional costing system.
2. Compute the product margins for B300 and T500 under the activity-based costing system.
3. Prepare a quantitative comparison of the traditional and activity-based cost assignments.
In: Accounting
In: Economics
6+ sentences minimum. I will give you thumb up!
In: Operations Management
Golf and Chi-Square Tests
Discussion
Introduction
This discussion provides a simulated exercise using two of the most popular Chi-Square statistical tests. You are strongly encouraged to complete the textbook reading and start the MyStatLab Homework assignment before beginning this discussion. You need to be familiar with the Chi-Square distribution, its interpretation, and how results are typically calculated and reported together.
In this discussion, you are required to calculate and interpret your findings.
Review the information in each section and participate in the discussion.
Golf Rounds Scenario
As the Director of Golf for the Links Group, you are trying to determine if there is a significant difference in the number of rounds of golf played based on the day of the week. So far, you've gathered the following sample information for 520 rounds.
| Day of the Week | Number of Rounds Played |
|---|---|
| Monday | 124 |
| Tuesday | 74 |
| Wednesday | 104 |
| Thursday | 98 |
| Friday | 120 |
Now, you need to use the sample to answer these questions. For each question, the null hypothesis is that the cell categories are equal, and the significance level is .05.
Golf Ball Quality Scenario
In addition to determining if there is a significant difference in the number of rounds of golf played based on the day of the week, you also have to determine which brand of "range balls" to buy for use at the driving range. You are looking for the most durable ball that will hold up for an extended period. You obtained samples of 100 golf balls from four different manufacturers, and your teaching professionals tested them for durability. The table shows the numbers of unacceptable and acceptable golf balls by manufacturer.
| Durability | Nike | Srixon | TaylorMade | Titleist |
|---|---|---|---|---|
| Unacceptable | 12 | 8 | 5 | 11 |
| Acceptable | 88 | 92 | 95 | 89 |
| Total | 100 | 100 | 100 | 100 |
At the .05 significance level, is there a difference in the durability of the range balls? Why is your decision appropriate?
Additional Instructions
Use Excel or Statdisk to answer the questions posed in both scenarios. Remember, the focus of this discussion is understanding and interpreting two different Chi-Square tests.
In: Math
To get around the problem presented in question 2, the internal standard technique is used. An internal standard is a volatile compound that does not interfere with the GC analysis.
• 10.0 mg of internal standard compound (Std) added to 50.0 mg of the mixture of A, B, and C (problem 2) to give a mixture with a total mass of 60.0 mg.
• The sample is analyzed by GC.
• Relative Peak Areas: Std (1.00), A (0.75), B (3.00). Remember C does not elute.
• Based off of the 10.0 mg of internal standard added to the sample, what are the weight percentages of A and B in the original sample?
In: Chemistry
a): Suppose we have developed the following rules and facts for
our system.
Rule 1: If X is an animal then X is living spices
Rule 2: If X is living spices then X is a life form
Rule 3: If X is a life form then X is mortal
Fact: Dog is an animal.
Goal: Is Dog a mortal?
Problem: Using forward chaining, try to conclude that Dog is mortal.
b)The following is the rule set of a simple weather forecast expert system:
Rule 1. IF cyclone THEN clouds
Rule 2. IF anticyclone THEN clear sky
Rule 3. IF pressure is low THEN cyclone
Rule 4. IF pressure is high THEN anticyclone
Rule 5. IF arrow is down THEN pressure is low
Rule 6. IF arrow is up THEN pressure is high
Problem: Use backward chaining to reason about the weather if
the working
memory contains the fact: clouds. Show your answer in a table
naming the
rules matching the current working memory (conflict set), which
rule you
apply, and how the working memory contents changes on the next step
after a
rule has fired:
hnt: artificial intelligence question
In: Computer Science
Complete the t-accounts below using the transactions listed (1.5 pts). 4. Calculate the ending balance of each account (.5 pts). • styx. issues a $1,000 bond in order to raise cash • styx. issues $5,000 in stocks to raise cash • styx. spends $2,400 of its cash to purchase a new tuning machine Debits - + Credits Debits + - Credits Debits Credits 5. Complete the Accounting Equation below (.5 pts). 6. Circle the mathematical functions that complete the accounting equation (.5 pts). Assets: ____________ + / - / = Liabilities: ________________ + / - / = Owners Equity: _____________
The $5,000 stock sale from the first page was split into 500 shares. Calculate the price of a share of (a company called Styx). given the following information.
Please show your work.
Year 1 Profits: $3,500 Year 2 Profits: $4,250 Discount Rate: 3.25%
A. Share Price: ________________
B) What is the new share price if you decide that Year 2 profits will be $5,500 and you change your discount rate for all years to 5%?
Share Price: ________________
c) If a company called Styx is listed on the Dow Jones Industrial Average, and the Dos divisor is .1474, by how much will the Dow change if the price of a share of Styx. increases by $3.00? ________________
In: Finance
Give an example of how you learn and describe in details by using Kolb’s Learning Cycle. Based on that, illustrate how you lead people to learn with reference to Kolb’s Learning Cycle. (500words)
In: Psychology
Critically evaluate the engineering, procurement and construction (EPC) contract and the engineering, procurement and construction management (EPCM) contract as used in the civil engineering industry. Critically evaluate how each contracting strategy is used in the real world
In: Civil Engineering
How does food processing reduce food waste? Explain.
In: Economics
In: Biology
Allocating Selling and Administrative Expenses using Activity-Based Costing
Shrute Inc. manufactures office copiers, which are sold to retailers. The price and cost of goods sold for each copier are as follows:
| Price | $720 | per unit |
| Cost of goods sold | 430 | |
| Gross profit | $290 | per unit |
In addition, the company incurs selling and administrative expenses of $279,440. The company wishes to assign these costs to its three major retail customers, The Warehouse, Kosmo Co., and Supply Universe. These expenses are related to its three major nonmanufacturing activities: customer service, sales order processing, and advertising support. The advertising support is in the form of advertisements that are placed by Shrute Inc. to support the retailer's sale of Shrute copiers to consumers. The budgeted activity costs and activity bases associated with these activities are:
| Activity | Budgeted Activity Cost | Activity Base | |||
| Customer service | $35,760 | Number of service requests | |||
| Sales order processing | 22,680 | Number of sales orders | |||
| Advertising support | 221,000 | Number of ads placed | |||
| Total activity cost | $279,440 | ||||
Activity-base usage and unit volume information for the three customers is as follows:
| The Warehouse | Kosmo Co. | Supply Universe | Total | ||||||
| Number of service requests | 50 | 10 | 180 | 240 | |||||
| Number of sales orders | 240 | 100 | 500 | 840 | |||||
| Number of ads placed | 20 | 20 | 130 | 170 | |||||
| Unit volume | 640 | 640 | 640 | 1,920 | |||||
Required:
1. Determine the activity rates for each of the three nonmanufacturing activities. Round to the nearest whole dollar.
| Activity Rate | ||
| Customer Service | $ | per serv. req. |
| Sales Order Processing | $ | per bid |
| Advertising Support | $ | per customer design change |
2. Determine the activity costs allocated to the three customers, using the activity rates in (1).
| Activity Costs | |
| The Warehouse | $ |
| Kosmo Co. | $ |
| Supply Universe | $ |
3. Construct customer profitability reports for the three customers, dated for the year ended December 31, 2016, using the activity costs in (2). The reports should disclose the gross profit and income from operations associated with each customer. Enter all amounts as positive numbers, except for a negative income from operations.
| Shrute Inc. | |||
| Customer Profitability Report | |||
| For the Year Ended December 31 | |||
| The Warehouse | Kosmo Co. | Supply Universe | |
| Revenues | $ | $ | $ |
| Cost of goods sold | |||
| Gross profit | $ | $ | $ |
| Selling and administrative activities: | |||
| Customer service | $ | $ | $ |
| Sales order processing | |||
| Advertising support | |||
| Total selling and administrative activities | $ | ||
| Income (loss) from operations | $ | $ | $ |
In: Accounting
In: Economics