Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Pleae Use starUML to draw class diagrams for the exercises below. Exercise1: The UCLA library has many books. The library has many users (represented as

Pleae Use starUML to draw class diagrams for the exercises below.

image text in transcribed

Exercise1:

The UCLA library has many books. The library has many users (represented as an interface) which are of two kinds: students or teachers. There are two types of students: undergraduate students and graduate students. Students have a student ID number and teachers have a staff ID number. Books have an ISBN number and a status indicating whether the book is in the library or has been borrowed. The library has the following rules: 1. All users can search for books 2. All users can borrow books. 3. All users can return books. 4. Undergraduate students can borrow at most 10 books. 5. Graduate students can borrow at most 20 books. 6. Teachers who worked in UCLA for more than 5 years can borrow at most 30 books. In addition, if you are an undergraduate student or a graduate student or a teacher then you know which books you have, but from a book it is not possible to find out which undergraduate student or graduate student or teacher has borrowed it.

1. A Microsoft Word report which contains your three class diagrams. Copy-paste each of the three exercises below into your report. Find the clues of classes, attributes, and methods in the descriptions of the exercises, and highlight them with different kinds of underlines or colors. For each exercise, put the corresponding class diagram (as a picture) under the highlighted description of the exercise. 1. A Microsoft Word report which contains your three class diagrams. Copy-paste each of the three exercises below into your report. Find the clues of classes, attributes, and methods in the descriptions of the exercises, and highlight them with different kinds of underlines or colors. For each exercise, put the corresponding class diagram (as a picture) under the highlighted description of the exercise

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

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions

Question

Is this investment worthwhile? Why or why not?

Answered: 1 week ago