Questions
unix Delete the second character from every line in a file Delete the last word from...

unix

  1. Delete the second character from every line in a file
  2. Delete the last word from every line in a file.
  3. Swap the first and second letter of every line in a file.
  4. Swap the first and last characters of every line in a file.
  5. For each line that begins with a single space, replace the space with a tab. Lines that begin with 2 or more spaces should not be effected.
  6. Finds dates in the form mm/dd/yy and replaces them with the form mm/dd/20yy. In other words puts 20 in front of a 2 digit year. 4 digit years should not be changed.
  7. Move lines 3 through 5 after line 8 (so the output lines would be in order 1,2,6,7,8,3,4,5,9,10,....)
  8. Given a line with a UNIX path specified, print the base file name only. So for example, "/home/users/james" would print "james"
  9. Given a line with a UNIX path specified, print the directory part only. So for example, "/home/users/james" would print "home/users"

In: Computer Science

You are implementing a brand new type of ATM that provides exact amounts of cash (bills...

You are implementing a brand new type of ATM that provides exact amounts of cash (bills only, no coins). In order to maximize potential revenue an algorithm is needed that will allow for using different denomination amounts as needed by the local currency (value of bills will vary, but are integers).

  1. The program shall graphically prompt the user for a file.

  2. The program shall read the selected file of which the first line will be a space separated list of the

    bill denomination sizes.

  3. The program shall then read each line in the rest of the file containing an integer and output the

    number of different ways to produce that value using the denominations listed in the first line.

  4. The program shall indicate after that the number of milliseconds the program spent calculating

    the answer.

  5. The program shall implement 2 different forms of the algorithm: 1 recursive and 1 using dynamic

    programming.

  6. The program shall have 2 sets of output, 1 for each implementation.

  7. The program shall write the output to a file in the same directory as the input file.

  8. The program must be written in Java.

In: Computer Science

The cash account for Brentwood Bike Co. at May 1 indicated a balance of $34,250. During...

The cash account for Brentwood Bike Co. at May 1 indicated a balance of $34,250. During May, the total cash deposited was $140,300, and checks written totaled $138,880. The bank statement indicated a balance of $43,525 on May 31. Comparing the bank statement, the canceled checks, and the accompanying memos with the records revealed the following reconciling items:

A. Checks outstanding totaled $6,440.
B. A deposit of $1,850 representing receipts of May 31, had been made too late to appear on the bank statement.
C. The bank had collected for Brentwood Bike Co. $5,250 on a note left for collection. The face of the note was $5,000.
D. A check for $390 returned with the statement had been incorrectly charged by the bank as $930.
E. A check for $210 returned with the statement had been recorded by Brentwood Bike Co. as $120. The check was for the payment of an obligation to Adkins Co. on account.
F. Bank service charges for May amounted to $30.
G. A check for $1,325 from Jennings Co. was returned by the bank due to insufficient funds.
Instructions
1. Prepare a bank reconciliation as of May 31. Refer to the Amount Descriptions list provided for the exact wording of the answer choices for text entries. “Deduct:” or “Add:” will automatically appear if it is required.
2. Journalize the necessary entries. The accounts have not been closed. Refer to the Chart of Accounts for exact wording of account titles.
3. If a balance sheet is prepared for Brentwood Bike Co. on May 31, what amount should be reported as cash?

Chart of Accounts

CHART OF ACCOUNTS
Brentwood Bike Co.
General Ledger
ASSETS
110 Cash
111 Petty Cash
112 Accounts Receivable-Jennings Co.
131 Notes Receivable
141 Merchandise Inventory
145 Office Supplies
146 Store Supplies
151 Prepaid Insurance
181 Land
191 Office Equipment
192 Accumulated Depreciation-Office Equipment
193 Store Equipment
194 Accumulated Depreciation-Store Equipment
LIABILITIES
211 Accounts Payable-Adkins Co.
221 Notes Payable
222 Interest Payable
231 Salaries Payable
241 Sales Tax Payable
EQUITY
310 Owner, Capital
311 Owner, Drawing
312 Income Summary
REVENUE
410 Sales
610 Interest Revenue
EXPENSES
510 Cost of Merchandise Sold
515 Credit Card Expense
516 Cash Short and Over
520 Salaries Expense
531 Advertising Expense
532 Delivery Expense
533 Insurance Expense
534 Office Supplies Expense
535 Rent Expense
536 Repairs Expense
537 Selling Expenses
538 Store Supplies Expense
561 Depreciation Expense-Office Equipment
562 Depreciation Expense-Store Equipment
590 Miscellaneous Expense
710 Interest Expense

Amount Descriptions

Amount Descriptions

Bank error in charging check as $390 instead of $930
Bank error in charging check as $930 instead of $390
Bank service charges
Check returned because of insufficient funds
Company error in recording note collected by bank
Deposit of May 31, not recorded by bank
Error in recording check
Outstanding checks
Note and interest collected by bank

In: Accounting

Exercise 10-45 (LO10-6) The number of "destination weddings" has skyrocketed in recent years. For example, many...

Exercise 10-45 (LO10-6)

The number of "destination weddings" has skyrocketed in recent years. For example, many couples are opting to have their weddings in the Caribbean. A Caribbean vacation resort recently advertised in Bride Magazine that the cost of a Caribbean wedding was less than $30,000. Listed below is a total cost in $000 for a sample of 8 Caribbean weddings. At the 0.05 significance level, is it reasonable to conclude the mean wedding cost is less than $30,000 as advertised?

31.7 30.5 31.4 28.6 29.2 29.4 29.6 28.5
  1. State the null hypothesis and the alternate hypothesis. Use a 0.05 level of significance. (Enter your answers in thousands of dollars.)
  1. State the decision rule for 0.05 significance level. (Negative amount should be indicated by a minus sign. Round your answer to 3 decimal places.)
  1. Compute the value of the test statistic. (Negative amount should be indicated by a minus sign. Round your answer to 3 decimal places.)
  1. What is the conclusion regarding the null hypothesis?

Exercise 10-45 (LO10-6)

The number of "destination weddings" has skyrocketed in recent years. For example, many couples are opting to have their weddings in the Caribbean. A Caribbean vacation resort recently advertised in Bride Magazine that the cost of a Caribbean wedding was less than $30,000. Listed below is a total cost in $000 for a sample of 8 Caribbean weddings. At the 0.05 significance level, is it reasonable to conclude the mean wedding cost is less than $30,000 as advertised?

31.7 30.5 31.4 28.6 29.2 29.4 29.6 28.5
  1. State the null hypothesis and the alternate hypothesis. Use a 0.05 level of significance. (Enter your answers in thousands of dollars.)
  1. State the decision rule for 0.05 significance level. (Negative amount should be indicated by a minus sign. Round your answer to 3 decimal places.)
  1. Compute the value of the test statistic. (Negative amount should be indicated by a minus sign. Round your answer to 3 decimal places.)
  1. What is the conclusion regarding the null hypothesis?

In: Statistics and Probability

Cash Payback Period, Net Present Value Method, and Analysis McMorris Publications Inc. is considering two new...

  1. Cash Payback Period, Net Present Value Method, and Analysis

    McMorris Publications Inc. is considering two new magazine products. The estimated net cash flows from each product are as follows:

    Year Canadian Cycling European Hiking
    1 $120,000 $101,000
    2 99,000 118,000
    3 85,000 81,000
    4 77,000 57,000
    5 24,000 48,000
    Total $405,000 $405,000
    Present Value of $1 at Compound Interest
    Year 6% 10% 12% 15% 20%
    1 0.943 0.909 0.893 0.870 0.833
    2 0.890 0.826 0.797 0.756 0.694
    3 0.840 0.751 0.712 0.658 0.579
    4 0.792 0.683 0.636 0.572 0.482
    5 0.747 0.621 0.567 0.497 0.402
    6 0.705 0.564 0.507 0.432 0.335
    7 0.665 0.513 0.452 0.376 0.279
    8 0.627 0.467 0.404 0.327 0.233
    9 0.592 0.424 0.361 0.284 0.194
    10 0.558 0.386 0.322 0.247 0.162

    Each product requires an investment of $219,000. A rate of 12% has been selected for the net present value analysis.

    Required:

    1a. Compute the cash payback period for each project.

    Cash Payback Period
    Canadian Cycling
    European Hiking

    1b. Compute the net present value. Use the present value of $1 table presented above. If required, use the minus sign to indicate a negative net present value.

    Canadian Cycling European Hiking
    Present value of net cash flow total $ $
    Amount to be invested
    Net present value $ $

    2. All of the following are true regarding the two products except:

    1. If funds are unlimited, only the Canadian Cycling product is acceptable to pursue.
    2. Both products offer the same total net cash flows.
    3. Because of the timing of the receipt of the net cash flows, the Canadian Cycling magazine offers a higher net present value.
    4. Both products offer the same cash payback period.

In: Finance

How would you possibly track very early HIV responses in babies with a biomarker (CD8+T cells) to show that the virus suppresses proinflammatory mediators?

Case 1. Monitoring the earliest immune responses to HIV.

A better understanding of the immune responses to HIV during the period between initial mucosal exposure to the virus and the point at which it becomes detectable in the blood would help inform development of strategies to prevent HIV infection. These early responses have been up to now very difficult if not impossible to study in people with HIV. Babies exposed to HIV through vaginal delivery of untreated HIV-positive mothers were recently analysed in detail by researchers during the first few days after viral exposure. The scientists found that HIV disseminates rapidly through the body, with viral RNA present in at least one tissue outside the skin in most babies analysed one day after vagina exposure. Early host responses that supress viral immunity and promote viral replication were observed. Increasing amounts of viral RNA correlated with rising amounts of a host protein that suppresses non-specific antiviral immunity. Also, activation of a cell-signalling pathway correlated with lower levels of antiviral T-cell responses and higher levels of HIV replication. Thus, the window of opportunity to contain or eliminate HIV at its mucosal exposure is more limited than previously thought. Importantly, scientists can apply these new insights to the improved development of microbicides, vaccines and drugs to prevent HIV infection.

1) How would you possibly track very early HIV responses in babies with a biomarker (CD8+T cells) to show that the virus suppresses proinflammatory mediators?

