For this week's assignment analyze a family's spending habits by creating a program that performs arithmetic calculations. The program should ask the user to enter information for the following questions. How much does the family spend on groceries per month? How much does the family spend on dining out per month? How much does the family spend on entertainment per month? How much does the family spend on rent/mortgage per month? How much does the family spend on utilities per month? How many family members are there? What is the family income per year? Questions 1–5 and 7 should accept decimal values from the user. Question 6 should accept an integer from the user. The program should output the total amount that the family spent on food per month. This includes groceries and dining out. The program also needs to output the total amount spent on living expenses each month. This is the sum of rent/mortgage and utilities. The program should also display the entertainment expenses per person per month. Finally, the program needs to show the family surplus (deficit if the number is negative). This is the income minus all expenses. But remember that the expenses are input as monthly numbers and the income is yearly, so you will need to convert the monthly expenses to yearly numbers to calculate the surplus.
Please use Java &
On top: import java.util.Scanner;
import java.text.DecimalFormat;
Then in the body of (your code), create a new format just like you created a scanner.
Like this: DecimalFormat df = new DecimalFormat(".0
In: Computer Science
Natalie is struggling to keep up with the recording of her accounting transactions. She is spending a lot of time marketing and selling mixers and giving her cookie classes. Her friend John is an accounting student who runs his own accounting service. He has asked Natalie if she would like to have him do her accounting.
John and Natalie meet and discuss her business. John suggests that he do the following for Natalie.
1. Hold onto cash until there is enough to be deposited. (He would keep the cash locked up in his vehicle). He would also take all of the deposits to the bank at least twice a month.
2. Write and sign all of the checks.
3. Record all of the deposits in the accounting records.
4. Record all of the checks in the accounting records.
5. Prepare the monthly bank reconciliation.
6. Transfer all of Natalie’s manual accounting records to his computer accounting program. John maintains all of the accounting information that he keeps for his clients on his laptop computer.
7. Prepare monthly financial statements for Natalie to review.
8. Write himself a check every month for the work he has done for Natalie.
Instructions
In: Accounting
Congress just passed close to a $500 billion increase in government spending:
A. How will this impact the Federal Deficit and the National Debt? What are the pros and cons of running such a large deficit and debt?
In: Economics
Of the following examples, which is associated with government spending for investment?
| The federal government spends $2 million on updating and improving the security for the White House. |
| The federal government spends $5 million on office supplies for federal offices. |
| The federal government spends $400 million on fixing airports and upgrading control tower software and technology. |
If Congress passed a new budget that increased taxes it would
| increase the gross domestic product to a new equilibrium as aggregate demand shifted to the left |
| reduce the gross domestic product to a new equilibrium as it rises and the aggregate demand shifts to the right. |
| reduce the gross domestic product to a new equilibrium as aggregate demand shifted to the left. |
Contractionary fiscal policy is recommended when
| a recession has taken place. |
| unemployment is on the rise. |
| inflation has reached harmful levels. |
Assume the government has a budget deficit and that the economy is experiencing a period of growth higher than predicted, tax receipts (collected) by the government are likely to
| increase and increase the budget deficit. |
| decrease and increase the budget deficit. |
| increase and reduce the budget deficit. |
In: Economics
In: Economics
Illustrate the following event with an AS or AD shift:
a. Government cuts defense spending.
Instructions: Grab either the
AD or AS curve and drag-and-drop it in a new position to represent
the resulting shift in AD or AS.
b. Interest rates rise.
Instructions: Grab either the AD or AS curve
and drag-and-drop it in a new position to represent the resulting
shift in AD or AS.
c. Imported oil gets cheaper.
Instructions: Grab either the AD or AS curve
and drag-and-drop it in a new position to represent the resulting
shift in AD or AS.
d. Taxes on the rich are increased.
Instructions: Grab either the AD or AS curve
and drag-and-drop it in a new position to represent the resulting
shift in AD or AS.
e. Consumer confidence increases.
Instructions: Grab either the AD or AS curve and drag-and-drop it in a new position to represent the resulting shift in AD or AS.
f. Taxes on consumers are cut.
Instructions: Grab either the AD or AS curve and drag-and-drop it in a new position to represent the resulting shift in AD or AS.
g. Oil becomes much more expensive.
Instructions: Grab either the AD or AS curve and drag-and-drop it in a new position to represent the resulting shift in AD or AS.
h. Interest rates fall.
Instructions: Grab either the AD or AS curve and drag-and-drop it in a new position to represent the resulting shift in AD or AS.
In: Economics
In the short run, a decrease in consumption spending causes output to _______________and the unemployment rate to ______________.
|
a.
increase; decrease
|
||
|
b.
decrease; increase
|
||
|
c.
increase; increase
|
||
|
d.
decrease; decrease
|
In the short run, an increase in investment spending causes output to ___________ and the unemployment rate to ____________.
|
a.
increase; increase
|
||
|
b.
increase; decrease
|
||
|
c.
decrease; increase
|
||
|
d.
decrease; decrease
|
In the short run, an expansion in Europe causes U.S. exports and aggregate demand to ___________and the unemployment rate to _____________.
|
a.
increase; increase
|
||
|
b.
decrease; decrease
|
||
|
c.
increase; decrease
|
||
|
d.
decrease; increase
|
In the short run, a decrease in the money supply causes the price level and inflation to _____________ .
|
a.
not change
|
||
|
b.
increase
|
||
|
c. increase or not change |
||
|
d. decrease |
In the short run, an increase in the money supply causes output to __________.
|
a.
increase
|
||
|
b.
decrease
|
||
|
c.
not change
|
||
|
d.
decrease or not change
|
In the short run, an increase in the money supply causes the price level and inflation to ________________.
|
a.
decrease
|
||
|
b.
increase
|
||
|
c.
not change
|
||
|
d. decrease or not change |
If the nominal interest rate is 4% and the inflation rate is 1%, then the real interest rate is
|
a.
-5%
|
||
|
b.
3%
|
||
|
c.
5%
|
||
|
d.
-3%
|
In: Economics
18. The spending variance measures
a. the difference between expected expenditures for the actual number of outputs and the expected expenditures for the planning budgeted number of outputs
b. the difference between expected expenditures for the actual number of outputs and the actual expenditures for the actual number of outputs.
c. the difference between budgeted expenditures and actual expenditures for the planned number of outputs.
d. what the costs and revenues should have been for the budgeted number of outputs.
e. what the costs and revenues should have been for the static planning budgeted number of outputs.
In: Accounting
In the Keynesian AE model, if the autonomous components of consumption, investment, government spending, and net export spending total $250 billion, and the MPS is 0.25, what will unplanned changes in inventory be when output is $1.010 trillion?
$4 billion
–$4 billion
–$5 billion
$5 billion
If real output is currently less than the natural level of real output, which of the following will result from an increase in aggregate demand?
It will make the current recessionary gap smaller.
It will make the current inflationary gap smaller.
It will make the current inflationary gap larger.
It will make the current recessionary gap larger.
What would be the impact on aggregate demand (AD) if the Canadian dollar appreciated?
AD would be unaffected.
AD could either increase or decrease.
AD would increase.
AD would decrease.
What would be the impact on aggregate demand (AD) if exports and imports both fell, but imports fell more than exports?
AD would be unaffected.
AD would decrease.
AD would increase.
AD could either increase or decrease.
During a boom, governments tend to run budget surpluses. What effect will these surpluses have on the savings supply curve?
It will result in a movement along the curve.
It will shift the curve to the right.
There will be no change in the curve.
It will shift the curve to the left.
In: Economics
You are the account manager in charge of Internet advertising at Impact Sales. Spending on Internet advertising has increased steadily over the last few years and you predict the growth will continue.
) Do you think a linear model is appropriate for this data? Explain clearly.
f) Find a quadratic model for this data since 2000.
g) Which model better fits your data? Support your answer with a scatter plot of the data and both models on the same set of axis.
h) Using the quadratic model what is the average rate of change between 2002 and 2004?
i) As the account manager what would you budget for Internet advertising in 2008?
TABLE:
Year Internet Advertising Spending (Billions)
2001 0
2002 0.3
2003 0.8
2004 1.9
2005 3
2006 4.3
2007 5.8
In: Advanced Math