I need C++ program that Read an input file of text.txt one word at a time. The file should consist of about 500 words. The program should remove all punctuations,keep only words. Store the words in a built-in STL container, such as vector or map.Can someone help with any additional comments that I can understand the logic?thank you
In: Computer Science
Write a 700- to 1,050-word paper in which you:
In: Finance
Complete the following questions using Microsoft Word or Excel, as appropriate. Review the grading rubric to confirm you are meeting the assignment requirements.
Below are the balance sheet and income statement for Happy Hamburger Company.
| Happy Hamburger Company | |||
| Balance Sheet as of December 31, 20XX | |||
| Assets | Liabilities and Shareholder Equity | ||
| Cash | 85,000 | Accounts payable | 145,000 |
| Accounts Receivable | 340,000 | Current portion of debt | 90,000 |
| Inventories | 250,000 | Other current liabilities | 114,000 |
| Total current assets | 675,000 | Total current liabilities | 349,000 |
| Net fixed assets | 360,000 | Long-term debt | 265,000 |
| Total assets | 1,035,000 | Total liabilities | 614,000 |
| Common equity | 421,000 | ||
| Total liabilities & equity | 1,035,000 | ||
| Happy Hamburger Company | |
| Income Statement for the year ending December 31, 20XX | |
| Sales | 1,810,000 |
| Costs of goods sold | 1,510,000 |
| Selling, general and administrative expenses | 152,000 |
| Earning before interest and taxes (EBIT) | 148,000 |
| Interest expense | 26,200 |
| Earning before taxes (EBT) | 121,800 |
| Federal and state income taxes (40%) | 48,720 |
| Net Income | 73,080 |
Required:
Calculate the following ratios for the company.
Explain whether the company is doing better or worse than the industry average for each ratio.
| Happy Hamburger | Industry Average | |
| Current ratio | 1.7 | |
| Days sales outstanding (based on 365 day year) | 36 days | |
| Inventory turnover | 7.3 | |
| Fixed asset turnover | 12.1 | |
| Total asset turnover | 3.00 | |
| Return on sales | 3.20% | |
| Return on assets | 3.60% | |
| Return on equity | 9.00% | |
| Debt ratio | 71% |
In: Accounting
9- Show how the word ABCD H is stored in the memory starting at 0A002 H?
11- How the decimal number 500 is stored in the memory?
13- Which two values are needed for memory address calculations?
15- What are the steps of an instruction execution? Briefly explain each step.
please answer all of them I will upvote!
19- Calculate the value of memory address in each case: a) 2000:33BB b) 0200:AA00 c) 0220:00BC
20- A data segment is to be located from A0000 to AFFFF H, which value is stored in DS?
In: Computer Science
M5 Assignment
Questions E through H
Use this Word document to fill in the answers to the questions. You must type out a clear answer to each question, even if the answer is also contained in the Excel file submitted to show work.
Q1) Independent-Samples t Test (15 points total)
In a cognitive psychology experiment, the researcher is interested in whether encoding condition has a significant effect on memory for a set of drawings. In encoding condition A, subjects are asked to name the object in each drawing; in encoding condition B, subjects are asked to name the color of each drawing. Then all subjects are tested on their memory of the drawings. Each recruited subject is randomly assigned to either encoding condition A or encoding condition B.
Based on memory theories, the researcher hypothesized that condition A (object naming) would lead to significantly better memory compared to condition B (color naming), and she sets the significance level at α = .05 for a one-tailed test.
Hint: You may remember a similar scenario in the previous assignment, but with a crucial difference. In the previous assignment, each subject is tested in BOTH condition A and condition B, while each subject here is tested in only ONE condition (either A or B).
|
Subject ID |
Encoding A |
Subject ID |
Encoding B |
|
|
1 |
87 |
13 |
85 |
|
|
2 |
80 |
14 |
80 |
|
|
3 |
78 |
15 |
76 |
|
|
4 |
76 |
16 |
77 |
|
|
5 |
86 |
17 |
86 |
|
|
6 |
77 |
18 |
68 |
|
|
7 |
83 |
19 |
85 |
|
|
8 |
82 |
20 |
79 |
|
|
9 |
91 |
21 |
89 |
|
|
10 |
90 |
22 |
85 |
|
|
11 |
95 |
23 |
82 |
|
|
12 |
83 |
24 |
80 |
a. What is the dependent (outcome) variable? What is the independent (grouping) variable? (1 point total: .5 for each variable)
b. Create the null and alternative hypotheses for this study, using both words and symbol notation.
Note that the hypotheses should be directional. (1 point total: .5 for each hypothesis, both written and symbol notation need to be correct to earn the credit for each hypothesis)
c. Calculate M1 andM2(1 point total: .5 point per sample mean, both process and result must be correct to earn the credit)
d. Calculate df1 , df2, and dftotal (1 point total: deduct .5 for each error)
e. Calculateestimated variance for population 1 (s12) and estimated variance for population 2 (s22) (2 points total: 1 point for each variance, .5 if the process is correct but the answer is wrong)
f. Calculate the pooled variance (Spooled2) from the two population variances (from question e above) (1 point total: .5 if the process is correct but the answer is wrong)
g. Use the pooled variance (from question f above) to calculate the variance for sampling distribution 1 (SM12) and the variance for sampling distribution 2 (SM22) (2 points total: 1 for each variance, .5 if the process is correct but the result is calculated incorrectly)
Hint: Sampling distribution is derived from the original population and it consists of means of all possible samples drawn from the original population.
h. Calculate standard deviation (Sdiffmean)of the comparison distribution (1 point total: .5 if the process is correct but the answer is wrong)
Hint: This comparison distribution consists of differences between all possible sample means drawn from the two sampling distributions. Its standard deviation is the denominator of the t statistic formula.
i. Calculate the t statistic (1 point total: .5 if the process is correct but the answer is wrong)
j. For the one-tailed test, find the critical t values for this hypothesis test based on the total degree of freedom (from question d above), and the preset alpha level. (1 point total)
k. Compare the calculated t statistic with the critical t value by stating which is more “extreme”, and then draw a conclusion about the hypothesis test by stating clearly “reject” or “fail to reject” the null hypothesis. (1 point total: .5 for comparison, .5 for decision)
l. Calculate the pooled standard deviation for the populations (use the pooled variance calculated in question f); and then calculate the standardized effect size of this test. (1 point total: .5 for pooled standard deviation, .5 for effect size. Both process and result must be correct to earn the credit for each item.)
m. Draw a conclusion based on the hypothesis test result and the effect size. In other words, did encoding condition have a significant effect on memory score? Was the effect small, medium, or large? (1 point total: .5 for each element).
In: Statistics and Probability
Topic: Evaluation of the AICPA Code of Professional Conduct Provisions
Write a 750-word essay on a principle from the AICPA principles section of the Code of Professional Conduct Provisions. Include the following in your essay:
1) Identify 1 of the 6 principles from the AICPA principles section of the Code of Professional Conduct Provisions.
2) Identify several rules from the rules section and show how they relate to the selected principle.
3) Evaluate the selected principle based on a deontological ethics perspective and a Christian worldview
In: Accounting
|
1. Which best describes interest? |
|
| a. Interest is another word for the cash and rewards you get from using certain credit cards. | |
| b. Interest is a method by which you can compare the cost of comparable purchases. | |
| c. Interest is the cost associated with using credit and it ultimately makes any purchase made using credit more expensive than the same purchase made with cash. | |
| d. Interest is the fee associated with using more credit than the limit on your credit card. | |
|
2. A wise use of credit is to |
|
| a. help make major purchases that would be very difficult to acquire otherwise, such as a college education, automobile or home. | |
| b. purchase things that you want very badly, but don't have the cash to pay for right this moment. | |
| c. purchase gifts for family and friends when you want to treat them to something special. | |
| d. avoid it at all costs and pay only cash for every purchase. | |
|
3. By going to www.annualcreditreport.com I'm able to |
|
| a. obtain a free copy of my credit report from the three major credit bureaus each year. | |
| b. apply for student loans, auto loans, mortgages, and some credit cards using one standard application | |
| c. add information to my credit report that I think might be helpful for lenders to know. | |
| d. check the status of my tax refund. | |
|
4. What is a credit score? |
|
| a. A credit score is a special type of loan made to recent college graduates. | |
| b. A credit score is a number that represents the likelihood that you will pay your bills on time. | |
| c. A credit score is a score that takes into account your age and income to determine if you're eligible for a loan. | |
| d. A credit scoring is a method used to compare the costs of various loans. | |
In: Economics
Name___________________________________
SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.
1) The probability that an employee at a company eats lunch at
the company cafeteria is 1) 0.32. The probability that an employee
is female is 0.62. The probability than an
employee eats lunch at the employee cafeteria and is female is
0.21. What is the
probability that a randomly chosen employee either eats at the
cafeteria or is female?
2) In a recent article it was reported that 27.3% of all college
students party during 2) weekdays, and 67% of these students plan
on going to graduate school. What is the probability that a
randomly-selected student party during weekdays and plans on
going to graduate school?
3) There are five men and four women working on a project. To handle one particular 3) aspect of the project, a subcommittee needs to be formed. In the interest of balance, it is decided that the subcommittee will consist of two men and two women. How many combinations of this subcommittee are possible?
THE NEXT QUESTIONS ARE BASED ON THE FOLLOWING INFORMATION:
A student has access to professor evaluations. Overall, he has
enjoyed 70% of all classes he has taken. He finds that of the
courses he has enjoyed, 13% were taught by professors with poor
evaluations. 84% of the courses he has taken were taught by
professors with good evaluations.
4) What is the probability that the class was taught by a professor with good evaluations 4) and that the student enjoyed the class?
THE NEXT QUESTIONS ARE BASED ON THE FOLLOWING INFORMATION:
In a recent survey about US policy in Iraq, 62 % of the respondents
said that they support US policy in Iraq. Females comprised 53% of
the sample, and of the females, 46% supported US policy in Iraq. A
person is selected at random.
5) What is the probability that the person we select is female and supports U.S. policy in 5) Iraq?
6) Are the events "does not support U.S, policy in Iraq" and "female" statistically 6) independent? Why or why not?
7) Suppose we select a supporter of US policy in Iraq, what is the probability that the 7) person we select is female?
8) Suppose we select a person who does not support US policy in Iraq, what is the 8) probability that the person is male?
1
THE NEXT QUESTIONS ARE BASED ON THE FOLLOWING INFORMATION:
James' Surfboard Shop makes surfboards by hand. The number of
surfboards that James makes during a week depends on the wave
conditions. James has estimated the following probabilities for
surfboard production for the next week.
Number of Surfboards 5 6 7 8 9 10 Probability 0.13 0.22 0.31 0.17 0.13 0.04
Let A be the event that James produces more than seven surfboards. Let B be the event that James produces exactly six surfboards.
9) What is the probability of event A? 9)
10) What is the probability of the complement of A? 10)
11) What is the probability of the intersection of events A and B ? Why? 11)
12) Are events A and B collectively exhaustive? Why? 12)
13) The probability that a new small business closes before the
end of its first year is 42%. 13) In addition, 37% of all new
businesses are started by women. The probability that a
new business is either owned by a woman or goes out of business is
62%. Your sister
starts a new business. What is the probability her business will
still open at the end of
the first year?
14) In a survey of top executives, it was found that 17% had
traveled internationally 14) on business. The probability of one of
these executives fluently speaking a foreign
language was found to be 10%. The probability that one of these
executives neither
spoke a foreign language nor had traveled internationally was 0.81.
What is the
probability that an executive who speaks a foreign language has traveled internationally?
THE NEXT QUESTIONS ARE BASED ON THE FOLLOWING INFORMATION:
Consider a sample space defined by events A1, A2, B 1, B2. Let P
(A1) = 0.40 , P (B 1 ! A1) = 0.60 and P (B 1 ! A2) = 0.70
15) What is P(A2)?
16) What is P(A1 "B1)? 17) What is P(A1 "B2)? 18) What is P(A2
"B1)?
15) 16) 17) 18)
Thanks, please show all work!
In: Statistics and Probability
The minimum word count for any assignment is 2000-2500
words unless it is mentioned otherwise in the assignment
instructions or task by task. You could lose marks if you write 10%
more or less than this.
Assignments will be reviewed only if they are
completed with all the tasks/questions. Please do not send each
task/question separately.
All documents will be checked for plagiarism. Any
report found to be plagiarised for more than 15% would be rejected
immediately.
Make sure to insert correct in-text citations when
drafting an assignment and a list of references as per the
Harvard Referencing Style is to be provided at the end of
the whole assignment. (Not end of each task)
All assignments will be sent for review and until the
assignment status shows “Completed”, kindly keep checking for
feedback and do the needful accordingly.
Assignments should be saved as: Programme Name _
(Candidate Full Name) _ (Candidate Code)_(Unit Abbreviation). i.e.
MBA_ John Smith_00123456_ ABRM
Answer only one part from all of the questions below:
Question 1
1. Discuss the concept of corporate reporting, its
importance and the characteristics of good corporate reporting.
Also, explain the concept of integrated reporting.
Question 2:
1. Critically discuss financial reporting and analysis. And explain the following:
* The GAAP ( Generally Accepted Accounting
Principles)
* The IFRS ( International Financial Reporting Standards)
In: Finance
please I want it to step by step and in word posted so I can read them.
Q:
If the average realized return of a portfolio is 27.5% per year, the standard deviation of returns is 50%, the portfolio beta is 1.25, the average return of Treasury bills over the same period is 2.5% per year, and the average return on the market is 12.5% per year
Calculate i) the Sharpe; ii) Treynor and iii) Jensen
In: Finance