






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A college assignment for a bachelor of computer science (hons.) program, where the student is tasked with creating an application that implements a linkedlist to store book objects. The application should allow the user to input 10 book objects, display all the books, find the books with the highest and lowest prices, remove books published before the year 2000, and display the updated book lists. Details on the book and mylinkedlist classes, including their attributes and methods, as well as a flowchart for the design phase. The assignment is part of the csc508 data structures course, and the student is required to submit the completed work by november 5, 2023, for the october 2023 - february 2024 semester.
Typology: Assignments
1 / 11
This page cannot be seen from the preview
Don't miss anything!







Purpose The application designed to implement LinkedList on Book class. The LinkedList is created from scratch from java Library. All the book object that the user input will be stored into LinkedList. The application also searches the highest and the lowest prices from the booklist and display all books that is published before and after year 2020. In the end, the application will display all the information inside book list. Files All files can be downloaded from the zip file named: 2023189505_NUR ALWANI BINTI MOHD YAZID_CDCS2304B_ASSIGNMENT1.zip The file contains of 3 java class files: Steps Write the application class AppLinkedList which contain main() to declare object linked list from class MyLinkedList. Your linked list will hold object Book declared from previous exercise. a) Declare a linked list of books object named BookLL b) ask user to enter 10 Book objects which will be inserted into linked list BookLL c) Display all books details from linked list BookLL d) Display all books which were published before the year 2020. e) Search and display the books with the highest and lowest prices. f) Declare another linked list of book objects named Book_LL_Old, ALL books published before year 2000 should be removed from BookLL and copied into linked list Book_LL_Old. g) Display all books in BookLL and Book_LL_Old.
Flow chart
AppLinkedList Class
MyLinkedList Class
Output: