In: Psychology
I am having trouble understanding top-down and bottom-up processing. In particular, how to implement an example of it myself so I can remember it for the exam.
In: Psychology
Exception handling to detect input string vs. int
The given program reads a list of single-word first names and ages (ending with -1), and outputs that list with the age incremented. The program fails and throws an exception if the second input on a line is a string rather than an int. At FIXME in the code, add a try/catch statement to catch ios_base::failure, and output 0 for the age.
Ex: If the input is:
Lee 18 Lua 21 Mary Beth 19 Stu 33 -1
then the output is:
Lee 19 Lua 22 Mary 0 Stu 34
---------------------------------------------------------
#include
#include
using namespace std;
int main(int argc, char* argv[]) {
string inputName;
int age;
// Set exception mask for cin stream
cin.exceptions(ios::failbit);
cin >> inputName;
while(inputName != "-1") {
// FIXME: The following line will throw an ios_base::failure.
// Insert a try/catch statement to catch the exception.
// Clear cin's failbit to put cin in a useable state.
cin >> age;
cout << inputName << " " << (age + 1) <<
endl;
cin >> inputName;
}
return 0;
}
In: Computer Science
FRX set clear conditions to which a steering committee used methods to ensure an answer to the very important question “why this project important?”, and, furthermore, it ensured that we are able to quantify and follow up on the results of their operations in a meaningful way. The model to answer the question itself was not the goal– it is the completion of project that set the standard but also using a simple method to give the project manager and the project organization space to “deliver the goods” in the project and at the same time focus on the realization of process improvement effects which gave credibility to the work, as the conditions and clarifications as for the calculations are qualified to meet the designated budget of $550,000. At the project implementation, the key task for the analysts was to reduce complexity and define roles in the project. With the strong involvement of stakeholders, experts, and the CEO all involved themselves as parts of an organization need to see the value of the planned change.
1. Give three examples of your preferred method implementation tools.
2. Give three examples of how you would quantify the project schedule and plan.
3. Provide an example In your opinion on how would you manage the debt of the company versus the tools to your disposal in the company value of the stock price that is the overhaul capital of the company.
In: Operations Management
Statement of Cash Flows—Indirect Method
The comparative balance sheet of Merrick Equipment Co. for December 31, 20Y9 and 20Y8, is as follows:
Dec. 31, 20Y9 | Dec. 31, 20Y8 | ||||
Assets | |||||
Cash | $70,720 | $47,940 | |||
Accounts receivable (net) | 207,230 | 188,190 | |||
Inventories | 298,520 | 289,850 | |||
Investments | 0 | 102,000 | |||
Land | 295,800 | 0 | |||
Equipment | 438,600 | 358,020 | |||
Accumulated depreciation—equipment | (99,110) | (84,320) | |||
Total assets | $1,211,760 | $901,680 | |||
Liabilities and Stockholders' Equity | |||||
Accounts payable (merchandise creditors) | $205,700 | $194,140 | |||
Accrued expenses payable (operating expenses) | 30,600 | 26,860 | |||
Dividends payable | 25,500 | 20,400 | |||
Common stock, $1 par | 202,000 | 102,000 | |||
Paid-in capital in excess of par—common stock | 354,000 | 204,000 | |||
Retained earnings | 393,960 | 354,280 | |||
Total liabilities and stockholders' equity | $1,211,760 | $901,680 |
Additional data obtained from an examination of the accounts in the ledger for 20Y9 are as follows:
Required:
Prepare a statement of cash flows, using the indirect method of presenting cash flows from operating activities. Use the minus sign to indicate cash outflows, cash payments, decreases in cash, or any negative adjustments.
Merrick Equipment Co. | ||
Statement of Cash Flows | ||
For the Year Ended December 31, 20Y9 | ||
Cash flows from (used for) operating activities: | ||
Adjustments to reconcile net income to net cash flow from operating activities: | ||
Changes in current operating assets and liabilities: | ||
Net cash flow from operating activities | ||
Cash flows from (used for) investing activities: | ||
Net cash flow used for investing activities | ||
Cash flows from (used for) financing activities: | ||
Net cash flow from financing activities | ||
Cash balance, January 1, 20Y9 | ||
Cash balance, December 31, 20Y9 |
In: Accounting
Instructions
Write a post for the Discussion Forum on this topic, addressing the questions below. You may use either a written paragraph or bullet-point format. Part 1 should be 2–3 paragraphs in length or an equivalent amount of content in bullet-point form. Responses to your classmates’ posts should be 1–2 paragraphs or several bullet points in length.
Part 1: Product Strategy is about Louis Vuitton Company handbags
Briefly describe your product or service. Where is it in the product development life cycle? What recommendations do you have for improving the offering to fit your target market’s needs? Be sure to consider the following:
How many features does it have and can they be removed or added?
Does the design and/or service deliver what the customer values? If not, how can it improve?
What improvements would help your offering compete more effectively?
Part 2: Respond to Classmates’ Posts
After you have created your own post, look over the discussion forum posts of your classmates and respond to at least two of them.
In: Operations Management
Braxen Industries, which manufactures and sells a highly successful line of summer lotions and insect repellents, has decided to diversify in order to stabilize sales throughout the year. A natural area for the company to consider is the production of winter lotions and creams to prevent dry and chapped skin.
After considerable research, a winter products line has been developed. However, Braxen's president has decided to introduce only one of the new products for this coming winter. If the product is a success, further expansion in future years will be initiated.
The product selected (called Chap-Off) is a lip balm that will be sold in a lipstick-type tube. The product will be sold to wholesalers in boxes of 24 tubes for $9 per box. Because of excess capacity, no additional fixed manufacturing overhead costs will be incurred to produce the product. However, a $105,000 charge for fixed manufacturing overhead will be absorbed by the product under the company’s absorption costing system.
Using the estimated sales and production of 150,000 boxes of Chap-Off, the Accounting Department has developed the following manufacturing cost per box:
Direct material | $ | 4.10 | |
Direct labor | 2.40 | ||
Manufacturing overhead | 1.80 | ||
Total cost | $ | 8.30 | |
The costs above relate to making both the lip balm and the tube that contains it. As an alternative to making the tubes for Chap-Off, Braxen has approached a supplier to discuss the possibility of buying the tubes. The purchase price of the supplier's empty tubes would be $1.70 per box of 24 tubes. If Braxen Industries stops making the tubes and buys them from the outside supplier, its direct labor and variable manufacturing overhead costs per box of Chap-Off would be reduced by 10% and its direct materials costs would be reduced by 30%.
5. What is the maximum price that Braxen should be willing to pay the outside supplier for a box of 24 tubes?
6. Instead of sales of 150,000 boxes of tubes, revised estimates show a sales volume of 185,000 boxes of tubes. At this higher sales volume, Braxen would need to rent extra equipment at a cost of $65,000 per year to make the additional 35,000 boxes of tubes. Assuming that the outside supplier will not accept an order for less than 185,000 boxes of tubes, what is the financial advantage (disadvantage) in total (not per box) if Braxen buys 185,000 boxes of tubes from the outside supplier? Given this new information, should Braxen Industries make or buy the tubes?
7. Refer to the data in Required 6. Assume that the outside supplier will accept an order of any size for the tubes at a price of $1.70 per box. How many boxes of tubes should Braxen make? How many boxes of tubes should it buy from the outside supplier?
In: Accounting
Sony Music Publishing Company wants to decide the price of Saylor Twift’s next album. The company conducted a survey of 1000 customers to estimate the willingness-to-pay (WTP) of the customers. The following table summarizes the results of the survey:
WTP |
Frequency |
$19.99 |
150 |
$18.99 |
200 |
$17.99 |
350 |
$16.99 |
150 |
$15.99 |
150 |
Total |
1000 |
a) If Sony decides to charge the customers $18.99 per album, then what will be the revenue per 1000 potential customers?
b) What is the best price to maximize the revenue?
In: Operations Management
3) Welfare analysis
a) Explain in your own words the economic meaning of consumer
surplus and
producer surplus
b) Calculate the consumer and producer surpluses from parts (a)
through (c) of
question 1 and show on a separate graph.
c) Now explain clearly (and show all calculations) what happens to
consumer surplus
and producer surplus as a result of the change depicted in question 1, part (d).
Show graphically.
d) Is there a deadweight loss? Why or why not? (If so, calculate
it). Does society gain
or lose overall? Explain why this makes sense.
e) Compared to the situation in parts (c) and (d) of this question,
what are the gains or
losses to consumers and producers from the price floor of 80.
Show calculations. f) Is there a deadweight loss? Why or why not?
And if so, calculate it.
g) Can we say definitively whether society overall benefited or
lost? Explain.
QUESTION 1 FOR REFERENCE IS BELOW BUT YOU DO NOT NEED TO ANSWER I ONLY INCLUDED IT BECAUSE IT IS NECESSARY TO COMPLETE QUESTION 3
1) Supply and demand
P = 0.5QS + 30
P = -0.4QD + 120
a) Given the above equations, produce a chart illustrating both
the supply and demand schedules in increments of 5 ranging from
price = 50 to price = 110.
b) Solve for the equilibrium price and quantity and show your
work.
c) Graph the result, labeling the axes, the supply and demand
curves, the equilibrium point, and the price and quantity amounts.
Use a proper scale.
d) Redo parts (a) through (c), this time reflecting a change in
the supply curve to P = 0.5QS + 7.5.
e) Give two possible explanations for what could have caused such a
change.
f) Now take the new graph (from part d) and assume that the
government institutes a price floor equal to P = 80. Describe in
detail what would be the impact on this market.
In: Economics
Discuss the similarities and differences between causation and correlation. Provide examples of each and discuss ways in which correlation may be mistaken for causation in psychological research
In: Psychology
In: Accounting
1. What, exactly, are “inventories”? What are the three ‘types,’ or areas, of inventories? 2. Why does a firm hold inventories? In theory, why did that hypothetical car company hold 400,000 cars?? Please discuss three reasons. 3. If our sales volume jumped wildly from month to month, why would it be difficult to match production volume with sales volume each month? 4. What will happen to our “400,000 cars, produced but not yet sold” inventory if, in theory, interest rates were to double, from, say, 10% to, say 20%? Why?
In: Operations Management
With reference to the Companies Act 2001, what is the process to incorporate a domestic company in Mauritius? Make use of the relevant sections of the Companies Act 2001 and suitable examples to support your answer.
In: Economics
Select 3 different sized (order lg lg n, lg n, n, n lg n, n2 , n3 , nk , cn , n!) algorithms to code using a compiler of choice (VB, C++, Java, , etc…). An example would be an algorithm to search for a number in a list of n numbers → (n), and a second algorithm to sort a list of numbers using a bubble sort → (n2 ). You could also choose to just calculate a open form expression like 1 + 2 + 3 + 4 + 5 + 6 + … n for a size n algorithm. Once the algorithms are coded and working (10pts. will be awarded on complexity/substance of algorithms), add a timer to the crucial section of the code that will correspond to the analysis. I have included some sample Java and C++ timer code below that should work. Show me the programs running/working with the time elapsed outputted for a run. 5pts. Run and time the three algorithms for n = 10, 100, 1000, 10000, etc… and chart the different times on a column, bar, or line chart. Turn in a word processed report listing the three algorithms code and the charts displaying the timed results of the runs. 5pts. Use long (16 bit) in Java and long long (16 bit) in C++ for your variables to avoid a memory problem.
In: Computer Science
There are many varieties of healthcare professionals that treat disorders of the musculoskeletal system. What are your opinions regarding alternative therapies, such as yoga and massage therapy, as well as occupational therapy, physical therapy, chiropractic, etc?
In: Nursing