Order for this Paper or Similar Assignment Writing Help

Fill a form in 3 easy steps - less than 5 mins.

Posted: March 5th, 2022

COSC 2B

ASSIGNMENT 2B

Assignment 2B tests your knowledge of sorting algorithms (Chapter 23). For the assignment, you are going to design a class (the program/project/driver class file should be called YourNameAssignment2B; replace YourName with your actual name) without any fields, just the exact methods (with exact1 names, parameters, return values, and functionality):

Method Name Description YourNameGetSize A method without parameters that reads a valid integral number N between 10 and 20 from

the user (if the number is not valid the methods should ask for a new integral number until the number is correct) and returns it

YourNameGetArray A method with an integral parameter N that reads N integral numbers from the user, stores them into an array A, and returns the array A.

YourNameCopyArray A method with an integral array A and an integral number N as parameters that create an array B with the same N integral numbers as A and returns it.

YourNamePrintArray A method with an integral array A and an integral number N as parameters that prints the array A of N integers to the console.

YourNameInsertionSort A method with an integral array A and an integral number N as parameters that sorts the array A of N integers using insertion sort algorithm.

YourNameBubbleSort A method with an integral array A and an integral number N as parameters that sorts the array A of N integers bubble sort algorithm.

YourNameMergeSort A method with an integral array A and an integral number N as parameters that sorts the array A of N integers using merge sort algorithm.

YourNameQuickSort A method with an integral array A and an integral number N as parameters that sorts the array A of N integers using quick sort algorithm.

YourNameHeapSort A method with an integral array A and an integral number N as parameters that sorts the array A of N integers heap sort algorithm.

main ▪ Use the YourNameGetSize method to get the size of the array and store it in variable

YourNameArraySize ▪ Use the YourNameGetArray method with parameter YourNameArraySize to read an

array of YourNameArraySize integers from the user and store the returned array in variable YourNameArray

▪ Use the YourNameCopyArray method 5 times to create copies of the YourNameArray and store the returned arrays in the following 5 variables YourNameArrayI, YourNameArrayB, YourNameArrayM, YourNameArrayQ, and YourNameArrayH.

▪ Use the YourNameInsertionSort method to sort the array YourNameArrayI ▪ Use the YourNameBubbleSort method to sort the array YourNameArrayB ▪ Use the YourNameMergeSort method to sort the array YourNameArrayM ▪ Use the YourNameQuickSort method to sort the array YourNameArrayQ ▪ Use the YourNameHeapSort method to sort the array YourNameArrayH ▪ Use the YourNamePrintArray method 5 times to print the YourNameArrayI,

YourNameArrayB, YourNameArrayM, YourNameArrayQ, and YourNameArrayH array. Before each call, output messages to inform the user which array/sorting method you are printing.

Create a Microsoft Word screenshots document called YourNameAssignment2B-Screenshot.docx (replace YourName with your actual name) that contains screenshots of the entire JAVA source code in the editor window (for all the JAVA classes) and the entire output window (from the driver class). If the entire class JAVA source code or the output does not fit in one screenshot, create multiple screenshots and add them to the document.

Submit YourNameAssignment2B.java Java source code and YourNameAssignment2B-Screenshots.docx screenshots document on eCampus under Assignment 2B. Do not archive the files (no ZIP, no RAR, etc.) or submit other file formats.

1 Use the exact names (spelling, caps), parameters, returned values, functionality, and do not add or remove fields or methods. Yes, you may find examples in the textbook with different names and cases and with other methods, but you will need to adapt them to have this exact names and cases, to earn credit for the assignment. You can add additional helper/utility method to use in your sorting methods.

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Why choose us

You Want Quality and That’s What We Deliver

Top Skilled Writers

Our writing team is assembled through a rigorous selection process, where we handpick accomplished writers with specialized expertise in distinct subject areas and a proven track record in academic writing. Each writer brings a unique blend of knowledge and skills to the table, ensuring that our content is not only informative but also engaging and accessible to a general college student audience

Discounted Prices

Competitive pricing is a cornerstone of our service, where we balance affordability with exceptional quality. In offering the best writers at rates that rival other writing services, we ensure that students can access top-notch content without breaking the bank unnecessarily. Our fair and transparent pricing structure is designed to provide value for money, making us a go-to choice for students seeking high-quality writing services at an affordable price.

100% Plagiarism-Free

Academic integrity is paramount to our writing service, which is why we produce original research and writing content for every paper. Each piece of work is carefully written from scratch, ensuring that every sentence, paragraph, and page is authentic and free from plagiarism. Our rigorous quality control process involves thorough scanning of every final draft, guaranteeing that the content meets the highest standards of originality and academic integrity. With keen attention to citation and referencing, we ensure that every source is properly credited, giving you complete peace of mind. We also have the best plagiarism checkers like safeassign and turnitin thus providing similarity score for each paper.

How it works

When you decide to place an order with Dissertation Help, here is what happens:

Complete the Order Form

You will complete our order form, filling in all of the fields and giving us as much detail as possible.

Assignment of Writer

We analyze your order and match it with a writer who has the unique qualifications to complete it, and he begins from scratch.

Order in Production and Delivered

You and your writer communicate directly during the process, and, once you receive the final draft, you either approve it or ask for revisions.

Giving us Feedback (and other options)

We want to know how your experience went. You can read other clients’ testimonials too. And among many options, you can choose a favorite writer.