moreh_the_com…Answers 1Bids 1Other questions 10

Module 4 – SLPPRESENTATIONS AND THE CREATIVE PROBLEM SOLVING PROCESSReview the Problem Solving skills you have learned in SLP assignments 1-4.  Using your creativity, develop a Powerpoint presentation that illustrates what you have learned from each Problem Solving approach.  On your final slide, include your reaction to your results from the Decision Making Style Quiz results from Page 5 of the Case Study Packet.SLP Assignment ExpectationsYour Powerpoint presentation should include a minimum of 5 slides and a reference slide.  Insert text summarizing each slide into the Notes section.  This is the text that you will record for your Discussion post.  Be sure to edit the text in your Notes sections so that you say it in 30 seconds or less.  You do not need to include text in the notes section of your reference slide.CASE STUDY APPROACH Purposes of Cases – Reading and WritingCases are narratives, situations, select data samplings, or statements that present unresolved and provocative issues, situations, or questions. Cases are important for bringing real world problems into a classroom. Cases allow you to experience a different kind of learning – learning by doing. They are intended to give you an opportunity to actively experience the reality and complexity of the issues facing practicing managers regardless of career field. Case analysis will help you develop/practice your analytical and problem-solving skills including analyzing organizational problems and up to generating solutions.As a ‘decision-maker’ your primary goal is to sort out information given and to propose a viable solution to the problem(s) identified.Student Preparation of Written CasesThere are any number of possible approaches to analyzing a case. The most important point to remember is that case analysis involves problem solving and decision making. There is no absolutely right or wrong solution to a case problem. Your major task as a decision maker is to present a coherent and defensible analysis of the situation. Just as managers in the ‘real world’ must persuade their colleagues and superiors that their proposals are sound, so must you persuade your instructor that your analysis of the case and proposed solution are the best. You should follow a few preliminary steps before preparing your written analysis. First, give the case a general reading to get an overall sense of the situation. Put it aside for a while, then read it a second time and make notes on the critical facts. Case facts provide information and data as well as other pertinent facts about the organization. Keep two key questions in mind as you review the facts of the case: First, are there discernible patterns in the facts? Second, what can be inferred about management practices in this organization from the facts presented? You should attempt to classify, sort, and evaluate the information you have identified in this preliminary step. Once you have a clear understanding of the critical facts in the case, you can prepare your written analysis using the six-step model that follows. Written Case Analysis ModelStep 1.  Define the Problem. The first step in your written analysis is to explicitly identify the major problem(s) in the case in one or two clear and precise sentences. For example, ‘The major problem in this case is a 15 percent increase in employee turnover compared to last year’s rate.’ Herbert Simon, who received a Nobel Prize for his work on management decision making, has defined a problem as ‘a deviation from a standard.’ In other words, one way to identify a problem is to compare some desired state or objective with the actual situation. A problem or series of problems may prevent the organization from reaching its objectives or goals. A key point here is that in order to define a problem, there must be some type of standard for comparison. For example, a possible standard may include the organization’s stated objectives or goals.Step 2. Identify the Root Cause(s) of the Problem. Before proposing alternative solutions, the decision maker must have a clear understanding of the underlying causes of the problem, not just the symptoms. This means the decision maker must examine internal and external environmental factors over time to isolate causal factors. Causes of problems tend to be historical in nature. To formulate a solid understanding of the specific causes, you should search for root causes and use relevant course concepts and theories to better define them. The ‘question syndrome’ approach may be beneficial here: Why did the problem occur? When did it begin? Where does it occur? Where doesn’t it occur? What has the organization failed to do? What are the antecedents of the problem? Posing these questions will help you to probe beyond the symptoms to the root causes of the problem.The process of identifying the root causes of a problem is very much like hypothesis testing. You should set forth possible causes and then test them against the facts in the case. When writing the problem statement, you will clearly state the root causes. In writing this section, it is important to present a plausible discussion of the causes so as to convince the reader that your analysis is correct.Step 3.  Select Criteria.  Your decision criteria serve to allow you the opportunity to evaluate each of your alternatives using the same measures.  Criteria that you will utilize in making decisions may be quantitative or qualitative in nature. There is a short list of criteria presented in this packet.  In reality, some or all of these may come into play. But importance to any problem will be different, which will require you to prioritize these for each different case. You will prioritize this list and use the most important three criteria for each alternative.Step 4. Develop Alternative Solutions. This step involves developing alternative solutions and evaluating their contributions to resolving the problem(s) identified. Proposed alternatives should be consistent with the problem(s) and cause(s) identified. You should attempt to develop at least three possible alternatives. List each of your alternatives and the advantages and disadvantages associated with each. Keep the prioritized criteria in mind as you evaluate your alternatives. Developing a list of good alternatives involves creativity and avoiding preconceived attitudes (knee-jerk solutions) and assumptions. It may be useful to brainstorm possible solutions before weighing their advantages and disadvantages. Step 5. Select the Best Alternative. Indicate the alternative you have chosen to solve the problem. A decision should be selected by comparing each alternative identified in Step 3. This will allow you to justify why you chose a particular solution and why it will best resolve the problem(s). An effective solution will truly resolve the problem.Step 6. Implementation Steps. Now that you have a solution, you must develop appropriate action plans to implement it. In this section of your written analysis, you want to specify, as much as possible, what should be done, by whom, when, where, and in what sequence. For example: Who should implement the decision? To whom should it be communicated? What actions need to be taken now? What actions need to be taken later? The Implementation needs to be as specific as possible.  Step 7 Evaluate the Outcome. Finally, you should also indicate follow-up procedures to monitor the implementation of your solution to ensure that the intended actions are taken and that the problem is corrected. Continue to gather feedback and reflect on the effectiveness.   While these steps have been presented in linear fashion, case analysis does not involve linear thinking. You will probably find yourself thinking about all of the parts of the analysis simultaneously. This is perfectly normal and underscores the complexity of decision making. To present a clear written analysis, however, it is important to write up your report in the analytical form just described. As you gain experience with the case method, you will develop a better understanding of your problem solving ability.Pitfalls in Problem Solving and Decision MakingAmateurs at case analysis often encounter the pitfall of jumping to a conclusion, which in effect bypasses analysis. For example, a student may readily observe some overt behavior, quickly identify it as objectionable and, therefore, assume it is a basic problem. Later, with some dismay, the student may discover that the prescribed action had no effect on the ‘problem’ and that the objectionable behavior was only a symptom and not the actual problem.  It might be helpful at this point to assess your decision making style.  Complete the following assessment. Decision-Making Styles There are various decision-making styles, including reflexive, consistent, and reflective. To determine your decision-making style, answer the questions in the following SelfAssessment. .Select the answer (1 to 3) that best describes how you make decisions. A. Overall I’m ____________ to act.1. quick2. moderate3. slow B.I spend __________ amount of time making important decisions as/than I do making lessimportant decisions.1. about the same2. a greater3, a much greater  C.When making decisions, I ________ go with my first thought.1. usually2. occasionally3. rarely D.When making decisions, I’m ________ concerned about making errors. 1. rarely2. occasionally3. often E.When making decisions, I ________ recheck my work.1. rarely2. occasionally3. usually F.When making decisions, I gather ________ information.1. little2. some3. lots of G.When making decisions, I consider ________ alternative actions.1. few2. some3. lots of H.When making a decision, I usually make it ________ before the deadline.1. long2. somewhat3. Just I.After making a decision, I ________ look for other alternatives, wishing I had waited.1. rarely2. occasionally3. usually J.I ________ regret having made a decision.1. rarely2. occasionally3. often To determine your style, add the numbers that represent your answers to the 10 questions. The total will be between 10 and 30. Place an X on the continuum at the point that represents your score. ReflexiveReflectiveI0_______________16________________23________________30 A score of 10 to 16 indicates a reflexive style; 17 to 23 indicates a consistent style; and 24 to 30 indicates a reflective style. You have determined your preferred personal decision-making style. Reflexive StyleA reflexive decision maker likes to make quick decisions (‘to shoot from the hip’), without taking the time to get all the information that may be needed and without considering all alternatives. On the positive side, reflexive decision makers are decisive; they do not procrastinate. On the negative side, making quick decisions can lead to waste and duplication when a decision is not the best possible alternative.   The reflexive decision maker may be viewed by employees as a poor manager if he or she is consistently making bad decisions. If you use a reflexive style, you may want to slow down and spend more time gathering information and analyzing alternatives. Following the steps in the decision-making model can help you develop your skills. Reflective StyleA reflective decision maker likes to take plenty of time to make decisions, taking into account considerable information and an analysis of several alternatives. On the positive side, the reflective type does not make decisions that are rushed. On the negative side, he or she may procrastinate and waste valuable time and other resources. The reflective decision maker may be viewed as wishy-washy and indecisive. If you use a reflective style, you may want to speed up your decision making. As Andrew Jackson once said, ‘Take time to deliberate; but when the time for action arrives, stop thinking and go on.’ Another common mistake is for students think there is insufficient information. All desirable or useful information is seldom available for analyzing and resolving actual problems in real organizations. Consequently, managers must do the best they can with the information available to them. Furthermore, the main issue in solving the problems of many organizations is to determine what additional and relevant information is available or can be obtained before adequate analysis can be made and appropriate action taken. If additional information is available, the manager must decide whether it is worth getting, whether it is meaningful and relevant, and whether it can be secured in time to be useful. Thus, an apparent lack of information in cases is actually a reflection of reality that students must learn to accept and overcome. Students occasionally search for the ‘right’ answer or solutions to cases and sometimes they ask what actually happened in a case. Although some answers or solutions are better than others, there are no ‘right’ answers or solutions. What actually happened in a case is usually irrelevant because the focus of case study should be on the process of analysis, the diagnosis of problems, and the prescription of remedial action rather than on the discovery of answers or results. No case is intended to illustrate either right or wrong.  CASE WRITING TIP Suggested form for Case Studies: Define the Problem Problem Statement with Root Cause Select Prioritized Criteria Develop Alternative Solutions Alt 1Alt 2Alt 3 Selecting the Best Alternative (Analysis) Pros and Cons of Alt 1Pros and Cons of Alt 2Pros and Cons of Alt 3 Implement Evaluate  The Problem “There is nothing worse than the right answer to the wrong question” – Winston Churchill And the same can be said of problem identification.  Misidentify the problem and when the smoke clears……. You still have the same pesky problem to deal with again.  All you have done is expend valuable and finite resources.  And what do you have to show? The Dictionary definition of a problem is “a question proposed for solution; a matter that is perplexing or difficult.” The definition of a cause is“a person or thing that brings about an effect or result.”  These are clearly different.  What happens if we solve a cause?  Have we solved our problem?  What happens if we identify a cause as our problem?  Will we be able to arrive at the most efficient response? Common Quantitative CriteriaReturn on Investment (ROI)CostTechnically Feasible Implementation TimeReliableCommon Qualitative CriteriaAcceptance of Affected PartiesSafetyEffective Use of Staff and EquipmentRisksEmployee MoraleMotivationCompetitive AdvantageEthicsLegalCorporate ImageCustomer SatisfactionWhen considering the results of your actions, you need to select suitable criteria to measure possible outcomes of your decision. The above is a list of quantitative and qualitative criteria.  It is not totally complete, though the most important for most decisions are in evidence.  Add your own to the list. Be sure to define what each of these criterion means in relation to the others. In essence, all of these can be considered for every decision that you will make.  But this is unwieldy and takes more time and resources than we are usually willing to put into play in making a decision.  For efficiency of resource use, prioritize and select the most important ones to aid you in your decision making. It will be up to you to decide which the key criteria in each decision are. The more targeted and focused in your criteria selection, the better your decision will be. Analysis You have now defined the problem and prioritized the appropriate decision criteria.  The next step is to develop alternatives.  For each case, you will need three or four.  This is essentially a brainstorming process.  What can you do to solve your problem?  This is an alternative. Guidelines for alternative development are: DON’T SETTLE FOR YOUR FIRST IDEA!Good designers try to generate as many possible solutions as they can before choosing one that they feel is the best. This creative process of developing ideas is called ideation.Methods of ideation include: Examining existing solutionsConducting brainstorming sessions. Remember the first rule of brainstorming – every idea is a viable one.  Develop as many alternatives as possible.  When you are done, try to categorize your alternatives.  Then develop three alternatives.Creative1 Trying Sketching and doodling Now you have three alternatives and three criteria.  Choose an alternative. Select the most important criteria and develop possible positive and negative consequences of that alternative.  What will most likely happen if we adopt this plan of action?  Both plusses AND minuses. Repeat with the other two criteria for this alternative. Then repeat this process for the other two alternatives.  When you have completed this process, select the alternative that best provides resolution to your stated problem.  Implement by describing how, who, when, where, what.  Be specific about what will happen. Graphically, this process looks like this:  CriteriaAlternativesCriteria ACriteria BCriteria CCriteria DCriteria ECriteria FCriteria G Alternative 1  +  /  –  +  /  –  +  /  –     Alternative 2  +  /  –  +  /  –  +  /  –     Alternative 3  +  /  –  +  /  –  +  /  –

