Let us worry about your assignment instead!

We Helped With This JAVA Programming Assignment: Have A Similar One?

SOLVED
CategoryProgramming
SubjectJAVA
DifficultyUndergraduate
StatusSolved
More InfoJava Programming Assignment Help
134111

Short Assignment Requirements

Program with menu format using switch to call a sorting algorithm, then call an array of either random,sorted or reverse order of size 1000, 10000 or 100000 and sort it with chosen algorithm. Amount of iterations and time taken for sort is also required.

Assignment Description

 

CA Brief 

You are tasked with writing a Java program that will carry out empirical analysis. The program will compare the performance of 4 sorting algorithms. The algorithms should be tested against sorted, unsorted and inversely sorted data, they should also be tested against data sets of 1000, 10,000 and 100,000 elements. A report should be produced (maximum of 1500 words) which will incorporate a series of graphical illustrations (eg: bar charts etc.) that will showcase discrepancies between algorithms when sorting similar data. Please ensure that the environment of the machine is also clearly articulated. All diagrams must be explained and conclusions drawn.

Create a GUI or menu based application that will:

a)      Allow the user to select the number of elements the array will hold (1000, 10,000 and 100,000) the program will then generate an array of that length with random numbers between 0 and the size of the array.

b)      Allow the user to select which Algorithm (Standard Bubble Sort, Enhanced Bubble Sort, Selection Sort or Insertion Sort) to use to sort that array, time it, along with the number of comparisons and swap operations the algorithm takes, store these details to compare against executions of other algorithms in your report.

c)       Allow the user to select a random, sorted or inversely sorted list to run against any of the algorithms again, timing this and storing the time to compare against other algorithms doing the same.

Note:

a)      See Quadratic Algorithms lecture for notes on creating a timer using the System.currentTimeMillis() method – use the nanosecond version.

 

b)      Use the random number generator in java to populate your array, see below:

a. myArray[i] = (int)(Math.random() * 10)

 

The CA is not about creating a GUI, no marks will be awarded for this so do not waste too much time on it a menu based system will suffice if you cannot create a GUI.

You should use appropriate classes for the application, structuring you code accordingly, marks will be awarded for this aspect of the CA.

You need to clearly articulate your understanding of each of the sorting algorithms, describing the ‘flaws’ inherent in each when run against certain data oriented in a certain format (sorted, unsorted, inversely sorted).

You should be able to back up your findings with ‘stats’ to show the number of swaps and comparisons (read and write operations) in each of the algorithm executions.

 

 

                      

Frequently Asked Questions

Is it free to get my assignment evaluated?

Yes. No hidden fees. You pay for the solution only, and all the explanations about how to run it are included in the price. It takes up to 24 hours to get a quote from an expert. In some cases, we can help you faster if an expert is available, but you should always order in advance to avoid the risks. You can place a new order here.

How much does it cost?

The cost depends on many factors: how far away the deadline is, how hard/big the task is, if it is code only or a report, etc. We try to give rough estimates here, but it is just for orientation (in USD):

Regular homework$20 - $150
Advanced homework$100 - $300
Group project or a report$200 - $500
Mid-term or final project$200 - $800
Live exam help$100 - $300
Full thesis$1000 - $3000

How do I pay?

Credit card or PayPal. You don't need to create/have a Payal account in order to pay by a credit card. Paypal offers you "buyer's protection" in case of any issues.

Why do I need to pay in advance?

We have no way to request money after we send you the solution. PayPal works as a middleman, which protects you in case of any disputes, so you should feel safe paying using PayPal.

Do you do essays?

No, unless it is a data analysis essay or report. This is because essays are very personal and it is easy to see when they are written by another person. This is not the case with math and programming.

Why there are no discounts?

It is because we don't want to lie - in such services no discount can be set in advance because we set the price knowing that there is a discount. For example, if we wanted to ask for $100, we could tell that the price is $200 and because you are special, we can do a 50% discount. It is the way all scam websites operate. We set honest prices instead, so there is no need for fake discounts.

Do you do live tutoring?

No, it is simply not how we operate. How often do you meet a great programmer who is also a great speaker? Rarely. It is why we encourage our experts to write down explanations instead of having a live call. It is often enough to get you started - analyzing and running the solutions is a big part of learning.

What happens if I am not satisfied with the solution?

Another expert will review the task, and if your claim is reasonable - we refund the payment and often block the freelancer from our platform. Because we are so harsh with our experts - the ones working with us are very trustworthy to deliver high-quality assignment solutions on time.

Customer Feedback

"Thanks for explanations after the assignment was already completed... Emily is such a nice tutor! "

Order #13073

Find Us On

soc fb soc insta


Paypal supported