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 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). 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
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 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 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).
On October 8, 900shirts are delivered and Topper receives $9,000 cash (900 * $10)
|
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 operations follow:
Budgeted Sales:
|
Month |
October |
November |
December |
January |
|
Sales in Units |
30,000 |
25,000 |
40,000 |
30,000 |
|
Balance Sheet |
||
|
September 30 |
||
|
Assets |
||
|
Cash......................................................................................... |
$ 100,000 |
|
|
Accounts receivable................................................................ |
250,000 |
|
|
Inventory................................................................................. |
114,000 |
|
|
Property, plant and equipment |
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:
In: Accounting
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:
In: Economics
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