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

  Make the get/set methods for each of your variables

select a product that lends itself to an inventory (for example, products at your workplace, office supplies, music CDs, DVD movies, or software).

  Define how to use css

CSS is a very powerful tool for changing the way a webpage is displayed. It is too flexible and allows the designer to deliver HTML code to many devices without changing the markup.

  Research the firm and its industry environment

Select a realfirm as the focus of your report. This can be a pure-play internet company, or a traditional firm that is engaged in eBusiness activities.

  Questionthere was a sport in air craft on independence day

questionthere was a sport in air craft on independence day. on the air two aircrafts are in the air parallel to

  Prepare a program which manages a registry of compact discs

make a program that manages a registry of compact discs cds. the register may e.g. based on a doubly linked list

  Make ajax programming based solutions to write a code

In the AJAX scripts you create, refer to the DSN datasource as flamingo. although its not in your own folder or directory, it has been set up as a SYSTEM DSN, so your AJAX script will have access to it.

  Give a short overview of any five programs

Visit Web sites for companies that sell computer peripherals. Compile a list that contains as many types of input and output devices as you can locate on these Web sites. After compiling this list, be sure to document the Web sites you viewed to d..

  1 create a short email message on the importance of a

1. create a short email message on the importance of a college education.2. add a signature to the email.3. email the

  Define five properties of controls

Are Integers and Strings considered objects in VB? Elaborate.

  Describing the microsoft access

Describe what is going on within the Microsoft Access. What role do you think SQL is playing?

  What are the kinds of information systems

What are the kinds of information systems

  Icmp packets

Involve at least five ICMP packets, and also explain why they would be a problem on the network.

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