Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSCD 211 Lab 1 Provided is CSCD211Lab1.java that is an unchangeable Java file. Your task is to complete the program based on the provided main.

image text in transcribed

CSCD 211 Lab 1 Provided is CSCD211Lab1.java that is an unchangeable Java file. Your task is to complete the program based on the provided main. Some specifications are below; however most of the information is in the provided API. Program flow is prompt the user for the name of the input file. open that file and count the number of records in the file create and fill an array of type person for each record that is in the file. The array is then sorted by calling the compare To of Person A menu is displayed - specifications are below Specific methods based on the menu choice File Specifications Information on each individual will be in the following format (all lines in the file will end with a carriage return): First name Last name Favorite color Example bubba von bigbelly green sally sue sullivan purple faith hillstrom purple NOTES You must range check all values You must ensure the parameterized type of Person is passed to compare/compareTo You need to capitalize the name when you print out the name All parameters will be final and all preconditions will be checked FileUtils, SortUtils and SearchUtils classes are provided and must be used. You must create an input file that allows you to sufficiently test the specifications of this assignment. I have provided the Javadocs from the solution. Please see index.html inside the doc folder. CSCD 211 Lab 1 Provided is CSCD211Lab1.java that is an unchangeable Java file. Your task is to complete the program based on the provided main. Some specifications are below; however most of the information is in the provided API. Program flow is prompt the user for the name of the input file. open that file and count the number of records in the file create and fill an array of type person for each record that is in the file. The array is then sorted by calling the compare To of Person A menu is displayed - specifications are below Specific methods based on the menu choice File Specifications Information on each individual will be in the following format (all lines in the file will end with a carriage return): First name Last name Favorite color Example bubba von bigbelly green sally sue sullivan purple faith hillstrom purple NOTES You must range check all values You must ensure the parameterized type of Person is passed to compare/compareTo You need to capitalize the name when you print out the name All parameters will be final and all preconditions will be checked FileUtils, SortUtils and SearchUtils classes are provided and must be used. You must create an input file that allows you to sufficiently test the specifications of this assignment. I have provided the Javadocs from the solution. Please see index.html inside the doc folder

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Xxviii Special Issue On Database And Expert Systems Applications Lncs 9940

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Qimin Chen

1st Edition

3662534541, 978-3662534540

More Books

Students also viewed these Databases questions