Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3 Presenting Your Data Your objective is to present your data in such a way that a non-programmer can tell which algorithms perform better. We

image text in transcribedimage text in transcribed

3 Presenting Your Data Your objective is to present your data in such a way that a non-programmer can tell which algorithms perform better. We will give you a fair amount of freedom here, but my expectation is that if you are collecting a lot of data on big sample sizes, you should output your results to a file so you don't have to run your program for hours in front of us. That will be something you need to look up, but you can find it in Appendix A. Some options include: A well formatted table. Graphing your data (using a program such as Excel) 4 Grading 20 points Insertion Sort 30 points Quicksort 20 points Third sorting algorithm of student's choice 15 points Data is collected 15 points Data is presented in a meaningful way. 7 points Extra Implement Timsort as the third algorithm. 1 Premise Implement Insertion Sort, Quicksort, and one other sorting algorithm from the list below Shellsort Mergesort Heapsort Timsort(+7 points EC) Modify the sorting algorithms to keep track of the number of comparisons performed, the number of exchanges performed, and the total runtime of the al gorithm. Click here to see how you can measure the elapsed time in nanoseconds using System.nanoTimeO. 2 Testing and Collecting Data Test your algorithms on differently sized lists or arrays of integers. A good test will have many data points of varying magnitudes. For example, a decent test might test lists that have sizes that are powers of 2s (64, 128, 256, 512, 1024 ...), but don't be afraid to add more data points. Output your data to a file. It may be useful for you to output your data nto a .csv file if you plan on using Excel in the next portion

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago