Questions
In this assignment, you will create a Java program to search recursively for a file in...

In this assignment, you will create a Java program to search recursively for a file in a directory.

• The program must take two command line parameters. First parameter is the folder to search for. The second parameter is the filename to look for, which may only be a partial name.

• If incorrect number of parameters are given, your program should print an error message and show the correct format.

• Your program must search recursively in the given directory for the files whose name contains the given filename. Once a match is found, your program should print the full path of the file, followed by a newline.

• You can implement everything in the main class. You need define a recursive method such as: public static search(File sourceFolder, String filename) For each folder in sourceFolder, you recursively call the method to search.

• A sample run of the program may look like this: //The following command line example searches any file with “Assignment” in its name

%java Assign7.Assignment6

C:\CIS 265 Assignment

C:\CIS 265\AS 2\Assignment2.class C:\CIS 265\AS 2\Assignment2.java C:\CIS 265\AS 3\CIS265\Assignment3.class C:\CIS 265\AS 3\CIS265\Assignment3.java C:\CIS 265\AS 4\Assignment4.gpj

Hi please tell me what to input exactly, thanks

In: Computer Science

Entries for bond (held-to-maturity) investments Gillooly Co. purchased $360,000 of 6%, 20-year Lumpkin County bonds on...

Entries for bond (held-to-maturity) investments

Gillooly Co. purchased $360,000 of 6%, 20-year Lumpkin County bonds on May 11, Year 1, directly from the county, at their face amount plus accrued interest. The bonds pay semiannual interest on April 1 and October 1. On October 31, Year 1, Gillooly Co. sold $90,000 of the Lumpkin County bonds at 98 plus $450 accrued interest less a $200 brokerage commission.

Journalize the entries to record the following: Do not round interim calculations. Round final answers to nearest dollar. If an amount box does not require an entry, leave it blank. Assume a 360-day year.

a. The purchase of the bonds on May 11 plus 40 days of accrued interest.

Year 1 May 11 Investments-Lumpkin County Bonds fill in the blank 1d8d66fee066ffe_2 fill in the blank 1d8d66fee066ffe_3
Interest Receivable fill in the blank 1d8d66fee066ffe_5 fill in the blank 1d8d66fee066ffe_6
Cash fill in the blank 1d8d66fee066ffe_8 fill in the blank 1d8d66fee066ffe_9

Feedback

a. Record the investment at face (debit), interest receivable (debit) for [face amount of bonds x interest rate x (40 days ÷ 360 days)], and the cash paid for the sum of cash plus interest receivable.

b. Semiannual interest on October 1.

Year 1 Oct. 1 Cash fill in the blank 8e7bfa05107603c_2 fill in the blank 8e7bfa05107603c_3
Interest Receivable fill in the blank 8e7bfa05107603c_5 fill in the blank 8e7bfa05107603c_6
Interest Revenue fill in the blank 8e7bfa05107603c_8 fill in the blank 8e7bfa05107603c_9

Feedback

b. Bond principal x interest rate x half a year = total interest. Record this amount as a debit to Cash. Reduce interest receivable (credit) by the amount calculated in requirement (a) and increase interest revenue (credit) for the difference between the cash and the interest receivable adjustment.

c. Sale of the bonds on October 31.

Year 1 Oct. 31 Cash fill in the blank 4f01ca02eff7fcf_2 fill in the blank 4f01ca02eff7fcf_3
Loss on Sale of Investments fill in the blank 4f01ca02eff7fcf_5 fill in the blank 4f01ca02eff7fcf_6
Interest Revenue fill in the blank 4f01ca02eff7fcf_8 fill in the blank 4f01ca02eff7fcf_9
Investments-Lumpkin County Bonds fill in the blank 4f01ca02eff7fcf_11 fill in the blank 4f01ca02eff7fcf_12

Feedback

c. Calculate the proceeds: 98% x face amount of bonds sold, plus accrued interest, less commission. Debit cash for this amount. Credit investments for the face amount of bonds sold and credit interest revenue for accrued interest amount. To complete the entry, enter the difference between the cash sale amount and the face investment amount + accrued interest as a gain or loss.

d. Adjusting entry for accrued interest on December 31, Year 1.

Year 1 Dec. 31 Interest Receivable fill in the blank 44505dfe103cfbf_2 fill in the blank 44505dfe103cfbf_3
Interest Revenue fill in the blank 44505dfe103cfbf_5 fill in the blank 44505dfe103cfbf_6

Feedback

d. Debit Interest Receivable and credit Interest Revenue for the accrued interest. Remaining bond face after sale x interest rate x (91 days from Oct. 1 to Dec. 31 ÷ 360 days)].

e. The receipt of the face value of the remaining bonds at their maturity on April 1, Year 20.

Year 20 Apr. 1 Cash fill in the blank a60031ff2028017_2 fill in the blank a60031ff2028017_3
Investments-Lumpkin County Bonds fill in the blank a60031ff2028017_5 fill in the blank a60031ff2028017_6

Feedback

Partially correct

Feedback

Partially correct

In: Accounting

Small, energy-efficient, Internet-centric, new computers are increasingly gaining popularity (The New York Times, July 20, 2008)....

Small, energy-efficient, Internet-centric, new computers are increasingly gaining popularity (The New York Times, July 20, 2008). Some of the biggest companies are wary of the new breed of computers because their low price could threaten PC makers’ already thin profit margins. An analyst comments that the larger companies have a cause for concern since the mean price of these small computers has fallen below $350. She examines six popular brands of these small computers and records their retail prices as: (You may find it useful to reference the appropriate table: z table or t table).

$322 $269 $373 $412 $299 $389

a. What assumption regarding the distribution of the price of small computers is necessary to test the analyst’s claim?

b. Select the appropriate null and alternative hypotheses to test the analyst’s claim.

  • H0: μ350; HA: μ < 350

  • H0: μ = 350; HA: μ350

  • H0: μ350; HA: μ > 350

c-1. Calculate the value of the test statistic. (Negative value should be indicated by a minus sign. Round intermediate calculations to at least 4 decimal places and final answer to 2 decimal places.)

c-2. Find the p-value

  • p-value < 0.01

  • 0.01 ≤ p-value < 0.025

  • 0.025 ≤ p-value < 0.05

  • 0.05 ≤ p-value < 0.10

  • p-value ≥ 0.10

d-1. What is the conclusion at the 5% significance level?

  • Reject H0 since the p-value is greater than significance level.

  • Reject H0 since the p-value is smaller than significance level.

  • Do not reject H0 since the p-value is greater than significance level.

  • Do not reject H0 since the p-value is smaller than significance level.

d-2. Should the larger computer companies be concerned?

  • Yes, since we reject H0.

  • Yes, since we do not reject H0.

  • No, since we reject H0.

  • No, since we do not reject H0.

In: Statistics and Probability

Bond measurement and Presentation

On October 1, 2016, Kristal Corp. issued $700,000, 5%, 10-year bonds at face value. The bonds were dated October 1, 2016, and pay interest annually on October 1. Financial statements are prepared annually on December 31. Instructions

(a)Prepare a tabular summary to record the issuance of the bonds and the adjustments to record the accrual of interest on December 31, 2016.

(b)Show the balance sheet presentation of bonds payable and bond interest payable on December 31, 2016.

(c)Prepare a tabular summary to record the payment of interest on October 1, 2017.

(d)Prepare a tabular summary to record redemption of the bonds on October 1, 2026, their maturity date.

Record stock transactions and prepare paid-in capital section.


In: Accounting

Coming Home Corporation uses a weighted-average process costing system to collect costs related to production. The...

Coming Home Corporation uses a weighted-average process costing system to collect costs related to production. The following selected information relates to production for October:

Materials

Conversion

Units completed and transferred out

49,000

49,000

Equivalent units: work in process, October 31

11,000

5,000

Total equivalent units

60,000

54,000

Materials

Conversion

Costs in work in process on October 1

$

9,000

$

5,400

Costs added to production during October

243,000

513,000

Total cost

$

252,000

$

518,400

All materials at Coming Home are added at the beginning of the production process.

What total amount of cost should be assigned to the units completed and transferred out during October?

a.

$690,000

b.

$667,800

c.

$642,000

d.

$676,200

In: Accounting

Bettie Corporation uses a weighted-average process costing system to collect costs related to production. The following...

Bettie Corporation uses a weighted-average process costing system to collect costs related to production. The following selected information relates to production for October:

Materials Conversion
Units completed and transferred out 50,000 50,000
Equivalent units: work in process, October 31 10,000 4,000
Total equivalent units 60,000 54,000
Materials Conversion
Costs in work in process on October 1 $ 9,000 $ 5,400
Costs added to production during October 243,000 513,000
Total cost $ 252,000 $ 518,400

All materials at Bettie are added at the beginning of the production process.

What total amount of cost should be assigned to the units completed and transferred out during October?

Multiple Choice

$677,500

$642,000

$691,900

$690,000

In: Accounting

1.  On October 1, Topper Company signs a contract to sell 1,000tie-dyed shirts for $10,000 ($10.00 each)....

1.  On October 1, Topper Company signs a contract to sell 1,000tie-dyed shirts for $10,000 ($10.00 each).

On October 8, 900shirts are delivered and Topper receives $9,000 cash (900 * $10)

  1. Prepare the journal entry Topper Company would record to recognize revenue on October 8:

Debit

Credit

Cash

$9,000

       Unearned Revenue

$9,000

On October 15, Topper modifies the agreement to sell an additional 500 tie-dyed shitsfor $4,000 ($8.00 each * 500 shirts) which is significantly lower than Topper’s stand-alone selling price at that time.

So they still need to deliver 100from the agreement made on October 1 plus another 500for a total of 600tie-dyed flags.  

In: Accounting

Weldon Industrial Gas Corporation supplies acetylene and other compressed gases to industry. Data regarding the store's...

Weldon Industrial Gas Corporation supplies acetylene and other compressed gases to industry. Data regarding the store's operations follow:

  • The company sells each unit for $45.

Budgeted Sales:

Month

October

November

December

January

Sales in Units

30,000

25,000

40,000

30,000

  • Collections are expected to be 70% in the month of sale, 30% in the month following the sale.
  • The A/R balance at September 30th will be collected in full in October.
  • The cost of the merchandise is $38 per unit.
  • In addition to meeting the current month’s sales demand, management wants to maintain and ending inventory balance of 10% of the next month’s sales.
  • The beginning inventory balance at October 1st is 3,000 units.
  • Payment for merchandise is made as follows: ½ paid in the month of the purchase, ½ paid the month following the purchase.
  • The A/P balance at September 30th will be paid in full in October.
  • A dividend was paid in October for $500,000.
  • Minimum cash balance is $100,000.
  • The company has a line of credit for $500,000 at an annual interest rate of 12%.
  • Loans are taken out on first day of month borrowed and repaid at the end of the quarter with interest.

           

Balance Sheet

September 30

Assets

Cash.........................................................................................

$   100,000

Accounts receivable................................................................

250,000

Inventory.................................................................................

114,000

Property, plant and equipment
(net of $200,000 accumulated depreciation).......................

866,400

Total assets..............................................................................

$1,330,400

Liabilities and Stockholders’ Equity

Accounts payable....................................................................

$   300,000

Common stock.........................................................................

582,000

Retained earnings....................................................................

     448,400

Total liabilities and stockholders’ equity................................

$1,330,400

            Required:

  1. Prepare a Sales Budget for October, November, December, and Quarter.
  2. Prepare a Schedule of Expected Cash Collections for October, November, December, and Quarter.
  3. Prepare a Merchandise Purchases Budget for October, November, December, and Quarter.
  4. Prepare a Schedule of Expected Cash Disbursements for October, November, December, and Quarter.
  5. Prepare Cash Budgets for October, November, December, and Quarter.

In: Accounting

Explain the determinates of U.S foreign policy. Describe and analyze how these factors influence U.S. foreign...

Explain the determinates of U.S foreign policy. Describe and analyze how these factors influence U.S. foreign policy in one of the following regions:

  1. The Middle East
  2. Asia
  3. Russia
  4. Africa
  5. Latin America

In: Economics

What were the major arguments made by W. E. B. Du Bois in his efforts to...

What were the major arguments made by W. E. B. Du Bois in his efforts to expand civil rights in America? How does this compare to Booker T. Washington’s arguments?

In: Nursing