Question: Please use JAVA. I will upvote if you give a complete answer. Thank you! 2. Use JAVA. Create a database with the following details for

Please use JAVA. I will upvote if you give a complete answer. Thank you!

Please use JAVA. I will upvote if you give a complete answer.

2. Use JAVA. Create a database with the following details for at least 20 users and store it as a text file: UserID first name last name email id Write a program to read the data from the text file. Choose an appropriate data type and data structure (lists, lists of list, dictionary) for storing the information in your program. Write a function which takes a parameter and sorts the entire list of students and displays all the details of all students. Your function should sort the list using UserID / first name / last name. Implement the sorting using selection sort, insertion sort, bubble sort and merge sort, and print out how much cpu time it took to sort the data. You can import a library to calculate the time. Show an example for searching a value using linear search. Table-1: Tabulate your recorded time for the linear search and all the four sorting algorithms i.e., selection sort, insertion sort, bubble sort and merge sort

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!