In: Nursing

Many consider early and middle adulthood times of relatively little growth, but adults encounter a multitude...

Many consider early and middle adulthood times of relatively little growth, but adults encounter a multitude of tasks and changes during these phases. For instance, the quality of relationships change, vocational choice might be solidified, formal education might be completed, parenting responsibilities might be present, and changes in physical capacities might set limits on behavior. An adult's perceived success or failure can influence his/her sense of self and ability to accomplish tasks and navigate changes in early and middle adulthood.

In the United States, individuation is an important aspect of adulthood. Individuation refers to processes by which you become a unique individual with a distinct sense of identity. The process is sometimes identified as separation-individuation (Berger, 2016). Adulthood is the period in which roles change from that of a dependent child to a more autonomous individual with different responsibilities and commitments.

Boucher and Maslach (2009) discuss how the type of culture—individualistic or collectivistic—can influence the degree of individuation. Think about how cultural differences can influence the changes that adults face during early and middle adulthood. The influence of culture on these changes impacts individuation. Consider collectivist societies that value conformity over individuality. How does that impact an individual's sense of uniqueness?

1. Select one aspect of adulthood (identity development, vocational development, relationships, or parenting).

2. Post a description of the aspect of adulthood you selected.

3. Then, explain individuation in terms of that aspect. Include an explanation of the challenges that might influence individuation.

