Questions
Using repl.it, your own Linux installation, or other Linux emulator do the following and take screenshots...

Using repl.it, your own Linux installation, or other Linux emulator do the following and take screenshots for the steps that require it. Paste your screenshots into a word document, in the same order as the questions, and upload the file by 11 AM on Friday.

1. Show the contents of your home directory and take a screenshot

2. Create a directory named IT305 in your home directory and take a screenshot

3. Create a file called oldfile.txt in your home directory using the command line method of your choice. Make sure the file has at least 10 lines of characters in it. (I would suggest writing 10 lines that follow a pattern like this - This is line 1. This is line 2. and so on)

4. Create a new file in IT305 in the following manner:

use the nl command to number the lines of oldfile.txt, pipe that to the head command but only show the first 5 lines, pipe that to the tail command but only show 2 lines and redirect that output to the IT305 folder and create the newfile.txt. Do this on one command line. Take a screenshot of the command line that you use and of the contents of newfile.txt

5. Using the nslookup command, do a lookup of www.marymount.edu  (Links to an external site.)and redirect the output to a file named marymount.txt

6. del the IT305 directory and take a screenshot that shows that it is no longer in your home directory

In: Computer Science

Objective Identify ethics theories used in business Categorize theories of ethics Apply theories of ethics to...

Objective

Identify ethics theories used in business

Categorize theories of ethics

Apply theories of ethics to business situations

Overview

Students will use research methods and apply critical thinking to create a taxonomy of germinal theories and principles of ethics.

Instructions

In this assignment, you will use the Internet, books, or any other method of research to create a taxonomy (chart) of ethical theories and principles and provide examples to apply the theory.

The taxonomy should include a minimum of 5 ethical theories or principles and include: the name of the theory or ethical principle, the author, the year/era the theory was conceptualized, and an example of the theory’s application.

Example:

Theory

Era and Author

Definition

Example

EMOTIVISM
.

[S. L. Stevenson]
Influenced by the growth of analytic philosophy and logical positivism logical in the 20th century

Says moral judgments
are mere expressions of emotion.

To say, “the garden is beautiful!!” It’s a mere expression of emotion it’s not a right or wrong statement. Your interpretation of whether you feel it is or isn’t beautiful is what draws one to try and sway the others opinion to be similar.

Step 1 – Research and select five theories or principles of ethics.

Step 2 – Open Microsoft Word and create a table

Your table should have 4 columns and 6 rows

Include the following columns: Theory, Era and Author, Definition, and Example

Step 3 – Add information about the theories you’ve selected to your document.

In: Accounting

Competency Evaluate accounting-related legal and ethical business implications. Scenario During your weekly meeting, the Director of...

Competency

Evaluate accounting-related legal and ethical business implications.

Scenario

During your weekly meeting, the Director of Accounting has shared with you the topics discussed at a recent Association of Certified Fraud Examiners (ACFE) meeting. Of particular interest was the agenda item about how some companies have gotten in regulatory trouble with the SEC over their revenue and expense recognition practices. While you both are confident that there are no issues relating to this at your company, you both decided that you wanted to learn more about these cases.

The Director of Accounting wants you to research two such cases and write a summary report to present at the next Accounting Department meeting. The director believes that understanding what has happened to other companies in this area of accounting can help prevent issues in your company.

The Director provides you with the SEC website that they have used in the past to do article searches: www.sec.gov

Instructions

You are asked to select two recent SEC actions against companies (not individuals) that relate to revenue and expense recognition and Prepare a Word document that:

  1. summarizes reasons for the SEC actions.
  2. identifies the SEC issues related to accounting data and/or operations and the remedial actions assigned and/or penalties given to the company.
  3. critiques the remedial actions/penalties.
  4. Gives an opinion as to whether you believe they will be effective in preventing future violations by the company.

In: Accounting

The Lawnpoke Golf Association (LGA) has established rules that manufacturers of golf equipment must meet for...

The Lawnpoke Golf Association (LGA) has established rules that manufacturers of golf equipment must meet for their products to be acceptable for LGA events. BatOutaHell Balls uses a proprietary process to produce balls with a mean distances of 295 yards. BatOutaHell is considered that if the mean distance falls below 295 yards, the word will get out and sales will sag. Further, if the mean distance exceeds 295 yards, their balls may be rejected by LGA. Measurements of the distances are recorded in DATA. At a = 0.05, thest the no action hypothesis that the balls have a mean distance of 295 yards.