The post moreh_the_com…Answers 1Bids 1Other questions 10 appeared first on homeworkhandlers.com.

Building a Multi-Threaded Web ServerAnswers 1Bids 1Other questions 10

Project Assignment 2: Building a Multi-Threaded Web ServerThis project assignment is due at the end of the seventh week of the course and is worth 7% of your total grade.In this project, we will develop a Web server in two steps. In the end, you will have built a multi-threaded Web server that is capable of processing multiple simultaneous service requests in parallel. Section 2.7 of your text may offer you some insight and help. You should be able to demonstrate that your Web server is capable of delivering your home page to a Web browser.   We are going to implement Version 1.0 of HTTP, as defined in RFC 1945, where separate HTTP requests are sent for each component of the Web page. The server will be able to handle multiple simultaneous service requests in parallel. This means that the Web server is multi-threaded. In the main thread, the server listens to a fixed port. When it receives a TCP connection request, it sets up a TCP connection through another port and services the request in a separate thread. To simplify this programming task, we will develop the code in two stages. In the first stage, you will write a multi-threaded server that simply displays the contents of the HTTP request message that it receives. After this program is running properly, you will add the code required to generate an appropriate response.As you are developing the code, you can test your server from a Web browser. Just remember that you are not serving through the standard port 80, so you need to specify the port number within the URL that you give to your browser. For example, if your machine’s name is host.someschool.edu, your server is listening to port 6789, and you want to retrieve the file index.html, then you would specify the following URL within the browser:http://host.someschool.edu:6789/index.htmlIf you omit ‘:6789,’ the browser will assume port 80, which most likely will not have a server listening on it.When the server encounters an error, it sends a response message with the appropriate HTML source so that the error information is displayed in the browser window.Web Server in Java: Part AIn the following steps, we will go through the code for the first implementation of our Web server. Wherever you see ‘?,’ you will need to supply a missing detail.Our first implementation of the Web server will be multi-threaded, where the processing of each incoming request will take place inside a separate thread of execution. This allows the server to service multiple clients in parallel, or to perform multiple file transfers to a single client in parallel. When we create a new thread of execution, we need to pass to the Thread’s constructor an instance of some class that implements the Runnable interface. This is the reason why we define a separate class called HttpRequest. The structure of the Web server is shown below:import java.io.* ;import java.net.* ;import java.util.* ; public final class WebServer{        public static void main(String argv[]) throws Exception        {               . . .        }} final class HttpRequest implements Runnable{        . . .}Normally, Web servers process service requests that they receive through well-known Port #80. You can choose any port higher than 1024, but remember to use the same port number when making requests to your Web server from your browser.public static void main(String argv[]) throws Exception{        // Set the port number.        int port = 6789;         . . .}Next, we open a socket and wait for a TCP connection request. Since we will be servicing request messages indefinitely, we place the listen operation inside of an infinite loop. This means that we will have to terminate the Web server by pressing ^C on the keyboard.// Establish the listen socket.       ? // Process HTTP service requests in an infinite loop.while (true) {        // Listen for a TCP connection request.        ?         . . .}When a connection request is received, we create an HttpRequest object, passing to its constructor a reference to the Socket object that represents our established connection with the client.// Construct an object to process the HTTP request message.HttpRequest request = new HttpRequest( ? ); // Create a new thread to process the request.Thread thread = new Thread(request); // Start the thread.thread.start();In order to have the HttpRequest object handle the incoming HTTP service request in a separate thread, we first create a new Thread object, passing to its constructor a reference to the HttpRequest object, and then call the thread’s start() method.After the new thread has been created and started, execution in the main thread returns to the top of the message processing loop. The main thread will then block, waiting for another TCP connection request, while the new thread continues running. When another TCP connection request is received, the main thread goes through the same process of thread creation regardless of whether the previous thread has finished execution or is still running.This completes the code in main(). For the remainder of the lab, it remains to develop the HttpRequest class.We declare two variables for the HttpRequest class: CRLF and socket. According to the HTTP specification, we need to terminate each line of the server’s response message with a carriage return (CR) and a line feed (LF), so we have defined CRLF as a convenience. The variable socket will be used to store a reference to the connection socket, which is passed to the constructor of this class. The structure of the HttpRequest class is shown below:final class HttpRequest implements Runnable{        final static String CRLF = ‘rn’;        Socket socket;         // Constructor        public HttpRequest(Socket socket) throws Exception         {               this.socket = socket;        }         // Implement the run() method of the Runnable interface.        public void run()        {               . . .        }         private void processRequest() throws Exception        {               . . .        }}In order to pass an instance of the HttpRequest class to the Thread’s constructor, HttpRequest must implement the Runnable interface, which simply means that we must define a public method called run() that returns void. Most of the processing will take place within processRequest(), which is called from within run().Up until this point, we have been throwing exceptions, rather than catching them. However, we cannot throw exceptions from run(), because we must strictly adhere to the declaration of run() in the Runnable interface, which does not throw any exceptions. We will place all of the processing code in processRequest(), and from there, throw exceptions to run(). Within run(), we explicitly catch and handle exceptions with a try/catch block.// Implement the run() method of the Runnable interface.public void run(){        try {               processRequest();        } catch (Exception e) {               System.out.println(e);        }}Now, let’s develop the code within processRequest(). We first obtain references to the socket’s input and output streams. Then we wrap InputStreamReader and BufferedReader filters around the input stream. However, we won’t wrap any filters around the output stream, because we will be writing bytes directly into the output stream.private void processRequest() throws Exception{        // Get a reference to the socket’s input and output streams.        InputStream is = ?;        DataOutputStream os = ?;         // Set up input stream filters.        ?         BufferedReader br = ?;         . . .}Now we are prepared to get the client’s request message, which we do by reading from the socket’s input stream. The readLine() method of the BufferedReader class will extract characters from the input stream until it reaches an end-of-line character, or in our case, the end-of-line character sequence, CRLF.The first item available in the input stream will be the HTTP request line. (See Section 2.2 of the textbook for a description of this and the following fields).// Get the request line of the HTTP request message.String requestLine = ?; // Display the request line.System.out.println();System.out.println(requestLine);After obtaining the request line of the message header, we obtain the header lines. Since we don’t know ahead of time how many header lines the client will send, we must get these lines within a looping operation.// Get and display the header lines.String headerLine = null;while ((headerLine = br.readLine()).length() != 0) {        System.out.println(headerLine);}We don’t need the header lines, other than to print them to the screen, so we use a temporary String variable, headerLine, to hold a reference to their values. The loop terminates when the expression(headerLine = br.readLine()).length()evaluates to zero, which will occur when headerLine has zero length. This will happen when the empty line terminating the header lines is read. (See the HTTP Request Message diagram in Section 2.2 of the textbook).In the next step of this lab, we will add code to analyze the client’s request message and send a response. Before we do this, let’s try compiling our program and testing it with a browser. Add the following lines of code to close the streams and socket connection.// Close streams and socket.os.close();br.close();socket.close();After your program successfully compiles, run it with an available port number, and try contacting it from a browser. To do this, you should enter into the browser’s address text box the IP address of your running server. For example, if your machine name is host.someschool.edu, and you ran the server with Port #6789, then you would specify the following URL:http://host.someschool.edu:6789/The server should display the contents of the HTTP request message. Check that it matches the message format shown in the HTTP Request Message diagram in Section 2.2 of the textbook.Web Server in Java: Part BInstead of simply terminating the thread after displaying the browser’s HTTP request message, we will analyze the request and send an appropriate response. We are going to ignore the information in the header lines, and use only the file name contained in the request line. In fact, we are going to assume that the request line always specifies the GET method, and ignore the fact that the client may be sending some other type of request, such as HEAD or POST.We extract the file name from the request line with the aid of the StringTokenizer class. First, we create a StringTokenizer object that contains the string of characters from the request line. Second, we skip over the method specification, which we have assumed to be ‘GET’. Third, we extract the file name.// Extract the filename from the request line.StringTokenizer tokens = new StringTokenizer(requestLine);tokens.nextToken();  // skip over the method, which should be ‘GET’String fileName = tokens.nextToken(); // Prepend a ‘.’ so that file request is within the current directory.fileName = ‘.’ + fileName;Because the browser precedes the filename with a slash, we prefix a dot so that the resulting pathname starts within the current directory.Now that we have the file name, we can open the file as the first step in sending it to the client. If the file does not exist, the FileInputStream() constructor will throw the FileNotFoundException. Instead of throwing this possible exception and terminating the thread, we will use a try/catch construction to set the boolean variable fileExists to false. Later in the code, we will use this flag to construct an error response message, rather than try to send a nonexistent file.// Open the requested file.FileInputStream fis = null;boolean fileExists = true;try {        fis = new FileInputStream(fileName);} catch (FileNotFoundException e) {        fileExists = false;}There are three parts to the response message: the status line, the response headers, and the entity body. The status line and response headers are terminated by the character sequence, CRLF. We are going to respond with a status line, which we store in the variable statusLine, and a single response header, which we store in the variable contentTypeLine. In the case of a request for a nonexistent file, we return 404 Not Found in the status line of the response message, and include an error message in the form of an HTML document in the entity body.// Construct the response message.String statusLine = null;String contentTypeLine = null;String entityBody = null;if (fileExists) {        statusLine = ?;        contentTypeLine = ‘Content-type: ‘ +                contentType( fileName ) + CRLF;} else {        statusLine = ?;        contentTypeLine = ?;        entityBody = ‘‘ +                ‘Not Found‘ +               ‘Not Found‘;}When the file exists, we need to determine the file’s MIME type and send the appropriate MIME-type specifier. We make this determination in a separate private method called contentType(), which returns a string that we can include in the content type line that we are constructing.Now we can send the status line and our single header line to the browser by writing into the socket’s output stream.// Send the status line.os.writeBytes(statusLine); // Send the content type line.os.writeBytes(?); // Send a blank line to indicate the end of the header lines.os.writeBytes(CRLF);Now that the status line and header line with delimiting CRLF have been placed into the output stream on their way to the browser, it is time to do the same with the entity body. If the requested file exists, we call a separate method to send the file. If the requested file does not exist, we send the HTML-encoded error message that we have prepared.// Send the entity body.if (fileExists){        sendBytes(fis, os);        fis.close();} else {        os.writeBytes(?);}After sending the entity body, the work in this thread has finished, so we close the streams and socket before terminating.We still need to code the two methods that we have referenced in the above code, namely, the method that determines the MIME type, contentType(), and the method that writes the requested file onto the socket’s output stream. Let’s first take a look at the code for sending the file to the client.private static void sendBytes(FileInputStream fis, OutputStream os) throws Exception{   // Construct a 1K buffer to hold bytes on their way to the socket.   byte[] buffer = new byte[1024];   int bytes = 0;    // Copy requested file into the socket’s output stream.   while((bytes = fis.read(buffer)) != -1 ) {      os.write(buffer, 0, bytes);   }}Both read() and write() throw exceptions. Instead of catching these exceptions and handling them in our code, we throw them to be handled by the calling method.The variable, buffer, is our intermediate storage space for bytes on their way from the file to the output stream. When we read the bytes from the FileInputStream, we check to see if read() returns minus one, indicating that the end of the file has been reached. If the end of the file has not been reached, read() returns the number of bytes that have been placed into buffer. We use the write() method of the OutputStream class to place these bytes into the output stream, passing to it the name of the byte array, buffer, the starting point in the array, 0, and the number of bytes in the array to write, bytes.The final piece of code needed to complete the Web server is a method that will examine the extension of a file name and return a string that represents its MIME type. If the file extension is unknown, we return the type application/octet-stream.private static String contentType(String fileName){        if(fileName.endsWith(‘.htm’) || fileName.endsWith(‘.html’)) {               return ‘text/html’;        }        if(?) {               ?;        }        if(?) {               ?;        }        return ‘application/octet-stream;’}There is a lot missing from this method. For instance, nothing is returned for .gif or .jpeg files. Add the missing file types yourself, so that the components of your home page are sent with the content type correctly specified in the content type header line. For GIFs, the MIME type is image/gif, and for JPEGs, it is image/jpeg.This completes the code for the second phase of development of your Web server. Try running the server from the directory where your home page is located, and try viewing your home page files with a browser. Remember to include a port specifier in the URL of your home page, so that your browser doesn’t try to connect to the default Port 80. When you connect to the running Web server with the browser, examine the GET message requests that the Web server receives from the browser.Deliverables:  1.     Captured screenshots demonstrating that your system works with explanation,2.     Copy of your completed code used in your server system,3.     Provide a summary of your experiences in working this project and include what you learned as a part of this exercise, and4.     Include a Wireshark printout with the message sequences.