4. Be specific and provide examples from the Learning Resources. Use proper APA format and citations.

In: Psychology

Language development generally takes place in stages. Review page 179, “Visualizing Development – Early Communication and...

  1. Language development generally takes place in stages. Review page 179, “Visualizing Development – Early Communication and Language Development” of your course text, which discusses the evolution of oral language in young children, and then explain the differences between cooing, babbling, receptive language, and expressive language. Based on the 4 theories of language development theories described on pages 180-185 of your course text, summarize the role of important adults in a young child's language development.
  2. As stated in your course text, both a child's temperament and his or her "goodness of fit" can influence early development. Review the Temperament section on pages 192-195 in the text. In your own words, define goodness of fit. Then reflect on your own childhood. Use the information in this section to help you describe your temperament as a young child and whether you experienced goodness of fit with any one person or situation in your early life. As part of your answer, either explain why you believe you experienced goodness of fit, or explain what would have promoted greater goodness of fit with a key person or situation.
  3. The course states that, “Each day of looking and learning seems insignificant, yet responses accumulate to develop a toddler who thinks, understands, pretends, and explains.” (Berger, 2018, p.163) Based on the Learning Resources for this week, provide an example of developmental growth that typically occurs between birth and age 2 in each of the domains—physical, cognitive, and social and emotional. Then, briefly explain how experiences accumulate and contribute to each of these developmental changes.

