Assignment 1
Assignment 1
YOUR TASKS
You should use 2 linked lists storing data of books and borrowed books respectively.
You are not allowed to use available list structures in python such as ArrayList,
Vector or LinkedList classes.
Your program should have a menu that allows users to choose a corresponding task.
main.py – displays a menu that allows users to choose a corresponding tasks (1 mark)
Tasks explanation
Book list (8 marks):
1.1. Add book detail
Allow a user to add information of books. The content of the file should be as below:
For example after loading the above file, this option give the output below:
Bid | Title | Author | status
-------------------------------------------------------------------
B01 | Physics | Michael G. Solomon | 0
B02 | Biology | Andreas M. Antonopoulos | 0
B03 | Southern | Tiana Laurence | 0
Submission Requirements
Create the directory with a name like <class>-<name><roll number>-ASS1, e.g.
SE0508-QuangTV00456-ASS1 (1)
Compress the folder (1) to .zip (or .rar) file (with the same name) and upload to cms.
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.