Analyze your threaded implementation

Assignment Help JAVA Programming
Reference no: EM131359207

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. Download and Install NetBeans:

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 file Week2_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 the Open Project... button NetBeans Open Project... icon (Or click the File drop-down menu and select Open Project...). Navigate to the project folder, select it, and click Open Project. The Java Project contains three class files: MergeSort.java, Sort.java, and SortTest.java. Double-click each file in the Project section (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 the Sort.java file. Implement the threadedSort() method within the Sort class. Reuse any of the existing methods by calling them as necessary from your threadedSort method. You may add additional methods to the Sort class, if necessary. Analyze the Program: When running the provided SortTest program, 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.

Verified Expert

In this assignment the existing merge sort algorithm is provided together with the files that contain the data to be sorted. The assignment requires to implement the threaded version of the merge sort algorithm. In the threaded version multiple threads are created to sort each file using the Merge sort. The running time of threaded and un-threaded version of merge sort is calculated and its performance i determined. The code is well commented. The documentation is attached with the solution that explains the basics of multi-threading in java and steps to be done.

Reference no: EM131359207

Questions Cloud

Currently bonds with similar credit rating and maturity : Currently bonds with a similar credit rating and maturity as the? firm's outstanding debt are selling to yield 8.34 percent while the borrowing? firm's corporate tax rate is 34 percent. A preferred stock paying a dividend of 7.1 percent on a ?$110 pa..
What would be the value of the bond : What is the value of a ten-year, $1,000 par value bond with a 10 percent annual coupon if its required rate of return is 10 percent?
Analysis of the uncontrollable environment : He would like to have an analysis of the uncontrollable environment, a detailed overview of the ice cream stores industry, competition situation (including competition types and competition levels), and consumer trends in Canberra.
Explore the elements of emotional intelligence : Fully explain emotional intelligence, and give two (2) examples of the concept. Next, examine the concept of "emotional quotient" compared to traditional "intelligence quotient."Suggest two to three (2-3) reasons why leaders' need emotional intelli..
Analyze your threaded implementation : 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.
Evaluate the training you can provide to your staff : On numerous occasions, personnel working late have observed the cleaning staff reading discarded printouts. Evaluate the training you can provide to your staff?
Ebit indifference level associated with two financing plan : Abe Forrester and three of his friends from college have interested a group of venture capitalists in backing their business idea. The proposed operation would consist of a series of retail outlets to distribute and service a full line of vacuum clea..
Discuss the general approach to documenting the contracts : Provide guidelines for how you would evaluate these elements once they are submitted by the supplier. Discuss the general approach to documenting and managing the contracts.
What are the pros and cons of debt versus equity financing : What are the pros and cons of debt versus equity financing?- How does the presence or absence of a security interest typically affect the debtor's cost of capital?

Reviews

inf1359207

1/27/2017 4:35:11 AM

Thank you for your proceeded with help on this task. If it's not too much trouble thank the expert abundantly to take this on so a minute ago. A debt of gratitude is in order for running an awesome written work service.

len1359207

1/19/2017 12:06:38 AM

solution should be in running output screenshots and sourcecode file. Analyze your threaded implementation by comparing its performance to the original non-threaded implementation and explain the measured behavior. Be sure to discuss the relative performance improvement you expect for your threaded implementation and how the expected performance compares to the measured performance.

Write a Review

 

JAVA Programming Questions & Answers

  Can you provide the output of this program

Can you provide the output of this program - What is the output of following JavaScript code?

  How can an applet get information about the url

How can an applet get information about the URL it was called from? What is an applet? What API changes are there for applets with JDK 1.4?

  Write a java program to implement the finite field

Write a program called "GF2.java" to implement the finite field GF(p n ) where p is a prime number and n is a positive integer.  You also need to write four methods to realize "+", "-", "´", and "/".

  Calculates the total annual compensation of a salesperson

Write a Java application using NetBeans Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Consider the following factors: A salesperson will earn a fixed salary of $85,000.00

  The fancy new french restaurant la food is very popular for

the fancy new french restaurant la food is very popular for its authentic cuisine and high prices. this restaurant does

  Implement a shopping cart class with user interface

project will be to implement a shopping cart class with user interface (UI) that contains main() in Net Beans. The UI class will be used to perform user input/output and to invoke the appropriate methods of shopping cart class. When your program star..

  Develop the myclone class

You will also create another class of your choice. Your programmer-defined class should have at a minimum two instance variables and one method - You will create a Virtual World application as your final project. This Virtual World will have sever..

  Determine the length of a string

Determine the length of a string. The first version should use array subscripting, and the second version should use pointer arithmetic

  Write a program called gf2java to implement the finite

write a program called gf2.java to implement the finite field gfpn where p is a prime number and n is a positive

  Java programming using netbeand

Java Programming using Netbeand- In this assignment, you will be asked to demonstrate what you have learned in the Discussion Board in terms of vector, wrapper classes, conversion, and collection data structures by writing and implementing Java co..

  Determine the best way to gather business rules

You have been hired by Happy Health to determine the best way to gather business rules for a new phone system.

  Better programming language

1. Describe three features that make Java a better programming language than C to write secure programs.

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