Reference no: EM13166989
In java, a data record is usually represented by a class object. Create an application by sorting the objects on the key value, id, last name, or item number, etc.
Include these classes:
- An user defined data type (you can use the classes you created from previous homework)
-Use either an Array or a Linked List as an underlying data structure. Of course you need to create class Array or class LinedList in order to implement the methods like mergeSort(), merge(), etc
-Driver program. In your driver program, it needs to include the following
-Create an Array object or a linked list object
-Insert objects by calling insert() method
-Display unsorted objects
-Call mergeSort() method. NOTE: mergeSort() method DOES NOT have parameters
-Display sorted objects
can be linked list or array or both
Write a program that stores the number
: Write a program that stores the following numbers in the array named miles : 15, 22, 16, 18, 27, 23, 20. Use a pointer to copy the data stored in miles to another array named dist and then display the values in the dist array.
|
Discuss the differences concerning how a program would acces
: Discuss the differences concerning how a program would access the members of objects that have been declared as an array of objects
|
Document the protocols for passing
: You must document the protocols for passing parameters and returning the result to the subroutine and also follow the convertion of saving and restoring registers in the subroutine.
|
Is it ethical for a potential employer to use the internet
: Digital Footprint , is it ethical for a potential employer to use the internet this way? Also is it legal?
|
Use either an array or a linked list
: Use either an Array or a Linked List as an underlying data structure. Of course you need to create class Array or class LinedList in order to implement the methods like mergeSort(), merge(), etc
|
Write a function that finds area and volume of a cube
: write a function that finds area and volume of a cube when length is input and then write a program to test it. here is what i have so far.
|
Creates a bus class
: write a program that creates a bus class. create a constructor that initializes the number of passengers and number of seats. declare four objects. use the default copy constructor to initialize two of the objects.
|
A pattern detector has an input
: A pattern detector has an input a 4 x 4 matrix whose elements take values a, b, c, or d. The output is 1 if the matrix contains one b surrounded by eight a's and 0 otherwise.
|
T prints out, on a clear screen, a table of temperatures
: Create a MATLAB program (utilizing a temp-conversion function) that prints out, on a clear screen, a table of temperatures.
|