In: Nursing

It always seems easy to spot the big winners after they are successful. It’s much harder...

It always seems easy to spot the big winners after they are successful. It’s much harder in the early stages when there is less information. And, there are many false signals that lead managers astray.

DrawQuest

DrawQuest developed an app that created daily drawing challenges for users. The app was immediately popular. In 2013, its first year of operations, 1.4 million users downloaded the app and 400,000 used it at least once a month. DrawQuest’s storage vaults held eight million drawings, which it promised to maintain forever for its user-artists.

Do you think that user downloads or per-month users were good metrics for DrawQuest? DrawQuest intended to make money by offering premium drawing tools and other services. Unfortunately, few users opted to pay and the company went out of business in 2014. Having lots of users and rave reviews is not the same as creating and capturing value. A better metric might have been the number or percentage of users who purchased their premium packages.

Cashé

Another venture, Cashé, developed a software program for creating and analyzing financial forecasts. The early response to the program was positive and the company booked almost $500,000 per month in revenues. Management ramped up expenses to reflect the early indications of successful product-market fit. The challenge was that purchasers began to send the program back for refunds and accounts receivable were difficult to collect. The company failed because it couldn’t make its program as powerful and easy to use as demanded by the marketplace.

What metrics might have alerted Cashé to their underlying problems?

In: Operations Management

Individuals filing federal income tax returns prior to March 31 received an average refund of $1,064....

Individuals filing federal income tax returns prior to March 31 received an average refund of $1,064. Consider the population of "last-minute" filers who mail their tax return during the last five days of the income tax period (typically April 10 to April 15).

a. A researcher suggests that a reason individuals wait until the last five days is that on average these individuals receive lower refunds than do early filers. Develop appropriate hypotheses such that rejection of H0 will support the researcher's contention. H 0 : M is ( ) H a : M is ( )

b. For a sample of 400 individuals who filed a tax return between April 10 and 15, the sample mean refund was $910. Based on prior experience a population standard deviation of = $1,600 may be assumed. What is the p-value (to 4 decimals)? ( )

c. Using = .05, can you conclude that the population mean refund for "last minute" filers is less than the population mean refund for early fliers? (Yes or No) Answer the next three questions using the critical value approach.

d. Using a= .05, what is the critical value for the test statistic (to 3 decimals)? ( ) If your answer is negative use minus "-" sign. e. State the rejection rule: Reject H 0 if z is ( less than or,....) the critical value. f. Using a= .05, can you conclude that the population mean refund for "last minute" filers is less than the population mean refund for early filers? ( Yes or No)

In: Statistics and Probability