Implementation and explain the measured behavior

Assignment Help Computer Engineering
Reference no: EM131148672

Application: Implementing and Analyzing a Threaded Sort Algorithm

Once a software application has been implemented and released, that is by no means the end of development. There are all kinds of causes requiring software to be changed, from users reporting bugs, through changes in third-party software, to updates for improved performance. A critical skill of software developers is the ability to understand and update a program's algorithm.

For this Assignment, you will update an existing Java program using the NetBeans IDE. You will use the NetBeans Integrated Development Environment to make changes to an existing NetBeans Java Project. This existing program correctly sorts the data without using threads and contains a method(threadedSort) that you will update to sort the data using threads.

To prepare:

Read this week's Resources.

Visit the NetBeans download page from this week's Resources. Download the Java SE bundle. (Note:Select the most recent release version, not a Beta version.)

Run the downloaded package to install it. Choose the default options for installation.

Unzip and open the Unthreaded Program:

Download and unzip the fileWeek2_Project.zip. This will create a folder containing a NetBeans Project with the non-threaded java program. Note the location of this folder.

Launch the NetBeans IDE. Click theOpen Project...button(Or click theFiledrop-down menu and selectOpen Project...). Navigate to the project folder, select it, and clickOpen Project.

The Java Project contains three class files:MergeSort.java,Sort.java, and SortTest.java.Double-click each file in theProjectsection (at the left of the NetBeans IDE window) to display the file's contents. Each of the Java class files contains comments explaining the purpose of the class and the purpose of the class' methods.

By Day 7, modify the Java program by adding threads, and analyze the performance of both the threaded and non-threaded versions.
Modify the Program:

Improve the performance of the Java program by adding threads to theSort.javafile. Implement thethreadedSort()method within theSortclass. Reuse any of the existing methods by calling them as necessary from yourthreadedSortmethod. You may add additional methods to theSortclass, if necessary.

Analyze the Program:

When running the providedSortTestprogram, the output presents data to support analyzing the performance of the threaded and non-threaded sort methods. Analyze your threaded implementation by comparing its performance to the original non-threaded implementation and explain the measured behavior. Document your analysis as a short paper (1-3 pages), using APA format. Be sure to discuss the relative performance improvement you expect for your threaded implementation and how the expected performance compares to the measured performance.

Reference no: EM131148672

Questions Cloud

Presidential disaster declaration : Describe the tasks that a local government must perform during disaster recovery. In addition, identify the types of federal assistance that are available to a community following a Presidential Disaster Declaration.
What challenges do global markets pose for brand management : Is Global Branding important to consumers? Why (or why not) and how? What characteristics do consumers associate global brands with when making purchase decisions? Give examples of how global branding affected a purchase decision you have made. What ..
Main types of government and private sector contracts : Discuss the three main types of government and private sector contracts: time and materials, fixed price, and cost reimbursable, when they are applicable, and what the advantages/disadvantages are for each?
Relying on conventional conception of another group : The steps in stakeholder planning include all but which of the following? Decision-making bias under which people are willing to commit additional resources to a failing course of action is called ________. Relying on a conventional conception of ano..
Implementation and explain the measured behavior : Analyze your threaded implementation by comparing its performance to the original non-threaded implementation and explain the measured behavior.
Describe in detail this existing or proposed hybrid approach : Using any two or more of the planning approaches you have just described and discussed, explain how these might be combined to become useful as a hybrid approach. If you choose a hybrid approach that is not a result of your own original thought, p..
What is the bond premium or discount : Guehler Electric sold $ 2,928,000 , 11 %, 10-year bonds on January 1, 2014. - Guehler Electric uses the straight-line method to amortize bond premium or discount.
Write a java class called student : Write a Java class called Student which can be used to represent the details of a Student together with some associated operations. The Student class will have the following information: Title of the student (eg, Mr, Miss, Ms, Mrs etc.)
Provide a hypothetical example of a modern-day burglary : How has the definition of burglary changed from the old common law definition? Analyze the crime of burglary, including the actus reus and mens rea of burglary. Also provide a hypothetical example of a modern-day burglary.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd