Python 8.17 LAB: Strings of a Frequency Write a program that reads whitespace delimited strings (words) and an integer (freq). Then, the program outputs the strings from words that have a frequency equal to freq in a case insensitive manner. Your specific task is to write a function wordsOfFreqency(words, freq), which will return a list of strings (in the order in which they appear in the original list) that have a frequency same as the function parameter freq. The parameter words to the function wordsOfFreqency(words, freq) should be a list data structure.
In: Computer Science
This is c++
Create a program where you create, display, search, delete elements within a linked list.
Watch your function arguments. Pointer parameters are passed by reference to some functions and by value to others.
Functions to make:
copy : copies element in linked list
destroy all: destroys all elements in linked list
wherethisgoes:user enters element and returns where the element is located
insert sorted: inserts element
create using linked lists with a head pointer and so forth
In: Computer Science
I:Answer the following questions.(1*4=4pts)
1.List ways in which secret keys can be distributed to two communicating parties.
2.List two approaches to message authentication.
3.What is the difference between a private key and a secret key?
4.List and briefly define three applications of a public-key cryptosystem.
5.Why do some block cipher modes of operation only use encryption while others use both encryption and decryption?
In: Computer Science
A female just had a cup of coffee with cream and sugar. You are following the journey of the glucose molecule from ingestion thru cellular respiration which creates H2O and CO2. You will follow the CO2 molecule until exhalation and the H2O to excretion. List the following pathways.
A. List the physical pathway from the oral cavity to the point of absorption in the gastrointestinal tract.
B. List the physical pathway from the point of absorption of the glucose molecule in the gastrointestinal tract to getting to the right gastrocnemius muscle.
In: Anatomy and Physiology
PLEASE DO NOT ANSWER THIS IF YOU DO NOT KNOW IT. Last time I posted, someone literally copied and pasted from an article and it was very difficult to understand.
1) What is meant by Factoring of Accounts Receivables?
2) List 3 advantages of Factoring
3) List 3 disadvantages of Factoring
4) List 3 Factors in the USA.
5) If you are a company that factors your receivables, would you prefer "recourse" or "non-recourse" factoring? Explain your choice.
In: Accounting
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, 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, 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 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 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