Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q2: Problem Description Design a student database for MIT where students can borrow books from the library. The class holds the following information about
Q2: Problem Description Design a student database for MIT where students can borrow books from the library. The class holds the following information about each student: studentName, studentID, booksBorrowedList. The following two students are already in the database: Roy, MIT123, [SN1011, SN2102] Rio, MIT321, [SN2102, SN2012] Task 1: [35 Marks] a. Design the class Student with appropriate attributes and methods from the given scenario. Save this as a Student module (Student.py) which will be called in following questions. b. Add a new attribute of your choice to this class. C. Draw the UML of the class Student. d. By using the class Student, now create a new list commonbooksborrowed that can store the serial number of each borrowed book.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started