The post Building a Multi-Threaded Web ServerAnswers 1Bids 1Other questions 10 appeared first on homeworkhandlers.com.

Please answer the questionsAnswers 1Bids 2Other questions 10

28. True or False. Under U.S. law, any person who pays taxes can contribute to an IRA, and the contributions are tax-free. 44. True or False. Managers, executives, and lower level employees should all go through the same type of termination process. 49. True or False. If an organization offers leave benefits beyond those required by law, it should never make a declarative statement about this in its handbook 51. Which of the following assessments does not always need to be considered depending on the international assignment?A. Person-organization fitB. Personality-job fitC. Language abilityD. Suitability of immediate family 52. The ERISA Act requires all of the following except:A. All employees who have worked for more than one year and are over 21 years of age must be offered participation in any company-sponsored retirement plans. B. Federal vesting rules must be followed, with a maximum vesting period of 100% at five years, or 20% per year from years 3 through 7.C. Employee retirement accounts must be portable. When the employee changes jobs, their retirement funds can be transferred to their new employer or another qualified investment. D. Fiduciaries who manage company retirement programs must act under the prudent man concept that says they should use care and diligence when investing retirement funds. E. All employers must provide some form of employee retirement system for employees who are over the age of 21 and who request retirement accounts.  53. Maria is conducting a job evaluation in her organization by breaking each job down into component skills or abilities. After she completes that task, she will assign points to each skill or ability based on its difficulty. Maria is using the ________ method of job evaluation.a. job rankingb. point-factorc. factor comparisond. job hierarchy 54. Giorgio intentionally inserted an Internet worm into his company’s computer systems because he received low evaluation scores this period. Giorgio is guilty of:A. Gross negligenceB. Just causeC. A mistakeD. Employee resistance to changeE. Serious misconduct 55. Variable pay is:A. compensation based on the reduction of the company’s variable costs.B. compensation that varies based on the number of hours an employee works.C. a payment made to a supplier in multiple installments.D. compensation awarded on the basis of individual results or performance.E. a payment made to employees based on willingness to work overtime. 56. John is always working to improve his cultural competence because his organization competes on a global scale with facilities in many different countries and no real “headquarters” in any country. John’s organization is in the ________ stage of corporate globalization.a. domesticb. internationalc. multinationald. transnational 57. Signs of potential violence include all but:A. verbal threatsB. stalking and harassmentC. alcohol and/or drug abuseD. employee cohesionE. intentional property damage 58. Carl was dealing with a difficult employee problem. Doubting that he can remain objective in the situation, Carl asks Andrei to help him resolve the situation. It appears Carl is using the _________ ethical approach.a. Golden Ruleb. four-way testc. stakeholders’ approachd. discernment and advice 59. Katrina’s organization is hiring for low-skilled jobs in an industry where unemployment is high and it is easy to find replacement workers. Adopting a(n) ________ organizational philosophy on compensation could allow her to hire plenty of workers.a. wage compressionb. below-the-marketc. pay for longevityd. competency-based pay 60. Management suspects it was Ramon who tipped off a safety inspector that one of the managers had hidden chemicals from the lab in the trunk of his car until the inspection was completed. After the inspection, managers began changing Ramon’s schedule and job duties daily. Ramon found that he could not plan for his children to be cared for while he was at work because his work schedule kept changing. Eventually, Ramon quit. It is likely Ramon experienced __________ discharge.a. wrongfulb. constructivec. economicd. express 61. Wynona met an old friend for lunch. During the meal, Wynona mentioned that her company needed some help on their tax reporting. Wynona’s friend said that she was now an accounting consultant and had worked with many local organizations to streamline their tax reports. Wynona gave her a copy of the tax information for the company the next day and showed her friend what the issues were. A week later, Wynona’s friend brought completed copies of the tax forms necessary for Wynona’s company to her office. It would appear that Wynona created a(n) ________ contract when she gave her friend the tax forms.a. expressb. impliedc. quasid. collective 62. ESOPs motivate employees because _______________.a. employees will get something for nothingb. employees will act more like ownersc. employees can reduce their work scheduled. employees can expect higher base pay 63._____ organizations tend to believe that their values and culture are superior to others and they will therefore frequently choose to staff international facilities with home-country managers.a. Ethocentricb. Polycentricc. Regiocentricd. Geocentric 64. What mechanism is used to ensure that a company investigates any disciplinary action taken fully and fairly and makes sure that the disciplinary action fits the level of the offense?A. The coaching modelB. The seven tests for Just CauseC. Employee assistance programsD. The discipline modelE. The code of conduct 65. Macy’s organization provides group health insurance to its employees. According to the ________, the organization must issue a “Summary Plan Description” that describes the plan and how it works in plain language.a. Consolidated Omnibus Budget Reconciliation Act of 1985b. Health Insurance Portability and Accountability Act of 1996c. Employee Retirement Income Security Act of 1974d. Social Security 66. Jacob’s manager asks him to organize a blood drive for the organization. The manager tells Jacob that if he accepts the assignment, he will be awarded Employee of the Month. Jacob has organized blood drives in the past and knows how much work is involved. He does not doubt that his manager can deliver on the promise of the award. However, Jacob has always thought that the award was silly. According to expectancy theory, Jacob is unmotivated to accept the assignment because _________ is lacking.a. valence b. instrumentalityc. expectancyd. significance 67. Executive compensation in the form of a deferred contribution to the executive’s retirement accounts is one of the most common forms of _________ retirement funds.A. governedB. qualifiedC. nonqualifiedD. challenged 68. When a person does something because they like it, it is interesting and personally satisfying, and they want to do it, they are receiving _______________.A. Intrinsic rewardsB. External rewardsC. Altruistic rewardsD. Autonomous rewardsE. Extrinsic rewards 69. Alexander did not make many sales this quarter. He considered adding a few fake entries to his quarterly report. However, he decided not to do so when the boss mentioned that the new computer software is designed to catch any inconsistencies. It appears Alexander is at the _________ of moral development.a. preconventional levelb. conventional levelc. postconventional leveld. neoconventional level 70. OSHA cited a manufacturing company for a __________ violation for exposing workers to unguarded hazardous machinery. An inspection found that the company removed the machine guarding to increase the speed of product output and knowingly permitted workers to operate the machines in this unsafe manner.a. willfulb. seriousc. other than seriousd. de minimis 71. Melissa’s boss told her to change the numbers on a balance sheet to make things look better for an upcoming board meeting. Melissa does not want to do it, but she really needs the job. She decides to go ahead and make the change. It appears Melissa’s justification for her unethical behavior is ________. a. Disregard or distortion of consequencesb. I did it for the good of others or the companyc. I was only following ordersd. I’m not as bad as the others 72. Kyle is exhausted from working overtime to get his projects done. His manager asked another employee to help Kyle with his work so that Kyle can work regular hours with no overtime. According to learning theory, this is __________.a. positive reinforcementb. negative reinforcementc. punishmentd. avoidance reinforcement. 73. Type A personalities experience ________________________.A. the same amount of stress as Type B personalitiesB. less stress than Type B personalitiesC. more stress than Type B personalitiesD. immeasurable stress 74. Acme Global is closing one of its plants immediately and laying off all 200 workers. As part of the closure, Acme Global will give each employee at the plant 60 days of pay and benefits. This will help Acme Global to be in compliance with the _________.a. Railway Labor Act of 1926b. National Labor Relations Act of 1935c. Worker Adjustment and Retraining Notification Act of 1988d. Labor Management Reporting Disclosure Act of 1959 75. Alfred has requested unpaid leave to care for his wife. She was injured while serving in the Army in Afghanistan. Alfred may be able to take this leave and return to his original job (or an equivalent one) under ________.a. Social Securityb. the Affordable Care Actc. the Family Medical Leave Actd. Medicare 76. Under the idea of corporate social responsibility, companies must do the following:A. provide employees with safe working conditionsB. provide consumers with safe products and servicesC. compete fairly with competitorsD. all of the choices are correct 77. What percentage of international assignments fail mainly due to the inability to adapt to cultural differences?A. 75%B. 50%C. 33%D. 10% 78. Shannon is one of the best appliance repair people in her department. She can quickly disassemble appliances to diagnose and fix problems. However, her manager has noted that when other repair people ask her for help, she hesitates and seems unsure of herself. According to situational management, her manager should use a(n)________ management style to manage Maria’s performance problem.a. autocraticb. consultativec. participatived. empowerment 79. A mediator is a neutral third party who helps resolve a conflict ______________ to impose a solution to the conflictA. and has jurisdictionB. but has no authorityC. and will use consensusD. and has some authority 80. Which of the following types of PTO is mandatory for U.S. employers?A. Paid federal holidaysB. Paid annual leaveC. Paid sick leave D. Paid personal leaveE. There are no mandatory PTO requirements for companies in the U.S. 81. Acme Global matches its employees’ contributions to charities. In other words, if an employee gives $100 to a non-profit agency, Acme Global gives $100 as well. It appears Acme Global is reaching the ________ level of corporate social responsibility.a. legalb. ethical c. benevolentd. social 82. Samantha’s organization keeps a large amount of raw materials in stock to guard against market fluctuations. It appears the ________ dimension of cultural diversity is high at Samantha’s organization.a. assertivenessb. power distancec. in-group collectivismd. uncertainty avoidance 83. One of the most common problems in incentive systems design is:A. creating a set of goals instead of focusing on just one goal at a time.B. picking an expedient goal that is easy to measure, but doesn’t aim at the company’s strategic goals.C. designing incentive goals that are capable of being affected by the targeted employee or group of employees.D. completely separating the incentives from base pay.E. making the incentive goals difficult to achieve. 84. _______ contain information about the physical and chemical properties of hazardous products.A. SDSB. IEDIC. PCPID. FMCSE. AFUS  85. The first major provision of the FLSA concerns ____________________.A. underage employeesB. the unskilled workforceC. new hiresD. the federal minimum wage 86. _____ offer health, education, training, and fitness, weight and lifestyle management, and health risk assessment services to employees.A. Employee assistance programsB. Triple option programsC. Employee caretaker programsD. Health hybrid programsE. Employee wellness programs 87. Angeline manages a group of employees who she knows have the ability to perform, but who also feel like their performance doesn’t matter much to the success of the company, and are therefore not concerned with doing a great job. Angeline may want to approach this group using a ______management style to improve their collective performance.A. ParticipativeB. Results drivenC. ConsultativeD. EmpoweringE. Autocratic 88. What percent of employees in a bargaining unit must sign authorization cards for the NLRB to hold a union representation election?A. 10%B. 25%C. 30%D. 50%E. 51% 89. At the beginning of the quarter, Marcus sat down with his manager and set three goals for the next three months. The achievement of each goal will depend on Marcus. No one else in his work group can affect the work toward the goal. Which advantage of individual incentives does this illustrate?a. easy to evaluate employee’s affect on teamb. ability to match rewards to employee desiresc. promotes the link between performance and resultsd. may motivate less productive employees to work harder 90. __________ is the right to give orders, enforce obedience, make decisions, and commit resources, toward completing organizational goals.A. AuthorityB. ResponsibilityC. AccountabilityD. Ethics 91. _____________ is part of expectancy theory.A. Goal-settingB. Decision-makingC. NegotiationD. Grievance 92. Since the Acme Global Corporation closed six of its plants last year, employees at the other plants have been feeling a great deal of stress. This type of stress falls into the _______ category of stress causes.a. personality typeb. organizational culture and changec. interpersonal relationsd. type of work 93. Executives at Acme Global are concerned that airline workers will go on strike and prevent shipments of products from reaching customers. However, the National Mediation Board is keeping airline management and labor in mediation to avoid a strike. The executives at Acme Global are relieved that the ________ limits the potential for strikes of airline workers.a. Railway Labor Act of 1926b. National Labor Relations Act of 1935 (Wagner Act)c. Labor Management Relations Act of 1947 (Taft-Hartley Act)d. Labor Management Reporting Disclosure Act of 1959 94. Employee rights under OSHA include all of the following except:A. refusing to be interviewed by an inspector.B. having a company representative present during any interview.C. have working conditions free from unnecessary hazards.D. file a complaint about hazardous working conditions.E. reporting hazardous conditions to their supervisor. 95. Harold is paid based on a percentage of the value of the products and services he sells. He is being paid by:A. bonusB. base payC. value payD. commissionE. merit  96. Macy is English and works for a U.S.-based company in England. It appears the company has made a(n) ________ staffing choice.a. ethnocentricb. polycentricc. geocentricd. domestic 97. Which of the following is NOT a progressive discipline action?A. oral warningB. TerminationC. Informal coaching talkD. Disciplinary suspensionE. Informal written warning 98. When Acme Global asked Tamera to relocate to the company’s newest foreign plant, it paid her a salary equal to what she was making in the United States and gave her an allowance for extra expenses. It appears Acme Global is using the _________ approach to expatriate compensation.a. balance sheetb. split-payc. negotiationd. localization 99. A routine component of executive compensation, common “perks” include all of the following except:A. stock options.B. use of company cars and aircraft.C. home security systems.D. club memberships.E. tax planning assistance. 100. Erin knows exactly what benefits she will receive when she retires. She has worked for the organization for 20 years and will receive 65 percent of the average of her two highest years of pay. Erin’s retirement plan is a ________ plan.a. defined benefitb. defined contributionc. vestingd. experience