a) The test statistic of 2.238 is greater than the critical value is 2.101 therefore HO is rejected. it is reasonable to assume that the distance is not 295 yards.

b) The test statistic of 3.003 and the critical value is 2.101, therefore the test statistic is greater than the critical value of 2.101 and the null hypothesis is rejected. The distance is not 295 yards

c) The test statistic of 1.908 is less than the critical value of 2.101 therefore HO is not in the area of rejection. It is reasonto assume that the distance is about 295 yards.

d) The test statistic is 1.297 and the critical value is 2.101 therefore the test statistic is less than the critical value and the null hypothesis is not rejected. The distance is about 295 yards.

Yards
293
275
280
290
273
306
287
301
309
285
274
282
294
283
304
297
294
290
283

In: Math

Suppose the administrator of a clinic is interested in the number of visits per person per...

Suppose the administrator of a clinic is interested in the number of visits per person per year for those that are insured. After selecting 15 people the number of visits was recorded as the following:

Patient # Annual Number of visits
1 8
2 7
3 7
4 6
5 6
6 5
7 5
8 5
9 4
10 3
11 3
12 2
13 2
14 1
15 1

By using Excel,  data analysis,  five numbers summary, and the Rubric.docx

Answer the following Question, Submit both (Excel file and word document)

1. The mean, mode, median of the annual number of visits.
2. Five points summary [ first Quartile, Second Quartile, third quartile, Maximum and Minimum]
3. Draw the box and whisker plot                                                                                                                                      
4. Range,  IQR                                                                                                                                                        
5. What is variance and standard deviation?
  • Why would knowing the variance and standard deviation of a distribution for a given data point be important for a Healthcare Administrator? 
6. The skewness (Indicate if it is positively/negatively skewed) look over the video.
  • What would it mean if the distribution was negatively or positively skewed? 
  • Why would this information be important for a Healthcare Administrator to know?  
7. Do you have outiler in the number of visit? (if no explain how can you tell?)
8.Write a summary regarding the number of visits using the above information. [at least 500 words]

In: Math

An alien spaceship has landed in your backyard full of various types of aliens. They all...

An alien spaceship has landed in your backyard full of various types of aliens. They all are saying “I come in peace”,
but you’re not so sure. You consult your
trusty guide to alien encounters to find out
that that there are three criteria that
determine if an alien is telling the truth:
number of heads, type of weapon and
intensity of their eyes.
 Friendly features: squirt gun as weapon
 Unfriendly features: weapon (as long as it’s
not a squirt gun), beady eyes, more than two
heads

 Don’t ask about the type of weapon if you know the alien does not have a weapon
 If an alien has two or more unfriendly features he is unfriendly
o So beady eyes, three heads, but no weapon & the alien is an enemy
o So squirt gun, regardless of other features, the alien is friendly

Pseudocode (10 points)
 Create the document in using Microsoft Office Word or Power Point or the Open Office equivalent, as
long as I am able to open it.
 Start with a pseudocode. Write the pseudocode in English, step by step what you need to do to solve the
problem. There are many ways this can be done. Take your time and think about it.
 No flowchart is required, but you can certainly draw one if it helps you.
 put your name, date, section, and description of the program at the top of the page.
 save the file lastname_ch3AlienPseudocode

In: Computer Science

Create a program that will prompt for user information for a Web site. Use a structure...

Create a program that will prompt for user information for a Web site. Use a structure to store the data. The structure will need to include the following items:

  1. First Name - string
  2. Last Name - string
  3. Full Name - string
  4. Birth Date   - int (assume format yyyymmdd)
  5. IsLeasingAutomobile - bool
  6. yearlySalary - float

Create a single structure from the items listed above.

Prompt for all items except "Full Name" and load the input directly into a variable based on this structure .

After the data is loaded, pass the structure by reference to a method called "loadFullName". Inside the "loadFullName" method, load the Full Name data item with a string that is a combination of First Name, space, Last Name. The full name must be converted to uppercase. After the loadFullName has executed, display the value of all the data items in the variable structure.

Review of tasks:

a. Create User Structure
b. Assign a Variable to a User Structure
b. Load the Variable Structure Data
c. Pass the Variable Structured Data to "loadFullName"
d. Display the values of the variable structure.

Note: Input for a boolean var is 0 for false and 1 for true. Adding this line to display once will help display the word false or true in the output.
std::cout << std::boolalpha; 
cout << "is Leasing = " << VarStrucName.isLeasingAutomobile << endl;  // will display true or false - with not 0 being true

In: Computer Science

Hi. I am running into trouble solving the problem below and would greatly appreciate a step-by-step...

Hi. I am running into trouble solving the problem below and would greatly appreciate a step-by-step explanation on how to arrive at the correct answers and explanations:

SHIELD, Inc., uses a standard costing system and develops its overhead rates from the current annual budget. The budget is based on an expected annual output of 120,000 units requiring 480,000 direct labor hours. (Practical capacity is 500,000 hours.) Annual budgeted overhead costs total $787,200, of which $556,800 is fixed overhead. A total of 119,400 units using 478,000 direct labor hours were produced during the year. Actual variable overhead costs for the year were $230,600, and actual fixed overhead costs were $556,250.

1. Compute the fixed overhead spending and volume variances. How would you interpret the spending variance? Discuss the possible interpretations of the volume variance. Which is most appropriate for this example?

2. Compute the variable overhead spending and efficiency variances. How is the variable overhead spending variance like the price variances of direct labor and direct materials? How is it different? How is the variable overhead efficiency variance related to the direct labor efficiency variance?

Note: please try to give your calculations and explanations on Word or excel sheet as handwriting is sometimes difficult to read.

I would appreciate detailed calculations so I can better understand how to arrive at the correct answer.

In: Accounting

Question 2 (20 Marks) Nimbus Inc. makes brooms and then sells them door-to-door. Below you will...

Question 2

Nimbus Inc. makes brooms and then sells them door-to-door. Below you will find the relationship between the number of workers and Nimbus’s output in a given day.

Workers

Output

Marginal Product

Total Cost

Average Total Cost

Marginal Cost

0

0

-

200

-

1

20

20

300

15

5

2

50

30

400

8

3.33

3

90

40

500

5.56

2.5

4

120

30

600

5

3.33

5

140

20

700

5

5

6

150

10

800

5.33

10

7

155

5

900

5.81

20

  1. Fill in the column for marginal products. What pattern do you see?

  1. A worker costs $100 a day, and the firm has fixed costs of $200. Use this information to fill in the total cost column, consult your notes for the formula.

  1. Fill in the column for average total cost. What pattern do you see?

  1. Now fill in the column for marginal cost. Consult your notes for the formula. What pattern do you see?

  1. Compare the column for marginal product and the column for marginal cost. Explain the relationship.

  1. Compare the column for average total cost and the column for marginal cost. Explain the relationship.

please use word to answer the questions. thank you

In: Economics

Why is my C code counter returning the wrong output? void removeLn(char *tPtr) { for (;...

Why is my C code counter returning the wrong output?

void removeLn(char *tPtr) {
for (; *tPtr != '\0'; tPtr++) {
if (*tPtr == '\n') {
*tPtr = '\0';
}
}
}
This is a method I wrote that essentially replaces the \n in a text file with a null.

int counter(FILE *filePtr) {
char ln[length];
int counter = 0;

while (fgets(ln, length, filePtr) != NULL) {
char *r;
  
for (r = ln; *r != '\0';) {
while (isspace(*r)) {
r++;
}
if (*r == '\0') {
break;
} else {
count++;
}
r++;
}
return(counter);
}
}
This function goes through a text file, goes past spaces, stops if it points to null, increments count for each word in the text file, and goes until it points to neither a space or a null.

This code is giving me two different outputs. For instance, if a test txt file is 19 characters, if I call it with ./counter and then input the file path, I get 18. However, if I run it ./counter example.txt, I'll get 12. I can't make it out why and where it's wrong. Any help would be a big help...

EDIT: I changed == to = and now both answers are consistent and I am short by 7. 12 is now actual, 19 expected

Example Output:
Why hello there friend.
How are you doing today.
I am doing honestly *very* well,
The sun is coming!

Expected 19
Actual 12

In: Computer Science