Questions
Create two lists; one contains 5 elements and the other one is empty. Write a python...

Create two lists; one contains 5 elements and the other one is empty. Write a python program that iterates through the first one, pops the elements from the end of it, then it pushes them one by one to the empty list. As your program iterates through the first list, clean it before processing the data, meaning if any element is like a special character ( , . ; : ) it must be discarded and not gets pushed to the second list.

In: Computer Science

I. Case Studies Select one of the following scenarios, then using the Co-Active Coaching book, explain...

I. Case Studies Select one of the following scenarios, then using the Co-Active Coaching book, explain what you would do and what questions you would ask in order to coach the client and help him/her move forward. (30 points) Case 1: Sandra has had a turbulent relationship with her mother most of her life. Her mother is very ill now and Sandra has just learned that she is pregnant with her first child. She wants to bridge the gap with her mother and rebuild their relationship before it is too late. However, due to personal and professional obligations, she cannot seem to find the time to do so. Case 2: Randy is an area supervisor for a successful restaurant chain, with 6 store managers that report to him directly. All 6 have undergone stringent management training, but one of the managers (Julia) is struggling to enforce the policies that the company mandates and is not working as a team player with the other managers. Randy wants to support Julia in being the manager and team player he needs her to be, but is not sure where to begin.

In: Psychology

If you believe that religion is becoming less important, what is replacing it?

If you believe that religion is becoming less important, what is replacing it?

In: Psychology

1) What does it mean to say "IBM and Microsoft are trying to position themselves as...

1) What does it mean to say "IBM and Microsoft are trying to position themselves as IT utilities"? In what way? How is this an advantage?

2) How can using IT Systems create a sustainable advantage? Given a manufacturing company what are some ways IT systems can help? Provide at least 2 examples with justification.

3) Describe the function of Middleware. What is the advantage of using it?  

4) Given a medium-sized organization without a security posture. What security measures could you recommend to put them on a path for a more secure position? List at least 3 with explanations.

In: Operations Management

Make a 20 by 20 matrix in which diagonal elements are 2, 5, 8, 11 ......

Make a 20 by 20 matrix in which diagonal elements are 2, 5, 8, 11 ... 59 and the first column is 21,22,23,24 ... 40 whereas the rest of the elements of the matrix are 9.

Note: you must if, elseif, else, end or/and if, end or/and if, else, end commands in MATLAB.

In: Computer Science

This lab will focus on creating a better understanding of Selection Sort and Insertion Sort algorithms....

This lab will focus on creating a better understanding of Selection Sort and Insertion Sort algorithms.

What you need to do

I have provided a driver and a Utility class with three methods. You must finish writing Selection Sort and Insertion Sort in the Utility class. Below is pseudocode for Selection and Insertion Sort, which you may use as a guide. Your selection sort will sort an array of Strings lexicographically, meaning A-Z. Your insertion sort will sort an array of Strings in reverse, meaning Z-A.

                      Selection Sort Pseudo Code

for i = 0 to length(A) min = i

for j = i to length(A) if A[j] < A[min]

min = j end for

                           swap A[i] and A[min]
                      end for
                      Insertion Sort Pseudo Code

for i = 1 to length(A) j=i

while j > 0 and A[j-1] < A[j] swap A[j] and A[j-1]

j=j-1 end while

end for

How do we compare strings to sort them correctly? Use the method compareTo provided in the string class. This method returns a int value and is used as follows:

<str1>.compareTo(<str2>)

If str1 comes before str2, compareTo will return a negative number. If str1 comes after str2, compareTo will return a positive number.
If str1 and str2 are the same, compareTo will return 0.

Driver Output

Unsorted array:
Tom, Steve, Ann, Zoe, Bob, Moana, Naomi, Kevin, Ryan, Nina, Dora, Wanda, Eric

Selection Sorted array from A-Z:
Ann, Bob, Dora, Eric, Kevin, Moana, Naomi, Nina, Ryan, Steve, Tom, Wanda, Zoe

Insertion Sorted array from Z-A:
Zoe, Wanda, Tom, Steve, Ryan, Nina, Naomi, Moana, Kevin, Eric, Dora, Bob, Ann

Driver.java///////

public class Driver {

   public static void main(String[] args) {
       // TODO Auto-generated method stub

       String[] names = {"Tom", "Steve","Ann","Zoe","Bob","Moana","Naomi","Kevin","Ryan","Nina","Dora","Wanda","Eric"};
      
       System.out.println("Unsorted array:");
       Utility.printArray(names);
       System.out.println();
      
       Utility.selectionSort(names);
       System.out.println("Selection Sorted array from A-Z:");
       Utility.printArray(names);
       System.out.println();

       Utility.insertionSort(names);
       System.out.println("Insertion Sorted array from Z-A:");
       Utility.printArray(names);
      
   }

}


Utility.java///////

public class Utility {

   public static void selectionSort(String[] array) {
       //TODO - Sort array from A-Z
   }
  
   public static void insertionSort(String[] array) {
       //TODO - Sort array from Z-A
   }
  
   public static void printArray(String[] array) {
      
       for(int i = 0; i < array.length; i++) {
           System.out.print(array[i]);
           if(i != array.length -1) {
               System.out.print(", ");
           }
       }
       System.out.println();
   }
  
}

In: Computer Science

What method does NOT cause the program to wait until a stream's buffer is empty? (a)...

What method does NOT cause the program to wait until a stream's buffer is empty? (a) flush (b) endl (c) clear (d) close (e) Multiple answers don't pause the program. (f) None of the above cause the program to pause.

I believe that clear is the answer.

