Assignment1 SE1760
Assignment1 SE1760
About a reader:
1. rcode (string): the code of the reader (this should be unique for the reader).
2. name (string): the name of the reader.
3. byear (integer): The birth year of the reader (must between 1900 and 2010).
About lending:
YOUR TASKS
You should use 3 linked lists, each one is used to store data for books, readers or
book lending items. You should create linked lists from scratch, do not use list
structures available in java like ArrayList, Vector or LinkedList classes.
On running, your program displays the menu as below:
Book list (8 marks):
1.1. Load data from file
1.2. Input & add to the end
1.3. Display data
1.4. Save book list to file
1.5. Search by bcode
1.6. Delete by bcode
1.7. Sort by bcode
1.8. Input & add to beginning
1.9. Add after position k
1.10. Delete position k
tasks explanation
Book list (8 marks):
1.1. Load data from file
Allow a user to input the file name that contains information of books. The content
of the file may be
Submission Requirements
Create the directory with a name like <class>-<name><roll number>-ASS1, e.g.
SE0508-QuangTV00456-AS1 (1)
Assignment assessment
You will be asked to modify immediately and to explain your assignment in lab
room to be sure that you are really the author of the assignment you submitted.