Questions
Write a python program that does the following: Prompt for a file name of text words....

Write a python program that does the following:

Prompt for a file name of text words.
Words can be on many lines with multiple words per line.

Read the file and convert the words to a list.

Call a function you created called list_to_once_words(), that takes a list as an argument and returns a list that contains only words that occurred once in the file.

Print the results of the function with an appropriate description.

Think about everything you must do when working with a file.

No Example Output provided for this question.

In: Computer Science

The FBI wants to determine the effectiveness of their 10 Most Wanted list. To do so,...

The FBI wants to determine the effectiveness of their 10

Most Wanted list. To do so, they need to find out the fraction of people who appear on the list that are actually caught.

Step 2 of 2 :

Suppose a sample of 246

suspected criminals is drawn. Of these people, 108 were captured. Using the data, construct the 80% confidence interval for the population proportion of people who are captured after appearing on the 10

Most Wanted list. Round your answers to three decimal places.

In: Math

The FBI wants to determine the effectiveness of their 10 Most Wanted list. To do so,...

The FBI wants to determine the effectiveness of their 10 Most Wanted list. To do so, they need to find out the fraction of people who appear on the list that are actually caught.

Step 2 of 2 :  

Suppose a sample of 362 suspected criminals is drawn. Of these people, 119 were captured. Using the data, construct the 90% confidence interval for the population proportion of people who are captured after appearing on the 10 Most Wanted list. Round your answers to three decimal places.

In: Math

for python 3 a. Ask the user to enter 10 numbers. Each number is stored in...

for python 3

a. Ask the user to enter 10 numbers. Each number is stored in a list called myList. Compute and print out the sum and average of the items in the list. Print the numbers that are divisible by 2 from myList.

b. Instead of using a list to store the numbers, create a loop to accept the numbers from the user, and find the average of all the numbers. Hint: use an accumulator to store the numbers that are entered by the user. An accumulator is set to zero before the start of the loop (e.g. total =0).

In: Computer Science

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