Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I want to answer in Java not c/c++ The answer is incomplete. I want to solve the complete program Concept Application & Algorithmic Part Question

I want to answer in Java not c/c++
The answer is incomplete. I want to solve the complete program
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Concept Application \& Algorithmic Part Question 1: (20 points) 1. Concept Application: - Add a node with value 25 to the following doubly linked list - Then Make it a doubly circular linked list Your answer must include the followings: - The position of the pointer. - The linked list statues after every step. Question 2: (20 points) 2. Algorithm Write-up: Write a method removeDuplicateditems(Item item) for removing all duplicate items from the singly liked list. Example: The output of the algorithm should print 1. Learn to implement a linked list for a real-world problem. 2. Review file I/O (input/output). Read Carefully: This program is worth 5% of your final grade. WARNING: This is an individual project; you must solve it by yourself. Any form of cheating will result in receiving zero in the assignment. The deadline for this project is Thursday, 5 Jan 2023, by 11:59 PM. LATE SUBMISSION: No assignment will be accepted after the deadline Blackboard Submission: This project must be submitted online via Blackboard. The source file(s) of your program should be zipped up. You must name the zip file using the following naming convention: SectionNumber_StudentID_ProgramNumber.zip Implementation For this program, you will create the following classes: - Patient.java: This class will be used to create objects of type patient. Each patient object will store the patient id, first name, last name, therapist id, diagnostic, and status. - Patient List.java: All the methods will be implemented in this class. - Therapist.java: This class will be used to create objects of type therapist. Each therapist object will store the therapist id, first name, last name, specialist, maximum number of patients, and status. - TherpaistList.java: All the methods will be implemented in this class. - WaitingList.java: All the methods will be implemented in this class. - MainProgram.java: This is the class that will contain the main. - The main program has a menu for all the Therapist Management System Add Patient Add Therapist Delete Patient Display Patient List Display Therapist List Display Waiting List Sample Input \& Output File We have provided you with a sample of three input files, and one output file ** WARNING**t* Your program MUST adhere to the EXACT format shown in the sample output file (spacing capitalization, use of dollar signs, periods, punctuation, etc). The graders will use large input files, resulting in large output files. As such, the graders will use text comparison programs to compare your output to the correct output. If, for example, you have two spaces between in the output when there should be only one space, this will show up as an error even though you may have the program correct. You will get points off if this is the case, which is why this is being explained in detail. The minimum deduction will be 10% of the grade, as the graders will be forced to go to the text editing of your program in order to give you an accurate grade. Again, your output MUST ADHERE EXACTLY to the sample output Grading Details Your program will be graded on the following criteria: 1) Adhering to the imnlementation_snecifications.listedin_this_urite-nn 1. Write a function to add new patient information and assign the appropriate therapist to him based on his diagnostics. If no therapist is available for him (means: reaching the maximum number of patients), add the patient id to the single linked list of waiting patients and indicate in patient records status "waiting".(at the end of the linked list). 2. Write a function to add new therapist information. (at the end of the linked list). 3. Write a function to delete a patient from the linked list based on the patient's id and update the patient's status as a therapist 4. Write a function that assigns a therapist to a patient from the waiting list and updates the therapist's status 5. Write a function that accepts the headP of the list and displays all patients' info in the linked list in a table 6. Write a function that accepts the headT of the list and displays all therapist info in the linked list in a table 7. Write a function that accepts the headW of the list and displays all waiting list info in the linked list in a table The program deals with three files: two input files and one output file. Information on the same line is separated by spaces. The description of these files is as follows: The first input file (intialPatientInformation.txt) contains important information for the system, which includes information about the patients and their details. The information in this file is arranged as follows: - The first line contains the number of patients - The following lines (from lines 2 to 7 ) contain the patient information: patient id, first name, last name, therapist id, diagnostic, and status. The second input file (intialTerpaistInformation.txt) contains important information for the system, which includes information about the therapists and their details. The information in this file is arranged as follows: - The first line contains the number of therapists - The following lines (from lines 2 to 7 ) contain the patient information: therapist id, first name, last name, specialist, maximum number of patients, and status. - The commands for the system are found in the third file, called commands.txt. The commands in this file are as follow: - STARTUP: This command will use the first input file (intialTerpaistInformation.txt) and (intialTerpaistInformation.txt) to initialize the system by creating 2 linked lists equal to the number of patients and therapists specified in the file. Every linked list holds their information. - DISPLAY_ALL_Info: This command will display all patient information and therapist as shown in the ouput.txt file. - The program output should be written to the file name output.txt, which should be similar to the contents of the files provided to you. Objective: This program aims to develop a therapist management center for patients to assign a therapist for each patient. The primary objective of this program is to implement a linked list. The secondary objective is to practice with File I/O. Program Description: Write a program to distribute patients across the therapist center where each therapist is responsible for a certain number of patients. You are required to write the following methods: - Create an account for each patient using a singly linked list. Each node has the patient's information - Create an account for each therapist using a singly linked list. Each node has the therapist's information Example: 2) Your algorithmic design. 3) Correctness. 4) Use of the three classes as specified. If your program is missing these elements, you will lose marks. 5) The frequency and utility of the comments in the code, as well as the use of white space for easy readability. (If your code is poorly commented and spaced and works perfectly, you could earn as low as 8085% on it.) 6) Compatibility with the newest version of NetBeans. (If your program does not compile in NetBeans, you will get a large deduction from your grade.) 7) Your program should include a header comment with the following information: your name, email, account number, section number, assignment title, and date. 8) Your output MUST adhere to the EXACT output format shown in the sample output file. Deliverables You should submit a zip file with seven files inside: 1. ConceptPart.doc (Containing concept and algorithm parts) 2. Patient.java - 3. Patientljikdava 4. Therapist.java 5. TherpaistList.java 6. WaitingList.java 7. MainProgram.java These three files should all be INSIDE the same package called TherapistAssignment. If

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

Big Data Concepts, Theories, And Applications

Authors: Shui Yu, Song Guo

1st Edition

3319277634, 9783319277639

More Books

Students also viewed these Databases questions