flush pauses the program, endl (indirectly calls flush), close (calls flush).

In: Computer Science

If Netflix were to diversify into the telecommunications industry, would it create value for its shareholders?...

  1. If Netflix were to diversify into the telecommunications industry, would it create value for its shareholders? Utilize the appropriate measures found in Chapter 7 that can be applied for Netflix to make up its mind and to justify your answer.

Appropriate measures: economies of scope, transaction costs, costs of corporate complexity, diversification, vertical integration and strategic manoeuvring

In: Operations Management

General Questions about Network Footprinting Guidelines Answer each of the following questions using knowledge gained from...

General Questions about Network Footprinting

Guidelines

  • Answer each of the following questions using knowledge gained from the iLab, readings from the textbook, and individual research on the Web. Answer all questions in full graduate-level sentences and paragraphs.

1. What is accomplished by network footprinting?

2. What are the countermeasures a network security architect can set in motion to diminish the threat from network footprinting?

3. What is the difference between network footprinting and network reconnaissance?

4. In the context of network security, explain what is meant by after reconnaissance comes penetration.
5.  What is a denial of service (DOS) attack?

In: Computer Science

Write a function that will take a string containing only alphanumeric characters that are in lowercase...

  1. Write a function that will take a string containing only alphanumeric characters that are in lowercase (if you think your logic requires you to use more than one argument, please go ahead). Your task is to see if the string becomes a palindrome if only one character is removed from anywhere in the string.

In: Computer Science

What are some arguments supporting or critiquing the logic of divine command?

What are some arguments supporting or critiquing the logic of divine command?

In: Psychology

Explain the blue ocean strategy. pick a firm that has utilized this strategy and explain why...

Explain the blue ocean strategy. pick a firm that has utilized this strategy and explain why their action is a Blue Ocean Strategy. Would you rather be the only competitor in a blue ocean where the competition just has not found it yet, or the best competitor in a red ocean?


In: Economics

Chapter 4 addresses the nature and sources of competitive advantage. Why could other streaming companies have...

  1. Chapter 4 addresses the nature and sources of competitive advantage. Why could other streaming companies have difficulty in copying what Netflix has done to create a competitive advantage?

In: Operations Management

Porter’s 5 Forces is addressed in detail in Chapter 2. Discuss why it may be limited...

  1. Porter’s 5 Forces is addressed in detail in Chapter 2. Discuss why it may be limited in analyzing the industry that Netflix currently competes in and what needs to be done using observations from that industry?

In: Operations Management

Although we live in enlightened times, a recent Gallup Poll found that 15 percent of American...

Although we live in enlightened times, a recent Gallup Poll found that 15 percent of American workers still experienced some form of workplace discrimination. The study was conducted to mark the anniversary of the Civil Rights Act of 1964 and the creation of the EEOC.

The poll found that the two most frequently cited types of discrimination are sexual discrimination (31 percent) and discrimination based on race or ethnicity (36 percent). Also mentioned were age, disability, sexual orientation, and religion. The work areas found to be most susceptible to discrimination are promotion and pay. Being selected for a job and treatment in the workplace were also cited. Wage discrimination and sexual harassment are two big battles women continue to fight. Both topics were in the headlines in 2017; one took center stage and the other was brushed under the covers (at least for now).

Thanks to Harvey Weinstein, the topic of sexual harassment was in the spotlight, setting off a tsunami as women around the world reacted with their #MeToo stories. As the movement progressed from Hollywood, to media companies, to Capitol Hill, and finally into corporate America, the topic had a platform. From the boardroom to the factory floor, women who had been sexually harassed shared their stories.

As companies rushed to put zero-tolerance policies into place and issue new training requirements, lawsuits and class-action cases were settled more quickly, some very publicly. In August 2017, the EEOC reached a $10 million settlement with Ford motor company for sexual and racial harassment at two Chicago plants.

In contrast, little was reported on the reversal of the new regulation designed to combat the wage gap between men and women. The revised EEO-1 would have gone into effect March 31, 2018, and required companies with 100 or more employees and federal contractors with 50 or more employees to report W-2 wage information and total hours worked for all employees. The EEO-1 form already requires employers to report data on race/ethnicity and gender.

The Office of Management and Budget (OMB) initiated a review and immediate stay to the U.S. EEOC “in accordance with its authority under the Paperwork Reduction Act (PRA),” reversing the regulation that had been revised on September 29, 2016.

Pay equity advocates who had supported expanded pay-data reporting were critical of the suspension. “We see through the Trump administration’s call to halt the equal pay rule that requires employers to collect and submit pay data by gender, race, and ethnicity to the government,” said Fatima Goss Graves, president and CEO of the National Women’s Law Center in Washington, D.C. “Make no mistake—it’s an all-out attack on equal pay. [It] sends a clear message to employers: if you want to ignore pay inequities and sweep them under the rug, this administration has your back.”

How important is equal pay? According to the analyses of the 2014–2016 Annual Social and Economic supplement published by the Institute for Women’s Policy Research, the United States economy would have produced additional income of $512.6 billion if women received equal pay; this represents 2.8 percent of 2016 gross domestic product (GDP).

In addition, poverty rates would drop from 10.8 percent to 4.4 percent, and the number of children with working mothers living in poverty would be nearly cut in half, dropping from 5.6 million to 3.1 million.

Critical Thinking Questions

  1. Why is workplace diversity so important in today’s business environment?
  2. What are the major sources of workplace discrimination? Cite specific examples from the case.
  3. What steps are companies taking to ensure that employees are not discriminated against?

In: Operations Management