Questions
The following information relates to Dane City during its fiscal year ended December 31, 20X2: On...

The following information relates to Dane City during its fiscal year ended December 31, 20X2:

  1. On October 31, 20X2, to finance the construction of a city hall annex, Dane issued 8 percent, 9-year general obligation bonds at their face value of $617,000. Construction expenditures during the period equaled $365,300.
  2. Dane reported $110,300 from hotel room taxes restricted for tourist promotion in a special revenue fund. The fund paid $82,000 for general promotions and $23,000 for a motor vehicle.
  3. Dane transferred 20X2 general fund revenues of $105,500 to a debt service fund and used them to repay $97,000 of 9 percent, 14-year term bonds and to pay $8,500 of interest. The bonds were used to acquire a citizens’ center.
  4. At December 31, 20X2, as a consequence of past services, city firefighters had accumulated entitlements for compensated absences of $83,000. General fund resources available at December 31, 20X2, are expected to be used to settle $18,000 of this amount, and $65,000 is expected to be paid out of future general fund resources.
  5. At December 31, 20X2, Dane was responsible for $84,000 of outstanding general fund encumbrances, including the $8,900 for supplies in the following table.
  6. Dane uses the purchases method to account for supplies. The following information relates to supplies:
Inventory—1/1/X2 $ 40,000
—12/31/X2 43,000
Encumbrances outstanding—1/1/X2 4,000
—12/31/X2 8,900
Purchase orders during 20X2 194,000
Amount credited to vouchers payable during 20X2 181,200


Required:
For items 1 through 10, determine the amounts based solely on the preceding information.

1. What is the amount of 20X2 general fund transfers out?

general fund transfers out



2. How much should be reported in 20X2 as general fund liabilities from entitlements for compensated absences?

general fund liabilities



3. What is the 20X2 assigned amount of the general fund balance?

general fund balance

4. What is the 20X2 capital projects fund balance?

capital projects fund balance

5. What is the 20X2 fund balance on the special revenue fund for tourist promotion?

special revenue fund



6. What is the amount of 20X2 debt service fund expenditures?

debt service fund expenditures

7. What amount should be included in the governmentwide financial statements for the cost of long-term assets acquired in 20X2?

cost of long-term assets

8. What amount stemming from the 20X2 transactions and events decreased the long-term debt liabilities reported in the governmentwide financial statements?

amount of decrease

9. Using the purchases method, what is the amount of 20X2 supplies expenditures?

supplies expenditures

10. What was the total amount of 20X2 supplies encumbrances?

supplies encumbrances

In: Accounting

McGilla Golf is evaluating a new golf club. The clubs will sell for $1,070 per set...

McGilla Golf is evaluating a new golf club. The clubs will sell for $1,070 per set and have a variable cost of $485 per set. The company has spent $175,000 for a marketing study that determined the company will sell 54,000 sets per year for seven years. The marketing study also determined that the company will lose sales of 10,200 sets of its high-priced clubs. The high-priced clubs sell at $1,570 and have variable costs of $700. The company also will increase sales of its cheap clubs by 12,800 sets. The cheap clubs sell for $485 and have variable costs of $215 per set. The fixed costs each year will be $10,000,000. The company has also spent $1,350,000 on research and development for the new clubs. The plant and equipment required will cost $33,600,000 and will be depreciated on a straight-line basis to a zero salvage value. The new clubs also will also require an increase in net working capital of $2,740,000 that will be returned at the end of the project. The tax rate is 24 percent and the cost of capital is 14 percent. What is the senstivity of the NPV to changes in the price and quantity sold of the new clubs? (Do not round intermediate calculations and round your answers to 2 decimal places, e.g., 32.16.)

In: Finance

Beech Corporation is a merchandising company that is preparing a master budget for the third quarter...

Beech Corporation is a merchandising company that is preparing a master budget for the third quarter of the calendar year. The company’s balance sheet as of June 30th is shown below:

Beech Corporation
Balance Sheet
June 30
Assets
Cash $ 92,000
Accounts receivable 130,000
Inventory 48,600
Plant and equipment, net of depreciation 216,000
Total assets $ 486,600
Liabilities and Stockholders’ Equity
Accounts payable $ 77,000
Common stock 329,000
Retained earnings 80,600
Total liabilities and stockholders’ equity $ 486,600

Beech’s managers have made the following additional assumptions and estimates:

  1. Estimated sales for July, August, September, and October will be $270,000, $290,000, $280,000, and $300,000, respectively.

  2. All sales are on credit and all credit sales are collected. Each month’s credit sales are collected 45% in the month of sale and 55% in the month following the sale. All of the accounts receivable at June 30 will be collected in July.

  3. Each month’s ending inventory must equal 20% of the cost of next month’s sales. The cost of goods sold is 60% of sales. The company pays for 30% of its merchandise purchases in the month of the purchase and the remaining 70% in the month following the purchase. All of the accounts payable at June 30 will be paid in July.

  4. Monthly selling and administrative expenses are always $50,000. Each month $5,000 of this total amount is depreciation expense and the remaining $45,000 relates to expenses that are paid in the month they are incurred.

  5. The company does not plan to borrow money or pay or declare dividends during the quarter ended September 30. The company does not plan to issue any common stock or repurchase its own stock during the quarter ended September 30.

Required:

1. Prepare a schedule of expected cash collections for July, August, and September. Also compute total cash collections for the quarter ended September 30.

2-a. Prepare a merchandise purchases budget for July, August, and September. Also compute total merchandise purchases for the quarter ended September 30.

2-b. Prepare a schedule of expected cash disbursements for merchandise purchases for July, August, and September. Also compute total cash disbursements for merchandise purchases for the quarter ended September 30.

3. Prepare an income statement for the quarter ended September 30.

4. Prepare a balance sheet as of September 30

In: Accounting

Background: This activity is based on the results of a recent study on the safety of...

Background: This activity is based on the results of a recent study on the safety of airplane drinking water that was conducted by the U.S. Environmental Protection Agency (EPA). A study found that out of a random sample of 316 airplanes tested, 40 had coliform bacteria in the drinking water drawn from restrooms and kitchens. As a benchmark comparison, in 2003 the EPA found that about 3.5% of the U.S. population have coliform bacteria-infected drinking water. The question of interest is whether, based on the results of this study, we can conclude that drinking water on airplanes is more contaminated than drinking water in general.

Question 1: (Remember write all answer in an MS Word doc and upload)

Let p be the proportion of contaminated drinking water in airplanes. Write down the appropriate null and alternative hypotheses.

Question 2:

Based on the collected data, is it safe to use the z-test for p in this scenario? Explain.

Use the following instructions to conduct the z-test for the population proportion:

Instructions - 2 Options

Option 1: Click on the following link to use the MS Excel hypothesis test template: hypothesis.xls
R | StatCrunch | Minitab | Excel 2007 | TI Calculator

Question 3:

Now that we have established that it is safe to use the Z-test for p for our problem, go ahead and carry out the test. Paste the output below.

Question 4:

What is the test statistic for this test? (Hint: Calculation already done by either technology option.) Interpret this value.

Question 5:

What is the P-Value? Interpret what that means, and draw your conclusions. Assume significance level of 0.05.

In: Math

A. Use truth tables to verify these equivalences 1. p∨p ≡ p 2. p∧p ≡ p...

A. Use truth tables to verify these equivalences

1. p∨p ≡ p

2. p∧p ≡ p

3. p∨(p∧q) ≡ p

4. p∨q ≡¬p → q

5. p∧q ≡¬(p →¬q)

6. p ↔ q ≡ (p → q)∧(q → p)

B. Determine the truth value of each of these statements. (Assume the domain of variables consist of all real numbers).

1. ∃x(x2 = 2)

