Questions
This is a python file Reads information from a text file into a list of sublists....

This is a python file

  • Reads information from a text file into a list of sublists.
    • Be sure to ask the user to enter the file name and end the program if the file doesn’t exist.
    • Text file format will be as shown, where each item is separated by a comma and a space:
      ID, firstName, lastName, birthDate, hireDate, salary
  • Store the information into a list of sublists called empRoster.
    EmpRoster will be a list of sublists, where each sublist contains the information for one employee.
    The birthDate and hireDate in file are strings, but should be stored as objects of type Date.
    Example of EmpRoster list with 2 employees:
    [   [111,”Joe”, “Jones”, “09-01-1980”,”10-19-1999”, 95000],     \
          [222, “Sam”, “Smith”, “07-10-1956”,, “01-01-2000”, 50000]    ]
  • Print a report that shows the following:
                                                         Employee Roster
    ID    First Name          Last Name           Birth Date           Age        Hire Date YrsWorked        Salary
  • WRITE the following information out to a text file – ask the user what the text file should be named!
    • Employees over 60 years old
    • Employees with salaries above 50000
    • Employees that have worked for the company more than 20 years
  • Example input file:
    111, Joe, Jones, 09-01-1980, 10-19-1999, 95000
    222, Sam, Smith, 07-10-1956, 01-01-2000, 50000
    333, Rick, Robins, 08-01-1960, 08-20-1998, 100000
  • Example report for the sample data:

                                                            Employee Roster

ID           First Name          Last Name           Birth Date           Age        Hire Date             Yrs Worked               Salary

111        Joe                        Jones                    Sep 1, 1980         39           Oct 19, 1999       21                         95000

222        Sam                      Smith                    Jul 10, 1956        63           Jan 1, 2000         20                         50000

333        Rick                       Robins                  Aug 1, 1960        59           Aug 20, 1998      22                         100000

  • Example output file:

Employees over 60 years old:
Sam Smith

Employees with salaries above 50000:
Joe Jones

Rick Robins

Employees that have worked for the company more than 20 years

Joe Jones
Rick Robins

In: Computer Science

Please answer the correct answer and explain it. 1.   In the 1980s, one often-heard explanation for...

Please answer the correct answer and explain it.

1.   In the 1980s, one often-heard explanation for the low levels of net investment in the US and UK was that
a)   developed economies had no incentives for acquiring new capital
b)   investment opportunities were limited because the already large capital stock was inducing a low marginal product of capital
c)   depreciation and obsolescence were so rapid that firms could barely keep up with demands for replacing existing capital
d)   stock market participants sought short-term capital gains from market appreciations rather than long term dividends from investment
e)   rapid price inflation was creating excessive investor uncertainty

Explain your Answer:


2.   Comparing State economies to that of the US as a whole shows that
a)   about half the States are in recession at any point in time
b)   when the US enters a recession, about 20% of the States experience economic expansion, and vice versa
c)   there is very little correlation between the national and regional economies
d)   there is a highly positive correlation between the national economy and most State economies
e)   the 12 Federal Reserve districts experience business cycles independently of each other

Explain your Answer:


3.   Inflation is primarily a problem
a)   because even low inflation rates severely hamper GDP growth
b)   for those who are heavily indebted
c)   when it is volatile and thus unpredictable
d)   because it is severely underestimated, especially when products are improving in quality
e)   for accounting and record-keeping, but it does not affect the actual trading of goods and services

Explain your Answer:

The next two questions refer to the following.

Consider the following hypothetical annual growth rates of real GDP:

Long run trend       1996   1997   1998   1999   2000   2001   2002   2003
  2.5%    3.0%   2.5%   2.0%   -1%   0.5%   2.0%   2.5%   3.0%

1.   1998 appears to have been a year of
a)   economic expansion
b)   recession
c)   depression
d)   growth recession
e)   stagflation

Explain your Answer:


2.   Economic recovery from recession appears to have begun in
a)   1999
b)   2000
c)   2001
d)   2002
e)   2003

Explain your Answer:

In: Economics

