QUESTION
This assignment will test your understanding on Sorting and Searching algorithms.
Write a complete JAVA program to do the following tasks:
- Sort a list of items using SELECTION SORT AND MERGE SORT algorithms.
- The list of items is stored in an input file name INPUT.TXT Your program should be able to read the items from the input file and store it in an array for processing.
- The output will be displayed on the screen. The order of the items will be displayed for each iteration of the loop, so that we can observe the process of sorting is being done.
- Then prompt the user to search for an item from the list.
- Search the item using a) Sequential search b) Binary Search algorithms.
- Display number of comparisons taken for each algorithm for a i) Successful search
ii) Unsuccessful Search
Get 30% Discount on This Assignment Answer Today!
Get Help By Expert
have you assign CSC508: Data Structure assignment and you want to hire a online assignment helper to complete your CSC508 assignment. Are you willing to pay someone to do my assignment? Then consult the experts of MalaysiaAssignmentHelp.com. Our Proficient experts are highly qualified and knowledgeable to write offer authentic programming assignment help at a cheap price.