Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer Networks

Authors: Andrew S. Tanenbaum, David J. Wetherall

5th edition

132126958, 978-0132126953

More Books

Students also viewed these Computer Network questions

Question

Place-based organizing can be defined as

Answered: 1 week ago

Question

How is quantitative research different from qualitative research?

Answered: 1 week ago

Question

Why do experiments allow cause-and-effect inferences?

Answered: 1 week ago

Question

How can bias in experimental research be prevented?

Answered: 1 week ago