Questions
Python. Create a function that receives the name of an auto maker and returns a slice...

Python.

Create a function that receives the name of an auto maker and returns a slice of the dataframe with the cars from that auto maker. For instance, it may receive 'ford' and return a slice with all the cars produced by 'ford' meaning they have 'ford' in their name. Call the function for 'ford' to see if it works properly.

Hint: You may create a list comprehension producing a list of all the index labels that include the auto-maker's name inside them. Then you feed this list to .loc[ ] to slice for those index labels.

In: Computer Science

Function named FunCount takes three arguments- C, an integer representing the count of elements in input...

Function named FunCount takes three arguments-
C, an integer representing the count of elements in input list

IP- input list of positive integers.

Item- an integer value.

Function FunCount returns an integer representing the count of all the elements of List that are equal to
the given integer value Key.

Example: Don’t take these values in program, take all inputs from user

C = 9, IP= [1,1,4,2,2,3,4,1,2], Item = 2
function will return 3

IN C PROGRAMMING

In: Computer Science

In java, please Create an ArrayListReview class with one data field of ArrayList with the generic...

In java, please

  1. Create an ArrayListReview class with one data field of ArrayList with the generic type passed to the class. (1 point)

  2. Create a constructor that populate an array list filled with the generic type through inserting new elements into the specified location index-i in the list. (1 point)

  3. Implement mergeSort using a list and recursion. (2 points)

  4. Write the main method to test your program and use System.nanoTime() to find out the speed of each step of your program. (1 point)

In: Computer Science

Alignment of time and talent 1. What resources can I provide to the organization that I...

Alignment of time and talent

1. What resources can I provide to the organization that I work or hope to work? List and describe the knowledge, skills, and abilities that you can offer a current or perspective employer.

2. What types of organizations do I feel comfortable associating with and volunteering my time? List and give a brief description of at least two organizations, clubs, social causes, etc.

3. List and describe the barriers that prevent you from volunteering in organizations.

In: Operations Management

Write a simple airline ticket reservation program. The program should display a menu with the following...

Write a simple airline ticket reservation program. The program should display a menu with the following operations: reserve a ticket, cancel a reservation, check whether a ticket is reserved for a person, and display the passengers. The information is maintained on an alphabetized linked list of names. In a simpler version of the program, assume that tickets are reserved for only one flight. In a fuller version, place no limit on the number of flights. Create a linked list of flights with each node including a pointer to a linked list of passengers.

In C++ language.

In: Computer Science

Part A 1 a) List and explain three different major characteristics of companies for which it...

Part A

1 a) List and explain three different major characteristics of companies for which it is not appropriate to use the Discounted Free Cash Flows methods of Stock Valuation.
b) List and explain three different major strengths of the Discounted Free Cash Flows methods of Stock Valuation compared to the Comparables methods of stock Valuation.
c) List and explain three different major strengths of the Comparables methods of Stock Valuation compared to the Discounted Free Cash Flows methods of Stock Valuation.

In: Finance

Chapter 20, programming challenge 2: Linked List Sorting and Reversing Modify the LinkedList1 class presented in...

Chapter 20, programming challenge 2: Linked List Sorting and Reversing

Modify the LinkedList1 class presented in this chapter by adding sort() and reverse() methods. The reverse method reverses the order of the elements in the list, and the sort method rearranges the elements in the list so they are sorted in alphabetical order. Do not use recursion to implement either of these operations. Extend the graphical interface in the LinkedListDemo class to support sort and reverse commands, and use it to test the new methods.

This must be done in java (netbeans)

In: Computer Science

A sample of 36 students Irving College produce a mean gpa of 3.2. The standard deviation of all students is .6. Find the 95% confidence interval.

 

A sample of 36 students Irving College produce a mean gpa of 3.2. The standard deviation of all students is .6. Find the 95% confidence interval.

STEP 1: Find the standard deviation of the sample: .6 divided by square root of 36 = .1

STEP 2: Find the Z-score associated with 95% confidence (Go to table IV in the front of your book and find the Z-score that has .975 to the left of it. (We look for .975, because the table gives the area to the left of the Z-score [see the image at the top of the table], and if a Z-score has .975 to the left of it, it has .025 in the right tail. A confidence interval has "two tails", so the total in the tails is .025 + .025 = .05. The "inside" would be 1 - .05 = .95. The z-score is 1.96

HINT:

You can use the following numbers as guidelines for Z-scores:

Confidence Interval

Z-Score

99%

2.57

98%

2.33

95%

1.96

90%

1.65

STEP 3: Multiply the z-score and the standard deviation of the sample together: 1.96 * .1 = .196

STEP 4: Construct your confidence interval by subtracting this number from the mean (3.2-.196 = 3.04) and adding this number to the mean (3.2 +.196 = 3.396). The 95% confidence interval is 3.04 to 3.396.

In: Statistics and Probability

By mid 1900s black footed ferrets had declined to virutal extinction because their primary prey (prairie...

By mid 1900s black footed ferrets had declined to virutal extinction because their primary prey (prairie dogs > 95% of the diet of these ferrets) has disappeared (due to disease and hunting). Starting >30 years ago, the ferrets were reintroduced to a series of sites int he nrothern US where prairie dog populations were restored to natural levels. Betty Biologist is assigned the task of understanding population dynamics at several of the reintroduction sites. Below is a summary of the sites of reintroduction she is monitoring -- they include two "new ferret reintroduction sites" just about 10 years old (where prairie dogs are now hyperabundant ) and two "old ferret reintroduction sites" where prairie dog populations are at much lower densities (approximating historical abundances).

Betty conducts a snapshot census in one of her sites. She finds the following information: there are 500 new females in the cohort, 200 1 year old individuals, 150 2 year old individuals, 100 3 year old individuals, 50 4 year old individuals and no individuals older than 4. What survival profile do ferrets in this site have? She also learns that ferrets can't reproduce in their first year of life, but otherwise at this site have constant birth rates (consistent with the average rates she found in literature, described above).

A. Calculate gross and net reproductive rates and explain the difference in words

B. If the total population in plot B is now 1000 ferrets, how many ferrets would you expect in the old site in 10 years? Why?

In: Statistics and Probability

You are working as an administrative assistant in a busy GP practice in a suburb where...

You are working as an administrative assistant in a busy GP practice in a suburb where the community consists of people newly arrived in Australia and a younger cohort of individuals who have moved to the area and are heroin addicts. The GP clinic is the only clinic in the area that provides a bulk billing service and needle exchange program.

Mrs. Rizzo is an elderly lady of 78 years, from Italy. Mrs. Rizzo was brought to Australia by her son and daughter in law after her husband died. Mrs. Rizzo does not speak any English but relies on her son to interpret for her. Mrs. Rizzo has been in Australia for over 10 years but has made no effort to learn English and except for when her son accompanies her rarely leaves the house.

On arrival at the surgery it was apparent that Mrs. Rizzo was in pain. There was a lot of yelling, gesturing, pulling of hair and crying. Another patient attending the clinic tells her to shut up™ and asks if you could put the old bag outside™. Her son became very upset and soon both the son and the other client were yelling at each other. Mrs. Rizzo continued to wail.

You need to deal with this situation but privately you felt that Mrs. Rizzo was making a lot of fuss.


1.7)   What verbal and nonverbal communication could you use in this situation?


1.8)   Reflection on own social and cultural perspectives and biases for the situation in the scenario.


1.9)   Identify a strategy that you can do to improve own self and social awareness.

1.10)   Explain how your response contributes to the development of work place and professional relationships based on appreciation of diversity and inclusiveness to make the workplace safe for all.

In: Nursing