Brothers Harry and Herman Hausyerday began operations of their machine shop (H & H Tool, Inc.) on January 1, 2016. The annual reporting period ends December 31. The trial balance on January 1, 2018, follows (the amounts are rounded to thousands of dollars to simplify):
Account Titles | Debit | Credit | ||||
Cash | $ | 2 | ||||
Accounts Receivable | 6 | |||||
Supplies | 13 | |||||
Land | 0 | |||||
Equipment | 64 | |||||
Accumulated Depreciation | $ | 5 | ||||
Software | 18 | |||||
Accumulated Amortization | 4 | |||||
Accounts Payable | 4 | |||||
Notes Payable (short-term) | 0 | |||||
Salaries and Wages Payable | 0 | |||||
Interest Payable | 0 | |||||
Income Tax Payable | 0 | |||||
Common Stock | 81 | |||||
Retained Earnings | 9 | |||||
Service Revenue | 0 | |||||
Salaries and Wages Expense | 0 | |||||
Depreciation Expense | 0 | |||||
Amortization Expense | 0 | |||||
Income Tax Expense | 0 | |||||
Interest Expense | 0 | |||||
Supplies Expense | 0 | |||||
Totals | $ | 103 | $ | 103 | ||
Transactions and events during 2018 (summarized in thousands of dollars) follow:
Data for adjusting journal entries as of December 31:
6-a. Prepare an income statement.
6-b. Prepare the statement of retained earnings.
6-c. Prepare the balance sheet.
Prepare the closing journal entry. (If no entry is required for a transaction/event, select "No Journal Entry Required" in the first account field. Enter your answers in thousands of dollars.)
In: Accounting
repare a single compressed file in .zip format containing all the source files (.java files, NOT .class files) and the output file generated by running your code (i.e., testsOutput.txt) and submit it through Moodle. To be more precise, your submitted .zip file should contain the following files: PhoneCard.java, SuperNA10Card, Global10Card, Global25Card, SuperPhoneCardInc.java, CardTable.java, CallZone.java, and testsOutput.txt.
Note:
(1) Your assignment will be given a zero mark if only the compiled files (.class files) are submitted. No exceptions. Please make sure to submit the source files (.java files).
(2) Please make sure your code compiles under the command line (i.e., without an IDE). All Java classes should be put under the default package. Do not put any package statement at the beginning of your source file. If you are using an IDE, this is especially important because some IDEs put your code under a particular package for your project. Any code that does not compile under the command line can only receive 20/100. (See below for the marking scheme).
(3) Finish only the parts as indicated; do not attempt to change other parts of the code.
(4) Please pay attention to variable naming. JavaDoc comments are required for both the code you write and the code already provided.
(5) Please pay close attention to the formatting of the output. For example, when asked to print charged X.XX, make sure only two digits are printed after the decimal point. (Hint: Use DecimalFormat or System.out.printf().)
Details
SuperPhoneCard Inc. sells phone cards for making cheap long distance calls around the world. In this assignment, you will write a (much simplified) Java program to manage their business.
SuperPhoneCard Inc. sells 3 types of phone cards: SuperNA10 cards, which cost $10 and are good only for calls in Canada and the USA, Global10 cards, which cost $10 and are good for overseas calls, and Global25 cards, which cost $25 and are also good for overseas calls. The per minute rates for each type of card and call zone are as follows:
SuperNA10 | Global10 | Global25 | |
Canada | $0.05 | $0.07 | $0.05 |
USA | $0.10 | $0.15 | $0.10 |
Europe | XXXXX | $0.30 | $0.20 |
Asia | XXXXX | $0.60 | $0.40 |
Australia & NZ | XXXXX | $0.45 | $0.30 |
Latin America | XXXXX | $0.45 | $0.30 |
Africa | XXXXX | $0.60 | $0.40 |
The initial balance on the cards and the weekly maintenance fee are indicated below:
SuperNA10 | Global10 | Global25 | |
initial balance | $10.00 | $10.00 | $25.00 |
weekly fee | $0.50 | $1.00 | $1.00 |
Your main job in this assignement is to implement a hierarchy of classes to represent the different types of cards. At the top of the hierarchy, there is an abstract class PhoneCard with the following API:
There are also 3 classes, SuperNA10Card, Global10Card, and Global25Card that inherit from PhoneCard, and model the properties of the associated type of card as specified above, by defining the PhoneCard class's abstract methods. These classes should use the supplied CallZone.java class to check if the strings representing the call zones are valid.
Once you have defined these classes, you should then complete the application that SuperPhoneCard Inc. will use to manage its business. This application is implemented by the SuperPhoneCardInc class, that reads and processes a number of commands from the standard input stream for processing cards and calls, outputing the results on the standard output stream. The commands are:
An incomplete definition for the SuperPhoneCardInc class is available here in SuperPhoneCardInc.java. You must fill out the missing parts of the definition, i.e. the code for handling the following commands:
The SuperPhoneCardInc uses another class CardTable to manage a table of PhoneCards. An incomplete definition for the CardTable class is available here in CardTable.java. You must also fill out the missing parts of the definition of CardTable, i.e. the public PhoneCard get(long no) method that returns the first phone card in the table whose number matches the argument, or null if there is no card with this number.
Make sure your code compiles and runs under Java SE Development Kit 8 or above. Once you have implemented and thoroughly tested all of these classes, run your application on the test data file testsInput.txt and save your output in the file testsOutput.txt. You can do this by redirecting the standard input stream and standard output stream with the command:
java -ea SuperPhoneCardInc < testsInput.txt > testsOutput.txt
Then submit a zipped archive with all your source code files (containing PhoneCard.java, SuperNA10Card, Global10Card, Global25Card, SuperPhoneCardInc.java, CardTable.java, and CallZone.java) and testsOutput.txt by the deadline as specified above. The test output file corresponding to the given testsInput.txt is here. Note that we are going to use a different input file to test your program.
In: Computer Science
3. Understanding the IRR and NPV The net present value (NPV) and internal rate of return (IRR) methods of investment analysis are interrelated and are sometimes used together to make capital budgeting decisions. Consider the case of Cute Camel Woodcraft Company: Last Tuesday, Cute Camel Woodcraft Company lost a portion of its planning and financial data when both its main and its backup servers crashed. The company’s CFO remembers that the internal rate of return (IRR) of Project Zeta is 14.6%, but he can’t recall how much Cute Camel originally invested in the project nor the project’s net present value (NPV). However, he found a note that detailed the annual net cash flows expected to be generated by Project Zeta. They are:
The CFO has asked you to compute Project Zeta’s initial investment using the information currently available to you. He has offered the following suggestions and observations:
Given the data and hints, Project Zeta’s initial investment is , and its NPV is (rounded to the nearest whole dollar). A project’s IRR will if the project’s cash inflows decrease, and everything else is unaffected. |
In: Finance
Explain from your own words the different factors affecting the processing speed of CPU.
In: Computer Science
What prevents Nike's subcontractors from entering the U.S. market to compete with them?
In: Finance
Implement the following functions in C:
LinkedStack* InitStack();
int IsEmptyStack(LinkedStack* LStack);
LinkedStack* LinkedPush(LinkedStack* LStack, Eletype value);
// Return the head of stack.
Eletype LinkedPop(LinkedStack* LStack);
// Return the value of popped element.
Eletype FrontStack(LinkedStack* LStack);
// Return the value of the element on the top of stack.
InitStack() returns an empty stack and IsEmptyStack(LinkedStack* LStack) determines if the stack is empty or not.
In: Computer Science
Anita Douglass was the regional sales manager for a national chain of fitness centers. Her job was to direct a sales force that sold fitness center franchises to operators. The salesperson’s job was to recruit responsible, ambitious people who would invest their own time and money in operating a center. Each operator would pay a franchise fee to the company. The company, in turn, would lease the building, supply all the equipment, and help with the financing, if needed. Sales throughout the nation were very strong, as there was a heavy demand for fitness training. Douglass’s sales territory was second best in the nation. All her salespeople were doing very well, except two. Marty Crane and Julie Forester consistently failed to meet their sales goals. Both were running out of excuses and Douglass was running out of patience. Douglass was angry and embarrassed about their poor performance. She figured the only reason her boss hadn’t inquired about Crane and Forester was because she could “bury” their performance in the overall performance of her sales territory. If these two salespeople had been at the top of the pile instead of the bottom, her sales territory would be number one in the nation. Despite their common substandard performance, Douglass viewed the two salespeople somewhat differently. After Crane’s first bad performance evaluation, she undertook additional training. Even though the extra training didn’t seem to help, at least she tried. Crane seemed to be working hard but getting nowhere—described in her last performance review as “an ineffectual diffusion of energy,” otherwise known as “spinning your wheels.” Crane had a pleasing demeanor, which may have been part of her problem. Douglass thought that perhaps Crane was more concerned with having people approve of her than making a sale. Maybe Crane would perform better for the company in a job outside of sales, she thought. Forester, on the other hand, seemed indifferent about failing to meet her sales goals and attributed her poor performance to everyone other than herself. If Forester ever worked up a sweat, it went unnoticed by Douglass. Forester conveyed the impression that the company was lucky to have her, although the reasons for this privilege were indiscernible. None of the other salespeople wanted to have anything to do with Forester. They wouldn’t trade sales territories with her, and they didn’t want Forester covering for them when they went on vacation. Douglass thumbed through the personnel files of Crane and Forester. It was becoming increasingly difficult to justify not firing them. If only one of them got the axe, Douglass decided it would be Forester. Then Douglass caught herself in midthought. The performance of both these salespeople was equally bad. How could she justify keeping one and firing the other? Douglass surmised that the only difference between Crane and Forester was that she liked one more than the other. Douglass had the reputation of being tough but fair. She couldn’t understand why this was becoming a difficult decision for her, and why she was considering being more charitable to Crane than to Forester.
Questions:
1. What is it about Crane that makes Douglass view her differently from Forester?
2. Are these issues relevant in judging job performance? Should they matter?
3. If you were Douglass, what would you do with Crane and Forester?
4. Do you think Douglass’s boss would be critical of Douglass for tolerating poor performance, or admire her for being patient with members of her staff?
5. What other information would you like to have before deciding whether Crane and Forester should be retained or fired?
In: Psychology
Case Study - Part 1 of 3
You are the newly hired HR Manager for a small chain of locally owned coffee shops that has grown from 4 shops a year ago to now operating 10 stores across Calgary as well as a main central office for administration (accounting, marketing, legal, supply chain, IT and HR functions). As your first objective, the owner has indicated that they want you to review the current compensation program to ensure that it is “competitive”. What are 2 internal factors and 2 external factors that you would need to consider as part of your review. Please provide a brief explanation of each factor and its relevance to be considered for full marks (4 points)
Case Study - Part 2 of 3
In doing your initial rounds of the stores as part of your orientation, a number of staff have complained’ that there doesn’t seem to be a clear or consistent process that all managers follow regarding performance management. When you shared this initial feedback with the owner, their initial reaction was that they’ve always felt more comfortable just dealing with issues as they came up, but that they would like you to schedule a meeting with them to talk about this in more detail. In preparing for this meeting, identify 3 advantages of a properly designed performance management system (3 points), the 6 key components/steps of an effective performance management system (6 points), and 2 pitfalls to avoid in designing/implementing the system (1 point) (10 points total)
Case Study - Part 3 of 3
One of the Store Managers has called you to discuss an employee issue. Specifically, it was brought to her attention that one of her staff (Shelly Smith) has been writing a personal blog where she has posted various vignettes from her daily work life. One such example is as follows: “‘Bob’ (not his real name) is a nice guy - easygoing, fun, good natured, easy to talk with - and always great with the customers (he’s such a flirt, no wonder he’s been through more relationships and breakups than I can count), and is ALWAYS up for a party after hours (with the amount of partying he does, and his ‘reputation’ (wink, wink) I can’t understand why anyone with half a brain would consider going out with him!!) But honestly, management seems oblivious (or is yet another victim of his ‘charm’). I’m really not sure what’s worse…….the numerous incidents of him being late/absent, or the days he decides to drag himself in to work (breath mint and a comb anyone?? LOL). Anyways, nice guy but I wouldn't go near him with a ten-foot pole!!”. Your manager wants to know what to do next and whether she has grounds to fire her. What are the 4 factors to consider in determining whether you have ‘just cause’ and what do you advise your manager to do next (6 points total)
In: Operations Management
In: Computer Science
Please Make a comparison between USA & KINGDOM OF SAUDI ARABIA about Labor law regarding the
1-injuries and illnesses
2-Medical Insurance
please use keyboard
In: Operations Management
1,Evaluate the accuracy and reliability of different research methods applied.
2. Critically evaluate the project management process and appropriate research methodologies applied.
In: Computer Science
**********Java language************
1- (Conversions between Celsius and Fahrenheit) Write a class that contains the following two methods:
/** Convert from Celsius to Fahrenheit */
public static double celsiusToFahrenheit(double celsius)
/** Convert from Fahrenheit to Celsius */
public static double fahrenheitToCelsius(double fahrenheit)
The formula for the conversion is:
Celsius = (5.0 / 9) * (Fahrenheit – 32)
Fahrenheit = (9.0 / 5) * Celsius + 32
Program output should be like:
If you want to convert from Fahrenheit To Celsius press 0 vice versa press 1:
0
Enter the degree in Fahrenheit: 22
The degree in Celsius: -5.5
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.
If you want to convert from Fahrenheit To Celsius press 0 vice versa press 1:
1
Enter the degree in Celsius: 33
The degree in Celsius: 91.4
In: Computer Science
3. CH3OH is synthesized via the following reaction: CO (g) + 2H2 (g) CH3OH (g) . If the reaction occurs at 748 mmHg and 25 °C , what volume of H2 gas (in L) is necessary to synthesize 25.8 g CH3OH? What volume (L) of CO gas is required?
4. Hydrogen gas can be formed by the reaction of methane and water according to the following equation: CH4 (g) + H2O (g) CO (g) + 3H2 (g) . In one reaction, 25.5 L of methane gas (at P = 732 Torr, T = 25 °C) is mixed with 22.8 L of water vapor (at P = 702 Torr, T = 125 °C). The reaction produces 26.2 L hydrogen gas at STP. What is the percent yield of the reaction?
In: Chemistry
In PYTHON:
Write a program that asks for a password from a user and checks if it satisfies the conditions:
If the password is valid, then the program prints “password accepted”. Otherwise, it keeps asking for more passwords from the user until a valid password is obtained.
Hint: You might like to check the string methods that start with the letter ‘i’.
In: Computer Science
How to make fresh water generator more efficiently, how to start this project and complete, please elaborate step by step.
In: Mechanical Engineering