Questions
Problem 9 - PYTHON There is a CSV-formatted file called olympics2.csv. Write code that creates a...

Problem 9 - PYTHON

There is a CSV-formatted file called olympics2.csv. Write code that creates a dictionary named country_olympians where the keys are country names and the values are lists of unique olympians from that country (no olympian's name should appear more than once for a given country).

Name,Sex,Age,Team,Event,Medal
A Dijiang,M,24,China,Basketball,NA
A Lamusi,M,23,China,Judo,NA
Gunnar Nielsen Aaby,M,24,Denmark,Football,NA
Edgar Lindenau Aabye,M,34,Sweden,Tug-Of-War,Gold
Christine Jacoba Aaftink,F,21,Netherlands,Speed Skating,NA
Christine Jacoba Aaftink,F,21,Netherlands,Speed Skating,NA
Christine Jacoba Aaftink,F,25,Netherlands,Speed Skating,NA
Christine Jacoba Aaftink,F,25,Netherlands,Speed Skating,NA
Christine Jacoba Aaftink,F,27,Netherlands,Speed Skating,NA
Christine Jacoba Aaftink,F,27,Netherlands,Speed Skating,NA
Per Knut Aaland,M,31,United States,Cross Country Skiing,NA
Per Knut Aaland,M,31,United States,Cross Country Skiing,NA
Per Knut Aaland,M,31,United States,Cross Country Skiing,NA
Per Knut Aaland,M,31,United States,Cross Country Skiing,NA
Per Knut Aaland,M,33,United States,Cross Country Skiing,NA
Per Knut Aaland,M,33,United States,Cross Country Skiing,NA
Per Knut Aaland,M,33,United States,Cross Country Skiing,NA
Per Knut Aaland,M,33,United States,Cross Country Skiing,NA
John Aalberg,M,31,United States,Cross Country Skiing,NA
John Aalberg,M,31,United States,Cross Country Skiing,NA
John Aalberg,M,31,United States,Cross Country Skiing,NA
John Aalberg,M,31,United States,Cross Country Skiing,NA
John Aalberg,M,33,United States,Cross Country Skiing,NA
John Aalberg,M,33,United States,Cross Country Skiing,NA
John Aalberg,M,33,United States,Cross Country Skiing,NA
John Aalberg,M,33,United States,Cross Country Skiing,NA
"Cornelia ""Cor"" Aalten (-Strannood)",F,18,Netherlands,Athletics,NA
"Cornelia ""Cor"" Aalten (-Strannood)",F,18,Netherlands,Athletics,NA
Antti Sami Aalto,M,26,Finland,Ice Hockey,NA
"Einar Ferdinand ""Einari"" Aalto",M,26,Finland,Swimming,NA
Jorma Ilmari Aalto,M,22,Finland,Cross Country Skiing,NA
Jyri Tapani Aalto,M,31,Finland,Badminton,NA
Minna Maarit Aalto,F,30,Finland,Sailing,NA
Minna Maarit Aalto,F,34,Finland,Sailing,NA
Pirjo Hannele Aalto (Mattila-),F,32,Finland,Biathlon,NA
Arvo Ossian Aaltonen,M,22,Finland,Swimming,NA
Arvo Ossian Aaltonen,M,22,Finland,Swimming,NA
Arvo Ossian Aaltonen,M,30,Finland,Swimming,Bronze
Arvo Ossian Aaltonen,M,30,Finland,Swimming,Bronze
Arvo Ossian Aaltonen,M,34,Finland,Swimming,NA
Juhamatti Tapio Aaltonen,M,28,Finland,Ice Hockey,Bronze
Paavo Johannes Aaltonen,M,28,Finland,Gymnastics,Bronze
Paavo Johannes Aaltonen,M,28,Finland,Gymnastics,Gold
Paavo Johannes Aaltonen,M,28,Finland,Gymnastics,NA
Paavo Johannes Aaltonen,M,28,Finland,Gymnastics,Gold
Paavo Johannes Aaltonen,M,28,Finland,Gymnastics,NA
Paavo Johannes Aaltonen,M,28,Finland,Gymnastics,NA
Paavo Johannes Aaltonen,M,28,Finland,Gymnastics,NA
Paavo Johannes Aaltonen,M,28,Finland,Gymnastics,Gold
Paavo Johannes Aaltonen,M,32,Finland,Gymnastics,NA
Paavo Johannes Aaltonen,M,32,Finland,Gymnastics,Bronze
Paavo Johannes Aaltonen,M,32,Finland,Gymnastics,NA
Paavo Johannes Aaltonen,M,32,Finland,Gymnastics,NA
Paavo Johannes Aaltonen,M,32,Finland,Gymnastics,NA
Paavo Johannes Aaltonen,M,32,Finland,Gymnastics,NA
Paavo Johannes Aaltonen,M,32,Finland,Gymnastics,NA
Paavo Johannes Aaltonen,M,32,Finland,Gymnastics,NA
Timo Antero Aaltonen,M,31,Finland,Athletics,NA
Win Valdemar Aaltonen,M,54,Finland,Art Competitions,NA

In: Computer Science

Henry Magruder made a mistake—he left a CD at the coffee station. Later, when Iris Majwubu...

Henry Magruder made a mistake—he left a CD at the coffee station. Later, when Iris Majwubu was topping off her mug with fresh tea, hoping to wrap up her work on the current SQL code module before it was time to go home, she saw the unlabeled CD on the counter. Being the helpful sort, she picked it up, intending to return it to the person who’d left it behind.

Expecting to find perhaps the latest device drivers, or someone’s work from the development team’s office, Iris slipped the disk into the drive of her computer and ran a virus scan on its contents before opening the file explorer program. She had been correct in assuming the CD contained data files, and lots of them. She opened a file at random: names, addresses, and Social Security numbers appeared on her screen. These were not the test records she expected; they looked more like critical payroll data. Concerned, she found a readme.txt file
and opened it. It read:

Jill, see files on this disc. Hope they meet your expectations. Wire money to account as arranged. Rest of data sent on payment.

Iris realized that someone was selling sensitive company data to an outside information
broker. She looked back at the directory listing and saw that the files spanned the range of every department at Sequential Label and Supply—everything from customer lists to shipping invoices. She saw one file that appeared to contain the credit card numbers of every Web customer the company supplied. She opened another file and saw that it only contained about half of the relevant data. Whoever did this had split the data into two parts.

That made sense: payment on delivery of the first half. Now, who did this belong to? She opened up the file properties option on the readme.txt file. The file owner was listed as “hmagruder.” That must be Henry Magruder, the developer two cubes over in the next aisle. Iris pondered her next action.

Iris called the company security hotline. The hotline was an anonymous way to report any
suspicious activity or abuse of company policy, although Iris chose to identify herself. The
next morning, she was called to a meeting with an investigator from corporate security,
which led to more meetings with others in corporate security, and then finally a meeting with
the director of human resources and Gladys Williams, the CIO of SLS.

Questions:
1. Why was Iris justified in determining who the owner of the CD was?
2. Should Iris have approached Henry directly, or was the hotline the most effective way
to take action? Why do you think so?
3. Should Iris have placed the CD back at the coffee station and forgotten the whole
thing? Explain why that action would have been ethical or unethical.

In: Computer Science

Discuss in no less than 200 words. How can companies improve their corporate social responsibility if...

Discuss in no less than 200 words.

How can companies improve their corporate social responsibility if it's not at a high level at this time?

In: Operations Management

1. what are the services and benefits of an admin and operations manager to a commercial...

1. what are the services and benefits of an admin and operations manager to a commercial real estate business for service apartments, co-working space, and co-living space?

In: Operations Management

PYTHON LANGUAGE Write the data in variable artist_songs into a csv file, 'songs.txt', where the first...

PYTHON LANGUAGE

Write the data in variable artist_songs into a csv file, 'songs.txt', where the first column is singer name and second column is a song name. Each line should have a singer and a song name. Use "Name" and "Song" as headers. Do not include double quotation marks (") in your CSV but you should include apostrophes where necessary (for example, for the song "We Don't Talk Anymore").

In [110]:

artist_songs = {
    'Taylor Swift': ['Love Story', 'You need to Calm Down'],
    'Charlie Puth': ['Attention', "We Don't Talk Anymore", 'Change']
}

In: Computer Science

Write a C program that selects and displays the maximum value of five numbers to be...

Write a C program that selects and displays the maximum value of five numbers to be entered when the program is executed. (Hint : Use a for loop with both a scan_s and if statement inside the loop.)

In: Computer Science

Please use the search engine (Such as google and baidu) to visit four different websites about...

Please use the search engine (Such as google and baidu) to visit four different websites about hotels or scenic spots, describe the features of these sites and multimedia elements.

In: Computer Science

Jared Griffin Guided Reflection Questions Opening Questions How did the simulated experience of Jared Griffin’s case...

Jared Griffin

Guided Reflection Questions

Opening Questions

How did the simulated experience of Jared Griffin’s case make you feel?

Talk about what went well in the scenario.

Reflecting on Jared Griffin’s case, were there any actions you would do differently if you were to repeat this scenario? If so, how would your patient care change?

Scenario Analysis Questions*

EBP/S   What priority problem(s) did you identify for Jared Griffin?

EBP/S   What potential problems could arise from improper infection control practices?

EBP      Discuss the relationship between the spread of hospital-acquired infections (HAIs) and proper infection control.

PCC/T &C     Discuss the importance of patient education on proper infection control practices.

T&C      What other interprofessional team members should be involved in Jared Griffin’s care?

Concluding Questions

Describe how you would apply the knowledge and skills that you obtained in Jared Griffin’s case to an actual patient care situation.

* The Scenario Analysis Questions are correlated to the Quality and Safety Education for Nurses (QSEN) competencies: Patient-Centered Care (PCC), Teamwork and Collaboration (T&C), Evidence-Based Practice (EBP), Quality Improvement (QI), Safety (S), and Informatics (I). Find more information at: http://qsen.org/

In: Nursing

Explain under what circumstances a net operating loss of a partnership can be carried over and...

Explain under what circumstances a net operating loss of a partnership can be carried over and applied against income of a partner even after the 20-year carryover period provided for net operating loss carryovers has expired.

In: Accounting

Suppose there is a 3-year bond with a $1000 face value, 12% coupon payments and a...

Suppose there is a 3-year bond with a $1000 face value, 12% coupon payments and a 6% yield to maturity.

a) Without any calculation, briefly explain whether this bond will be selling a premium or a discount

b) Calculate the price of this bond.

