Question: CS 2401 - Elementary data structures and algorithms Lab: 4 Spring 2024 Due Date: Sunday, February 18 - end of the day. Objective: The goal

CS 2401 - Elementary data structures and algorithms\ Lab: 4\ Spring 2024\ Due Date: Sunday, February 18 - end of the day.\ Objective: The goal of this assignment is to practice with linked list\ Background: You are going to implement a code that prints and manipulates a Linked List based on the input file of a database of films.\ The information of each movie is stored in a text file. Each line in the file contains the title and director of a film, the genre, the release year of the film, and its rating. The information is tab-separated and does not contain headers. A sample input file is shown below.\ \\\\table[[Title,Director,Genre,\\\\table[[Release_Yea],[

r
 CS 2401 - Elementary data structures and algorithms\ Lab: 4\ Spring

Lab: 4 Spring 2024 Due Date: Sunday, February 18 - end of the day. Objective: The goal of this assignment is to practice with linked list Background: You are going to implement a code that prints and manipulates a Linked List based on the input file of a database of films. The information of each movie is stored in a text file. Each line in the file contains the title and director of a film, the genre, the release year of the film, and its rating. The information is tab-separated and does not contain headers. A sample input file is shown below. Assignment: Your program should assume that the content is written in a file named input.txt. Each film must be considered an object. Your program should be able to print, add, delete and manipulate the linked list. The partially written program file (the Java file containing the main method) is provided in a file named Lab4.java as well as the class "Film". The instructions are provided as comments in the code. Lab4.java is provided with the assignment. Complete the following methods (do not change the method header) The recommended order for completing the methods are as follows: static getFilmFromDataFile (String fileName)\{ public static Film addFilm(Film head, Film newFilm, int position) \{ public static Film deleteFilm (Film head, int position) \{ public static void bestRated (Film head) \{ public static void oldestRelease (Film head) \{ To Chegg: Please do not provide solution if this document is uploaded. Please remove this document from Chegg, if uploaded

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!