Question: C++ in Xcode Required Classes and Methods NOT functions. Programmers must apply coding conventions for code block indentation, comments describing methods/classes, white space between code
C++ in Xcode
Required Classes and Methods NOT functions.
Programmers must apply coding conventions for code block indentation, comments describing methods/classes, white space between code blocks, and variable/method/class naming conventions.
Implement Inheritance, Getters, Setters, and other OOP tools as needed.
Create 2 int arrays. Array1[1000] and Array2[100000]
Create methods to fill the array with random integers
Create methods that will perform a linear search on the arrays for a key value entered by the user.
Create and implement a Bubble Sort Algorithm method that can be called to sort the given arrays.
Create and implement a Insertion Sort Algorithm method that can be called to sort the given arrays.
Create and implement a Recursive Quicksort Algorithm method that can be called to sort the given arrays.
Create a method to perform a binary search on a key value entered by the user.
Execute each method to demonstrate the methods and source code work.
Execute the Linear search methods on both arrays.
Execute the bubble sort, then binary search. (Make sure to randomize the array before the next step.)
Execute the Insertion sort, then binary search. (Make sure to randomize the array before the next step.)
Execute the Recursive Quicksort, then binary search. (Make sure to randomize the array before the next step.)
Attach source code and output.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