c) Calculate the duration of this bond. d) If someone buys this bond and holds it for three years, what is their rate of return? e) Suppose after one year, interest rates in the economy fall by 2%. If the person that bought this bond sells it at that time, what would be their rate of return? (Hint: First think about what the fall in interest rates will do to the bond’s price and then think about the rate of return.)

In: Finance

Do some research to find the 2018 balance sheets for Macy’s and Nordstrom online. For each...

Do some research to find the 2018 balance sheets for Macy’s and Nordstrom online. For each company, navigate to the company’s website, then scroll down to investors or investor relations, 2018 annual report, and locate their 2018 balance sheet.

Identify and describe the company’s three most significant accounts in the following areas:

  • Current assets
  • Long-term asset
  • Current liabilities
  • Long-term liabilities
  • Stockholders’ equity

How do these two retailer’s balance sheets compare? Which company do you feel is healthier?

In: Accounting

If the items in a list are floats taking 8 memory locations each, compare the amount...

If the items in a list are floats taking 8 memory locations each, compare the amount of space required altogether if (a) the list is kept contiguously in an array 80 percent full (b) the list is kept contiguously in an array 60 percent full and (c) the list is kept as a linked list where the pointers take two memory locations each

In: Computer Science

Discuss in no less than 200 words . Do most companies have good corporate social responsibility?...

