Question: Write a program to sort a very LARGE number of employee records (hence, not all records can be stored in memory) from a text file

 Write a program to sort a very LARGE number of employee

Write a program to sort a very LARGE number of employee records (hence, not all records can be stored in memory) from a text file and write the sorted records into an output text file. The input/output text file contains one employee record on each line with the field values separated by commas. An employee record is defined as followed: class Employee {String lastName; String firstname; int employeeNumber; float salary; int zipcode;} Your program must: - prompt users for the input filename - prompt users for the specific field to allow users to sort the employee records by - inform users of the output filename storing the sorted output records - use the external sorting algorithm discussed in class Requirements: - No Java Collection can be used - No Linked List structure/ADT can be used - No recursive function can be used - Arrays used cannot exceed size 10 Turn in: 1) Source code printouts - don't forget to comment your code 2) A disk (CD/DVD or flash drive) with ONLY the pertinent *.java and *.class files 3) Put everything into a folder 4) The instruction to run your program on DOS' command line in a README.txt file Write a program to sort a very LARGE number of employee records (hence, not all records can be stored in memory) from a text file and write the sorted records into an output text file. The input/output text file contains one employee record on each line with the field values separated by commas. An employee record is defined as followed: class Employee {String lastName; String firstname; int employeeNumber; float salary; int zipcode;} Your program must: - prompt users for the input filename - prompt users for the specific field to allow users to sort the employee records by - inform users of the output filename storing the sorted output records - use the external sorting algorithm discussed in class Requirements: - No Java Collection can be used - No Linked List structure/ADT can be used - No recursive function can be used - Arrays used cannot exceed size 10 Turn in: 1) Source code printouts - don't forget to comment your code 2) A disk (CD/DVD or flash drive) with ONLY the pertinent *.java and *.class files 3) Put everything into a folder 4) The instruction to run your program on DOS' command line in a README.txt file

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!