Skip to content

Small Skill Demo Project

Description

Small project to demonstrate capabilities to read input from a file, write output to a file, create classes, and use the Collection Classes of List and Map. The project starts with a a list of staff workers for the school. The list is unsorted between student workers and staff workers. The main difference is in their ID number which determines if they are a student or a full-time staff member. All students ID numbers start with 916 and all full-time staff ID numbers start with 841. The program will sort the members by student and staff and write the output to a new file.

Input

The input comes from a file containing a list of staff workers for the school.

916354231 Jimmy John
841569870 Chia Chien
916568741 Naruto Uzumaki
841986754 Michael Schillo
916785341 Ulrich Stern
916567852 Jeremy Belpois
916475962 Yuji Itadori
841965231 Satoru Gojo

Output

Output is the list of workers but separated by relation to the school.

Student Workers
Student ID: 916568741, Name: Naruto Uzumaki
Student ID: 916475962, Name: Yuji Itadori
Student ID: 916785341, Name: Ulrich Stern
Student ID: 916567852, Name: Jeremy Belpois
Student ID: 916354231, Name: Jimmy John

Teaching Staff
Teacher ID: 841965231, Name: Satoru Gojo
Teacher ID: 841569870, Name: Chia Chien
Teacher ID: 841986754, Name: Michael Schillo

The project is in a private repository at the request of a professor due to it being a school project but it can be shared if requested. If access is requested/granted, the project can be found below

Project Link