The post Please answer the questionsAnswers 1Bids 2Other questions 10 appeared first on homeworkhandlers.com.

Policy and Program Evaluation

Summarize 1 page single spaced

Davidson E.J., (2005). Evaluation Methodology Basics: The Nuts and Bolts of Sound Evaluation. Thousand Oaks (CA): Sage. Chapter 1 (pdf provided

MHH Ch1: Key Concepts and Issues in Program Evaluation

W.K. Kellogg Foundation Evaluation Handbook (Updated 2010). Chapters 3 – 4. Available for download at: http://www.wkkf.org/resource-directory/resource/2010/w-k-kellogg-foundation-evaluation-handbook

GAO Ch1

Summarize 1 page single spaced

MHH Chs 12

The American Evaluation Associations Guiding Principles for Evaluation, Available for download at:  https://www.eval.org/p/cm/ld/fid=51

Fink, A. (2004). Evaluation Fundamentals: Insights into the Outcomes, Effectiveness, and Quality of Health Programs, Chapter 1: Ethical Evaluations (pgs. 20-27), Chapter 2: Program Standards (pgs. 48-65)

Belt and Road Initiative overview

https://www.worldbank.org/en/topic/regional-integration/brief/belt-and-road-initiative (also check out research papers that fits your research interests)

( TWO DIFFERENT PAGES AND SUMMARIES )