2. ∃x(x + 2 = x)

3. ∀x(x2 + 2 > 0)

4. ∀x(x2 = x)

In: Computer Science

          What are the stages of demographic transition theory, explain those stages? 3 to 4 sentences for...

          What are the stages of demographic transition theory, explain those stages?

3 to 4 sentences for the answer

In: Psychology

[The following information applies to the questions displayed below.] Beech Corporation is a merchandising company that...

[The following information applies to the questions displayed below.]

Beech Corporation is a merchandising company that is preparing a master budget for the third quarter of the calendar year. The company’s balance sheet as of June 30th is shown below:


Beech Corporation
Balance Sheet
June 30
Assets
Cash $  73,000
Accounts receivable 125,000
Inventory 56,000
Plant and equipment, net of depreciation 221,000
Total assets $ 475,000
Liabilities and Stockholders’ Equity
Accounts payable $  82,000
Common stock 309,000
Retained earnings 84,000
Total liabilities and stockholders’ equity $ 475,000

Beech’s managers have made the following additional assumptions and estimates:

1. Estimated sales for July, August, September, and October will be $320,000, $340,000, $330,000, and $350,000, respectively.

2. All sales are on credit and all credit sales are collected. Each month’s credit sales are collected 35% in the month of sale and 65% in the month following the sale. All of the accounts receivable at June 30 will be collected in July.

3. Each month’s ending inventory must equal 25% of the cost of next month’s sales. The cost of goods sold is 70% of sales. The company pays for 40% of its merchandise purchases in the month of the purchase and the remaining 60% in the month following the purchase. All of the accounts payable at June 30 will be paid in July.

4. Monthly selling and administrative expenses are always $40,000. Each month $6,000 of this total amount is depreciation expense and the remaining $34,000 relates to expenses that are paid in the month they are incurred.

5. The company does not plan to borrow money or pay or declare dividends during the quarter ended September 30. The company does not plan to issue any common stock or repurchase its own stock during the quarter ended September 30.


Required:

1. Prepare a schedule of expected cash collections for July, August, and September. Also compute total cash collections for the quarter ended September 30.

   

2-a. Prepare a merchandise purchases budget for July, August, and September. Also compute total merchandise purchases for the quarter ended September 30.

   

2-b. Prepare a schedule of expected cash disbursements for merchandise purchases for July, August, and September. Also compute total cash disbursements for merchandise purchases for the quarter ended September 30.

   

3. Prepare an income statement for the quarter ended September 30.

   

4. Prepare a balance sheet as of September 30.

    


In: Accounting

The Shield Corporation has BB-rated bonds with a yield to maturity of 6.40% APR. A U.S...

The Shield Corporation has BB-rated bonds with a yield to maturity of 6.40% APR. A U.S Treasury, with the same maturity, currently has a yield to maturity of 4.14% APR. Both bonds pay semi-annual coupons at a 6.24% APR and have 5.00 years until maturity. (assume $1,000 face value)

What is the current price of the Shield Corporation bond?

What is the current price of the Treasury bond?

In: Finance

Write PSEUDO CODE! for Min_Heap_Delete(A,i) which deletes the item at position i in Min_Heap A. Assume...

Write PSEUDO CODE! for Min_Heap_Delete(A,i) which deletes the item at position i in Min_Heap A. Assume that A is a one-dimensional array. Hint:Think about “bubbling up” and “bubbling down” and the operations that do these, then give the best upper bound you can on the worst case running time of your method, in ordered notations.

In: Computer Science

Step 1: Students will prepare a list of global mindset–enhancing activities organized around two categories: (1)...

Step 1: Students will prepare a list of global mindset–enhancing activities organized around two categories: (1) organizationally generated activities and (2) personal development activities.

Organizationally generated activities: What organizational practices — interventions or conditions created deliberately by the organization — have you experienced or know that others have experienced that develop a person’s global mindset? Be specific in your description of each activity and, where possible, identify the element(s) of global mindset that improve through that activity.