Discuss in no less than 200 words .

Do most companies have good corporate social responsibility? Please explain. Thanks!

In: Operations Management

(Java) Create a program using 3 methods. The methods must be public and static. Ask the...

(Java) Create a program using 3 methods. The methods must be public and static. Ask the user for 3 numbers, then call the methods from main to print max, min, and average.

The first method max (int x, int y, int z) returns the maximum value of 3 integer values.

The second method min (int X, int y, int z) returns the minimum value of 3 integer values.

And the third average (int x, int y, int z) returns the average of 3 integer values.

Sample Output: (bold = user input)

Enter # 1: 5

Enter # 2: 9

Enter # 3: 2

Min is 2

Max is 9

Average is 5.33333

Sample output 2

Enter # 1: 45

Enter # 2: 11

Enter # 3: -3

Min is -3

Max is 45

Average is 17.6667

Code Example:

int addTwoNumbers (int x, int y) {

int result = x + y;

return result;

In: Computer Science

Is the distribution channel selected always consistent with the products image? We have all heard the...

Is the distribution channel selected always consistent with the products image? We have all heard the saying that image is everything. If you discover a Coach handbag on sale at Walmart and you had recently purchased one at Coach's retail location in an upscale mall, what might you think about the brand?

A display ad for Stihl chain saws reads "Why is the world's number one selling brand of chain saws not sold at Lowe's or The Home Depot?". Why has Stihl decided to not include these major channels as part of their strategy? Is there a specific stereotype associated with products sold at these mass merchant locations?

If a product is prominently displayed in a retail location and your target customers have been known to frequent the store, is the image of the channel member a factor? Some marketers claim that the image is not an issue. Others, however, argue that the image of the channel member must match the image associated with the product.

For this assignment, you will take a position on whether “the image of the intermediary does not need to be consistent with the image of the brand" or "the image of the intermediary must match the image of the brand." Support your position with credible research.

In: Operations Management