Implement function get_contact(contacts, name) that returns a string. The contacts and the name parameter are both type string. This function checks for the name string in the contacts string and returns that person’s contact information. If the person is not found, the function returns, “name not in contact”. Assume input is always valid. Assume the same name is not repeated in contacts.
[You may use split(), range(), len() ONLY and no other built-in function or method]
Examples:
contacts = “Frank 703-222-2222 Sue 703-111-1111 Jane 703-333-3333”
name = “Sue”
print(get_contact(contacts, name))
returns:
703-111-1111
name = “Sam”
print(get_contact(contacts, name))
returns:
name not in contact
In: Computer Science
A common argument from contrarians of the human impact on global warming about the increase in CO2 levels of the atmosphere is that the increase in carbon dioxide by humans is only a small percentage of the total sources of emitted CO2. In other words, the argument is that humans cannot be the cause of the increase in warming of the climate since the added emissions is a small percentage of what is added to the atmosphere from natural forces like volcanoes. In your response, address the following: What are the natural carbon sources and sinks? How does the emission of carbon by humans affect this balance? Why is this argument short-sighted of the feedback mechanisms built into our ecosystem? How would you explain to this contrarian that his argument is missing a larger picture?
In: Physics
Write a program that performs the following two tasks:
Use the algorithms described in class/ lecture notes. Use linked lists to implement the Queue and Stack ADTs. Using Java built-in classes will result in 0 points. You must use your own Stack and Queue classes (my code is a good starting point). Submit the code + example runs to validate your code. Submit UML chart to show the program design.
TO ANSWERER: Please give a clear, complete, and detailed program in Java. Thank you!
In: Computer Science
In: Computer Science
In: Accounting
No Hand drawings, please.
Consider the following scenario and then answer the corresponding questions.
ABC Travel and Tourism specializes in providing tourist packages to customers across the globe and the company has decided to develop an in-house software system that will help customers search for travel destinations based on popularity, budget, visa restrictions, government policies and attractive climatic conditions. Customers will also be able to book their air tickets, hotel and transportation (rental car, public transportation, cab services) through this system. Prior to the booking, the system will allow users to check for their visa eligibility to travel to destinations outside of their country of citizenship. Users will also be able to review and rate destinations or hotels using the system. The company also offers pre-set packages and if a customer decides to go with a specific package, they will be asked to provide the dates for their travel. The system will find an airline reservation, hotel/ transportation choices and create an itinerary for the customer. Customers will not be allowed to customize the pre-set packages.
Once the booking is done, the system should send a notification to the users on the purchase confirmation within 2 hours. Cancellations will incur a 25% penalty, if users are “Gold” members. In all other cases, the reservations will be non-refundable. Customers can pay using their credit cards or Paypal.
Upon your review complete the following:
|
Table Name |
Field Name |
Description |
Data Type |
Comments (Identify as primary key, foreign key or any special considerations) |
(Please see normalization examples from the lecture notes and show the normalization process for the tables as applicable)
In: Computer Science
FRAUDD EXAMINATION
Case 4
Stephanie Adkins is an accountant who is trained in forensic accounting. She is an experienced fraud investigator. She was recently hired by Lake Side Hotels, a closely-held corporation, to investigate a company manager who is suspected of taking kickbacks from vendors.
Stephanie gave Lake Side her standard engagement letter stating that the scope of the engagement would be limited to investigating only one suspect. It did not guarantee findings or results.
According to the provisions of Stephanie’s engagement, she was to communicate directly with Bernie James, the company’s controller, and Amanda Peterson, the outside attorney.
At the first meeting of this team, Bernie indicated that Lake Side had received four separate anonymous tips about possible kickbacks. All the tips indicated that Laurie Miller, an evening manager, was taking kickbacks from food vendors. One tip named a particular vendor, the Mid States Beef Source, a company that supplies meat to the hotel’s restaurants.
Stephanie asked if Bernie had any documentation that supports Laurie Miller’s possible involvement in kickbacks. Bernie had no documentation but hoped Stephanie could help them substantiate the information from the anonymous tips. He was concerned that kickbacks would hurt the hotel financially.
Amanda, the outside attorney, said that she had already talked to several hotel employees and was convinced that Laurie was guilty.
Kickback schemes can be difficult to uncover, so Stephanie wanted to proceed cautiously.
Bernie wanted to confront Laurie immediately. He was convinced she would confess if he told her that he had evidence against her.
Stephanie asked what evidence Bernie had. Bernie said, “Only the anonymous tips, but I know she will confess if we bluff.” It was against Stephanie’s professional principles to lie and she said so.
“Detectives do it all the time on cop shows,” Bernie said. Stephanie insisted she would need to run the investigation her way or she wouldn’t be able to undertake this engagement.
In relation to this scenario, write responses to the following:
What steps might Stephanie follow to proceed with her investigation?
What mistakes, if any, have already been made in the investigation?
In: Accounting
The Town of Brown has the following financial transactions:
1. The town council adopts an annual budget for the general fund estimating general revenues of $2.0 million, approved expenditures of $1.6 million, approved transfers pf $150,000.
2. The town levies property taxes of $1.5 million. It expects to collect all but 4% of these taxes during the year. Of the levied amount, $50,000 will be collected next year but after more than 60 days.
3. The town orders three new police cars at an approximate cost of $120,000.
4. A transfer of $60,000 is made from the general fund to the debt service fund.
5. The town makes a payment on a bond payable of $50,000 along with $15,000 of interest using the money previously set aside.
6. The Town of Brown issues a $3 million bond at face value in hopes of acquiring a building to convert into a high school.
7. The two police cars are received with an invoice price of $115,000. The voucher has been approved and will not be paid for three weeks.
8. The town purchases the building for the high school for $2.5 million in cash and immediately begins renovating it.
9. Depreciation on the new police cars is computed at $35,000 for the period.
10. The town borrows $120,000 on a 30-day-tax anticipation note.
11. The Town of Brown begins a special assessment curbing project. The government issues $900,000 in notes at face value to finance this project. The town has guaranteed the debt if the assessments collected do not cover the entire balance.
12. A contractor completes the curbing project and is paid $900,000 as agreed.
13. The town assesses citizens $900,000 for the completed curbing project.
14. The town collects the special assessments of $900,000 in full and repays the debt plus $40,000 in interest.
15. The town receives a $20,000 cash grant from a regional charity to beautify a local park. The grant must be used to cover the specific costs that the town incurs.
16. The town spends the first $5,000 to beautify the park.
Question 1. – Please prepare journal entries for the town based on the production of fund financial statements.
Question 2 – Please prepare journal entries in anticipation of preparing government-wide financial statements.
In: Accounting
In: Operations Management
Exercise 13-06
The payroll of YellowCard Company for September 2019 is as follows.
Total payroll was $480,000, of which $110,000 is exempt from Social Security tax because it represented amounts paid in excess of $128,400 to certain employees. The amount paid to employees in excess of $7,000 was $400,000. Income taxes in the amount of $80,000 were withheld, as was $9,000 in union dues. The state unemployment tax is 3.5%, but YellowCard Company is allowed a credit of 2.3% by the state for its unemployment experience. Also, assume that the current FICA tax is 7.65% on an employee's wages to $128,400 and 1.45% in excess of $128,400. No employee for YellowCard makes more than $135,000. The federal unemployment tax rate is 0.8% after state credit.
Prepare the necessary journal entries if the wages and salaries paid and the employer payroll taxes are recorded separately.
In: Accounting