Q2: Problem Description Design a student database for MIT where students can borrow books from the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Posted Date:
Students also viewed these computer network questions
-
Solve each system using the substitution method. If a system is inconsistent or has dependent equations, say so. -5x + 2y = -2 x + 6y = 26
-
How can market research benefit a small business owner? List some possible sources of market information.
-
Drawing on the notions of moral, amoral, and immoral management introduced in Chapter 7 categorize your impressions of (a) Nestl, in the infant formula controversy and (b) Union Carbide, in the...
-
The 2014 financial statements of LVMH Moet Hennessey-Louis Vuitton S.A. are presented in Appendix C of this book. LVMH is a Paris-based holding company and one of the worlds largest and best-known...
-
A city engages in the transactions that follow. For each transaction indicate the amount of revenue or expenditure that it should report in 2014. Assume rst that the main objective of the nancial...
-
Do sex differences exist in the need for privacy among college students? To find an answer to this question, Pedersen (1987) gave the Privacy Questionnaire to male and female college students. One...
-
Read the case study of Hefty hardware case study This case takes a horizontal slice through a number of coexistent issues. As a result, the challenge is knowing where to start just as it is in real...
-
1 2 Mac's credit card statement included $1266.00 in cash advances and $117.06 in interest charges. The interest rate on the statement was 12% p.a. For how many days was Mac charged interest? The...
-
What can the slope of the forward curve tell us about storage costs and convenience yields for commodities? Explain
-
In what ways can the different forms of communication (intrapersonal, interpersonal, small group, public and mass) be enhanced with the aid of technology?
-
Choose two news articles covering the Uvalde, Texas Elementary School shooting incident - one from a liberal news source and one from a conservative news source 1. Compare how is the...
-
If Jason expect a 15 percent portfolio return when objective assessment indicates that its expected return is 8 percent, what cognitive error is Jason demonstrating? Explain
-
Ahmed contributed cash of $20,000 into the partnership. The journal entry to record this transaction is: Cash $20,000 Dr. partnership $20,000 Cr True False 00
-
Calculate the Lagrange polynomial P 2 (x) for the values (1.00) = 1.0000, (1.02) = 0.9888, (1.04) = 0.9784 of the gamma function [(24) in App. A3.1] and from it approximations of (1.01) and (1.03).
-
Sand Corporation has the following shares outstanding: 10,000 shares of \(\$ 40\) par value, ten percent preferred stock and 50,000 shares of \(\$ 2\) par value common stock. The company has \(\$...
-
The Crystal Company had \(100,000,000\) shares of \(\$ 0.10\) par value common stock outstanding which had been sold for an aggregate amount of \(\$ 500,000,000\). The company's shares are traded on...
-
Mammoth Corporation has 100,000 shares of \(\$ 10\) par value common stock outstanding. At year-end, the company declares a five percent stock dividend. The market price of the stock on the...
Study smarter with the SolutionInn App