The blue curve on the following graph represents the demand curve facing a firm that can set its own prices.

 2. Calculating marginal revenue from a linear demand curve

 The blue curve on the following graph represents the demand curve facing a firm that can set its own prices.

 Use the graph input tool to help you answer the following questions. You will not be graded on any changes you make to this graph. Note: Once you enter a value in a white field, the graph and any corresponding amounts in each grey field will change accordingly.

image.png

 On the graph input tool, change the number found in the Quantity Demanded field to determine the prices that correspond to the production of D, 4, 8, 10, 12, 16, and 20 units of output. Calculate the total revenue for each of these production levels. Then, on the following graph, use the green points (triangle symbol) to plot the results.

image.png

 Calculate the total revenue if the firm produces 4 versus 3 units. Then, calculate the marginal revenue of the fourth unit produced.

 The marginal revenue of the fourth unit produced is _______ 

 Calculate the total revenue if the firm produces 8 versus 7 units. Then, calculate the marginal revenue of the eighth unit produced.

 The marginal revenue of the eighth unit produced is _______ 

 Based on your answers from the previous question, and assuming that the marginal revenue curve is a straight line, use the black line (plus symbol) to plot the firm's marginal revenue curve on the following graph. (Round all values to the nearest increment of 40.)

image.png

 Comparing your total revenue graph to your marginal revenue graph, you can see that total revenue is _______ at the output at which marginal revenue is equal to zero.

 


In: Economics

On March 1, Jefferson Company collected a $750 deposit for services to be performed on March...

On March 1, Jefferson Company collected a $750 deposit for services to be performed on March 15. Jefferson completed the project on March 15, as agreed. What adjusting entry would Jefferson make on March 15, related to this transaction?

a.Debit Cash: $750, credit Revenue: $750

b.Debit Unearned Revenue: $750, credit Revenue: $750.

c. Debit Revenue: $750, credit Cash: $750.

d. Debit Revenue: $750, credit Unearned Revenue: $750.

In: Accounting

Consider a capacity constrained process producing a high profit margin product. What will the impacts on...

Consider a capacity constrained process producing a high profit margin product. What will the impacts on revenue and profits be if processing time for the bottleneck resource is reduced by 10% while everything else remains the same?

A)No impact on revenue or profits

B)Higher revenue and profits

C)Lower revenue and profits

D)Higher profits with no change in revenue

In: Other

On November 21st, Jerry's accounting firm collected $20,000 from John for work to be performed in...

On November 21st, Jerry's accounting firm collected $20,000 from John for work to be performed in the future. On December 10th, the accounting firm completed 60% of John's work. What is the journal entry made on December 10th?

A) Debit service revenue $12,000 and credit unearned revenue $12,000

B)Debit unearned revenue $20,000 and credit cash $20,000

C) Debit cash $20,000 and credit unearned revenue $20,000

D) Debit unearned revenue $12,000 and credit service revenue $12,000

In: Accounting

A researcher estimates that the average revenue of the largest businesses in the U.S. is greater...

  1. A researcher estimates that the average revenue of the largest businesses in the U.S. is greater than $24 billion. A random sample of 50 companies is selected, and the revenues in billions of dollars are recorded. Assume a Normal distribution with a standard deviation of $30 billion. Is there enough evidence at an 8% level of significance to support the researcher’s claim?

178

30

91

44

35

61

56

46

20

32

41

38

36

15

25

31

30

19

19

19

24

16

15

15

19

122

28

28

20

27

29

16

16

19

15

25

25

18

14

15

24

23

17

17

22

22

21

20

17

20

  1. Identify the proper Test or Confidence interval:
  1. Complete the Test or Confidence Interval.

In: Statistics and Probability

Explain revenue variances and spending variances in flexible budget planning?

Explain revenue variances and spending variances in flexible budget planning?

In: Accounting

Identify and write out the revenue recognition principle as explained in the chapter

Question: Refer to Apple’s financial statements in Appendix A to answer the following.

1. Identify and write out the revenue recognition principle as explained in the chapter

In: Accounting

explain how utilization rates are related to volume and revenue generation

explain how utilization rates are related to volume and revenue generation

In: Finance