Personal development activities: Suppose someone asked you what personal steps they could take to develop a global mindset. What would you recommend? Think about ways that you have personally developed your (or have good knowledge of someone else who has developed their) global mindset. Your suggestions should say what

specific elements of global mindset are improved through each activity.

In: Operations Management

Suppose the Gulfstream G550 is cruising at an altitude and of 41,000 feet. and 559 miles...

Suppose the Gulfstream G550 is cruising at an altitude and of 41,000 feet. and 559 miles per hour, respectively. If the plane currently weighs 74,950 pounds, how much thrust is required to maintain these flight conditions? The wingspan is 91.5 feet and the wing platform area is 1,137 square feet. The Oswald efficiency factor is 0.9 and the zero-lift drag coefficient is 0.0165.

In: Mechanical Engineering

A 30-year loan of 1100 is repaid with payments at the end of each year. Each...

A 30-year loan of 1100 is repaid with payments at the end of each year.

Each of the first fifteen payments equals 155% of the amount of interest due. Each of the last fifteen payments is X.

The lender charges interest at an annual effective rate of 8%. Calculate X

a. 57

b. 65

c. 77

d. 82

e. 46

In: Finance

Assume the short run variable cost function for Japanese beer is VC=0.5q^0.67 If the fixed cost​...

Assume the short run variable cost function for Japanese beer is VC=0.5q^0.67

If the fixed cost​ (F) is $1500 and the firm produces 600​units, determine the total cost of production​ (C), the variable cost of production​ (VC), the marginal cost of production​ (MC), the average fixed cost of production​ (AFC), and the average variable cost of production​ (AVC). What happens to these costs if the firm increases its output to 650?

Assuming the firm produces 600 units, the variable cost of production​ (VC) is

VC=???????. ​ (Enter your response rounded to two decimal​places.)

The total cost of production​ (C) is C=$????.?? ​(Enter your response rounded to two decimal​ places.)

The marginal cost of production​ (MC) is MC=​$?.?? ​(Enter your response rounded to two decimal​ places.)

The average fixed cost of production​ (AFC) is AFC=​$?.??   ​(Enter your response rounded to two decimal​ places.)

The average variable cost of production​ (AVC) is AVC=​$?.??​(Enter your response rounded to two decimal​ places.)

Now suppose the firm increases output to 750 units.

The variable cost of production​ (VC) is VC=​$???.?? ​(Enter your response rounded to two decimal​ places.)

The total cost of production​ (C) is C=​$????.?? ​(Enter your response rounded to two decimal​ places.)

The marginal cost of production​ (MC) is MC= $?.??  ​(Enter your response rounded to two decimal​ places.)

The average fixed cost of production​ (AFC) is AFC=​$?.??     ​(Enter your response rounded to two decimal​ places.)

The average variable cost of production​ (AVC) is AVC=​$?.??   ​(Enter your response rounded to two decimal​places.)

In: Economics

. Define each of the following types of credit market instruments and identify one common example...

. Define each of the following types of credit market instruments and identify one common example of each type: (a) simple loan; (b) fixed payment loan; (c) coupon bond; (d) discount bond. (e) Are loans and bonds credit and/or debt instruments? Briefly explain.

In: Finance

The goal of this lab is to write a simple, but functional, web server that is...

The goal of this lab is to write a simple, but functional, web server that is capable of sending files to a web browser on request. The web server must create a listening socket and accept connections. It must implement just enough of the HTTP/1.1 protocol to enable it to read requests for files and to send the requested files. It should also be able to send error responses to the client when appropriate.


It would be useful to see the HTTP protocol in action before beginning your work. Your program will have to read HTTP requests and send HTTP responses

