Lesson Assignment
There's not much content to this lesson other than to create the table of words and counts (which will be a list of tuples). The words are already parsed out for you (same as the previous lesson).
Build the following three functions:
def clean(words):
def build_table(words):
def top_n(table, n):
Notes:
the function top_n does not have to worry about the order of items for those words that have the same count. This feature is called stable sorting -- where the items after the sort will always be in the same order (more discussion in the extra credit). You can use collections.Counter to help you with this lesson, but it will NOT return a stable order.
Be sure to test your pipeline on multiple texts. Each 'run' should not affect others:
v1 = list(pipeline(['a','b','c'], 5))
v2 = list(pipeline(['a','b','c'], 5))
print(v1 == v2)
In: Computer Science
The leading public health care problems in the U.S. are:
Mental disorders
Consumption of alcohol, nicotine, OTC drugs, and prescription drugs
The count for people suffering from a diagnosable mental disorder in a given year is on the rise. This figure translates to approximately 57.7 million people currently (National Institute of Mental Disorder, 2008).
In relation to problems regarding drugs, consumption of alcohol is considered as the leading problem. In addition, the consumption of Nicotine, OTC drugs, and prescription drugs are other prominent issues (McKenzie, Pinger, & Kotecki, 2008).
Based on these statements, create a report in a Microsoft Word document, discussing the following:
Is the diagnosis of mental illnesses still viewed with a negative attitude as was done several years ago? Why or why not?
Are the local and national health care providers adequately responding to the needs of people suffering from mental disorders?
Should the local health care communities be held responsible for mandating specific care and treatment for the affected population? Why or why not?
What are the two major types of abused drugs and the age groups most likely to use them? Why is drug usage prevalent among these populations?
What roles should the state governments' or private health agencies or organizations play in order to prevent and control drug abuse?
In: Nursing
Assume you have just been hired as a business manager of Pizza Palace, a regional pizza restaurant chain. The company’s EBIT was $50 million last year and is not expected to grow. The firm is currently financed with all equity, and it has 10 million shares outstanding. When you took your corporate finance course, your instructor stated that most firm’s owners would be financially better off if the firms used some debt. When you suggested this to your new boss, he encouraged you to pursue the idea. As a first step, assume that you obtained from the firm’s investment banker the following estimated costs of debt for the firm at different capital structures: Percent financed: w/Debt rd 0% - 20 8.0% 30 8.5 40 10.0 50 12.0 If the company were to recapitalize, then debt would be issued and the funds received would be used to repurchase stock.PizzaPalace is in the 40%state-plus-federal corporate tax bracket,its beta is1.0,therisk-freerateis 6%,and the market risk premium is6%
Assignment: Write a 250-500-word recommendation of the financial decision you propose for this company based on an analysis of its capital structure and capital budgeting techniques
In: Finance
(2 pts)The probability that Sue will go to Mexico in the winter and to France in the summer is 0.40. The probability that she will go to Mexico in the winter is 0.60. Find the probability that she will go to France this summer given that she just returned from her winter vacation in Mexico.
(2 pts ) A fair die is tossed. Find the probability P(less than 5|even).
( 2 pts) You have decided to take a vacation. You want to go from Los Angeles to San Francisco and then to Hawaii, and you have all summer for your trip. To get from L.A. to San Francisco you can choose to drive, fly, take a bus, or take the train. From San Francisco to Hawaii you can fly, cruise, or sail. In how many different ways can you travel from Los Angeles to Hawaii?
(2 pts) How many arrangements of the letters in the word SQUARE begin with SQ?
(2 pts) The volleyball team is sponsoring a mixed-doubles sand court volleyball tournament and sixteen pairs have signed up for the chance to win one of the seven trophies and cash prizes. In how many different ways can the teams be chosen and arranged for the top seven slots?
In: Statistics and Probability
A potential investor is seeking to invest $750,000 in a venture, which currently has 1,000,000 shares held by its founders, and is targeting a 45% per annum return for the next five years. The venture is expected to produce $1,000,000 in income per year at year 5. It is known that a similar venture recently produced $2,000,000 in income and sold shares to the public for $15,000,000.
a. What is the percent ownership of our venture that must be sold in order to provide the venture investor’s target return?
b. What is the number of shares that must be issued to the new investor in order for the investor to earn his target return?
c. What is the issue price per share?
d. What is the pre-money valuation?
e. What is the post-money valuation?
Make sure you specifically include a section in your submission that clearly states your answer to each question. I will not hunt through your spreadsheets or calculations to find your answers. If possible, please try to include only one document in your submission and please do not use embedded spreadsheets if you use a word document. Please label your assignment using our assignment labeling convention. Each question is worth three points.
In: Finance
Norton Company produces two products (Juno and Hera) that use the same material input. Juno uses two pounds of the material for every unit produced, and Hera uses five pounds. Currently, Norton has 16,000 pounds of the material in inventory. All of the material is imported. For the coming year, Norton plans to import an additional 8,000 pounds to produce 2,000 units of Juno and 4,000 units of Hera. The unit contribution margin is $30 for Juno and $60 for Hera. Also, assume that Norton's marketing department estimates that the company can sell a maximum of 2,000 units of Juno and 4,000 units of Hera. Norton has received word that the source of the material has been shut down by embargo. Consequently, the company will not be able to import the 8,000 pounds it planned to use in the coming year's production. There is no other source of the material. Required: 1. Compute the total contribution margin that the company would earn if it could manufacture 2,000 units of Juno and 4,000 units of Hera. $ 300,000 2. Determine the optimal usage of the company's inventory of 16,000 pounds of the material. Product mix is units of Juno and units of Hera. Compute the total contribution margin for the product mix that you recommend. $ 204,000
In: Accounting
Database Normalization
Please if you don't know the answer don't comment as "Need More
Information."
Please answer it in a table form with the data included as per
table A and table B.
Introduction:
This lab is designed to help you with practicing normalization
concepts implementation.
Submission:
After finishing the task below, convert the word file to a PDF
document and submit it to Brightspace.
Task:
Using this file, normalize the following tables to be in the third
normal form. Remember to consider having the data when you do the
normalization.
| Course_Title | Course_Credit_Hours | Professor_ID | Professor_Name | First_day_work | Professor Specialization_ID | Professor Specialization |
| Accounting, Finance | 3,3 | 234 | Patric | 14/2/2008 | 7 | Accounting |
| Marketing, Business administration | 3,2 | 564 | Mary | 15/4/2010 | 5 | Business Management |
Notes: • Every course can be taught by more than one professor and each professor can teach more than one course.
Table B
| Employee_ID (P.K) | Project_ID (P.K) | E_Name | P_Name | E_Assigned_Hours |
| 100 | 101 | Cedric | Acct. | 13 |
| 200 | 110 | Natali | Finance | 15 |
| 300 | 111 | Maria | BD | 12 |
Marking Criteria:
• Entities titles
• Attributes:
• PKs:
• FKs:
• Relationships:
• Handling data:
In: Computer Science
A stereotype can be defined as a preconceived notion, usually about a group of people. It is a widely held oversimplified image, behavior or idea of a group or people, a type of person, or a thing. Stereotypes and references to them can be seen in all aspects of society. Although the idea of stereotypes has been a part of history for many years, many of the stereotypical ideas have changed and adapted to modern times.
For your assignment, you will focus on modern stereotypes that you see in your culture and environment. You will first explain 2-3 different stereotypes that you feel are predominant, and look at them more in-depth. They might relate to technology, behaviors of your generation, or other new themes.
Then, in your 650-750 word essay, you will respond to the following questions:
In: Nursing
1- What is codetermination? Describe both the theoretical concept and its implications and compare theory to practice in Germany. Why does Germany rely on codetermination? Does codetermination have any role in the success of the German Mittelstand? Senator Elizabeth Warren suggested that the institution of codetermination should be brought to US corporations. How would that impact US corporations?
2- According to Hayek’s article “The Use of Knowledge in Society,” what is the fundamental role of prices in the economy? Why does Hayek use the word marvel when he describes the price mechanism? What happens when prices are determined by the state rather than by the interaction of many buyers and many sellers in the marketplace? Discuss the differences in allocative efficiency between a capitalist and a socialist economic system as they relate to the price mechanism in each system.
3- Lewis's two-sector model is said to be a good description of industrialization in East Asia. What is the essence of this model? Use the graphs to represent the two sectors and explain in detail the dynamics of the labor movement between the two sectors. What is the model’s relevance to understanding economic growth in Asia? Discuss the long-term implications of economic growth in East Asian economics systems.
In: Economics
Your supervisor has been asked many questions about how the economy works and why the idea of limited resources is such a major concern in today’s economy. As a result, she has asked you to prepare a report on the topics.
Specifically, your supervisor has asked you to prepare the following:
A circular flow diagram that includes the government sector. For this part of your report, you should include a description of the roles that each participant plays in the economy and how the different sectors interact in the markets.
An illustration of the Production Possibilities model, including a summary of what the model is illustrating and the economic implications for the economy.
An explanation of why or why not trade with other countries is beneficial to an economy and how international trade fits into the circular flow diagram.
An explanation of the difference between micro and macro economics, indicating why the division is necessary.
Deliverables: Prepare a 5-6 page Microsoft Word document that addresses the above tasks and meets APA standards. Include a summary section in your report that contains 5-7 bullet points identifying your major findings or conclusions of your paper. Include the full report as an attachment to your posting. Please acknowledge all resources
In: Economics