To see what an HTTP request might look like, you can run the program ReadRequest, which can be found in the code directory. To run the program, cd to that directory on the command line, and enter the command java ReadRequest. The program is ready to accept requests from web browsers on port 50505. (It will continue to do so until you terminate the program.) When it receives a request, it simply prints out the request, including all headers. It then closes the connection; it does not send any response back to the browser. To see a request, open a web browser, and enter the URL http://localhost:50505/path/file.txt into the browser's location box. The request will be output to the console window where you are running the ReadRequest program. The first line of the request should be GET /path/file.txt HTTP/1.1". This will be followed by several headers.

To send an HTTP request and see the response, you can use the standard telnet program. Type the following lines carefully in a console window:

telnet google.com 80

Add a blank line, by pressing return twice after typing the last line. This sends a legal HTTP request for the file index.html. The web server on math.hws.edu will respond by sending a status line followed by some headers and a blank line, followed by the contents of the file. You can try to get some error responses, if you want, such as by asking for a non-existent file instead of index.html or by using a different method instead of GET.

Start a new Eclipse project and create your main program class. The basic programming for a server is pretty standard: It just has to create a ServerSocket and use it to accept connection requests. For the main routine in your program, you can just use the main routine from ReadRequest.java. You can copy-and-paste it from here:

public static void main(String[] args) {
ServerSocket serverSocket;
try {
serverSocket = new ServerSocket(LISTENING_PORT);
}
catch (Exception e) {
System.out.println("Failed to create listening socket.");
return;
}
System.out.println("Listening on port " + LISTENING_PORT);
try {
while (true) {
Socket connection = serverSocket.accept();
System.out.println("\nConnection from "
+ connection.getRemoteSocketAddress());
handleConnection(connection);
}
}
catch (Exception e) {
System.out.println("Server socket shut down unexpectedly!");
System.out.println("Error: " + e);
System.out.println("Exiting.");
}
}

The problem is to write the handleConnection() method. This method gets an already connected socket as a parameter. It can use that socket to get an InputStream and an OutputStream for communicating over the connection. It can read the request from the input stream and send a response to the output stream. Finally, it can close the connection. You can use some ideas (and maybe some code) from the handleConnection method in ReadRequest.java, but the method that you are writing will be a good deal more complicated.

It is very important that:

(a) the handleConnection method should catch and handle any exception that occurs so that the exception does not crash the whole server, and

(b) the socket must be closed at the end of the method. Use a try..catch..finally statement to make sure that (a) and (b) are done correctly. See ReadRequest.java for an example.

Your program should be ready to send error responses to the client, as well as fulfilling legitimate requests. The next section asks you to implement error-handling. For now, you can simply return from the handleConnection method when you detect an error.

The first three tokens that you read from the input stream should be "GET", the path to the file that is being requested, and "HTTP/1.1" (or, just possibly, "HTTP/1.0"). If you can't read three tokens, or if they are not of the expected form, you should consider that to be an error.

Assuming that the request has the correct form, you want to try to find the requested file and send it in a response over the output stream. All the files that are available on your server should be in some directory, which is called the root directory of the server. You can use any directory that you want as your root directory, as long as you can read that directory. For example, if you want to serve up files from Professor Corliss's web directory, you can set

String rootDirectory = "/home/mcorliss/www"

Of course, you could also use your own www directory. Assuming that rootDirectory is the root directory of your server and pathToFile is the path to the file as given in the request from the browser, then the full name of the file is rootDirectory + pathToFile, and you can create a File object to represent the file that is being requested as follows:

File file = new File(rootDirectory + pathToFile);

Note that:

the method file.exists() can be used to check whether the requested file actually exists
the method file.isDirectory() tests whether the file is actually a directory rather than a regular file
the method file.canRead() tests whether you can read the file
the method file.length() tells you the length of the file, that is, how many bytes of data it contains.
Once you have found the file and know that it is a regular file and that you can read it, you are ready to send a response to the browser. (If the file is a directory, you can't send it, but a typical server, in this case, will send the contents of a file named index.html in that directory, if it exists. You can think about how to implement this if you want.) Before you send the file itself, you have to send the status line, some headers, and an empty line. You can use a PrintWriter to do this. However, the HTTP protocol specifies that ends-of-line should be indicated by "\r\n" rather than the "\n" that is standard in Linux. Although I have found that it doesn't matter when sending text documents, it does seem to matter when sending images. So, instead of using out.println(x), you should use out.print(x + "\r\n") to send a line of text, and use out.print("\r\n") to send a blank line. The status line to indicate a good response should be:

HTTP/1.1 200 OK

(with "\r\n" at the end). You should send three headers: "Connection", "Content-Length", and "Content-Type". For the Connection header, you can send

Connection: close

which informs the browser that you are going to close the connection after sending the file. The Content-Length header should specify the number of bytes in the file, which you can find with the file.length() method. The Content-Type header tells the browser what kind of data is in the file. It can generally be determined from the extension part of the file name. Here is a method that will return the proper content type for many kinds of files:

private static String getMimeType(String fileName) {
int pos = fileName.lastIndexOf('.');
if (pos < 0) // no file extension in name
return "x-application/x-unknown";
String ext = fileName.substring(pos+1).toLowerCase();
if (ext.equals("txt")) return "text/plain";
else if (ext.equals("html")) return "text/html";
else if (ext.equals("htm")) return "text/html";
else if (ext.equals("css")) return "text/css";
else if (ext.equals("js")) return "text/javascript";
else if (ext.equals("java")) return "text/x-java";
else if (ext.equals("jpeg")) return "image/jpeg";
else if (ext.equals("jpg")) return "image/jpeg";
else if (ext.equals("png")) return "image/png";
else if (ext.equals("gif")) return "image/gif";
else if (ext.equals("ico")) return "image/x-icon";
else if (ext.equals("class")) return "application/java-vm";
else if (ext.equals("jar")) return "application/java-archive";
else if (ext.equals("zip")) return "application/zip";
else if (ext.equals("xml")) return "application/xml";
else if (ext.equals("xhtml")) return"application/xhtml+xml";
else return "x-application/x-unknown";
// Note: x-application/x-unknown is something made up;
// it will probably make the browser offer to save the file.
}

Putting all this together, the beginning of the response might look something like:
HTTP/1.1 200 OK
Connection: close
Content-Type: text/html
Content-Length: 3572

with a blank line at the end. And don't forget to flush the PrintWriter after sending this data.

Finally, it's time to send the data from the file itself! The file is not necessarily text, and in any case it should be sent as a stream of bytes. The following method can be used to copy the content of the file to the socket's output stream:

private static void sendFile(File file, OutputStream socketOut) throws
IOException {
InputStream in = new BufferedInputStream(new FileInputStream(file));
OutputStream out = new BufferedOutputStream(socketOut);
while (true) {
int x = in.read(); // read one byte from file
if (x < 0)
break; // end of file reached
out.write(x); // write the byte to the socket
}
out.flush();
}

At this point, your web server program should work for legal requests for valid files. Note, by the way, that you can try telnetting to your server and sending it a request, to see what response it actually sends.


Error Handling

If something goes wrong with a request, the server should nevertheless send a response. The first line of a response always contains a status code indicating the status of the response, as well as a textual description of the status. For a normal response, the status code is 200, indicating success. Status codes for errors are in the 400s and 500s. For example, the status code 404 is used when the request asks for a file that does not exist on the server. The first line of the response, in this case, is "HTTP/1.1 404 Not

Found". The response should also include, at least, a "Content-type" header and the content of the page that is to be displayed in the browser to inform the user of the error. For example, the complete response for a 404 error might look like:

HTTP/1.1 404 Not Found
Connection: close
Content-Type: text/html

<html><head><title>Error</title></head><body>
<h2>Error: 404 Not Found</h2>
<p>The resource that you requested does not exist on this server.</p>
</body></html>

In: Computer Science