Search for question
Question

7:07 Ill 4G 41 Samples-2 1. A library consists of many books. Books in the library can be classified into educational books and recreational books. A library user with a library card can borrow books from the library. The user can take books to a computer auto-librarian to check out the books. The auto-librarian scans the user's card and records the user's id in the books' records on the computer. From the above description, identify the classes and draw association, aggregation, dependency, and generalization relationships with multiplicity in UML between the classes. Briefly explain each multiplicity. 2. Using the library system, a user can reserve a library book for a period of time through the Internet. There are two ways for a user to find a book to be reserved, by browsing the library catalogs, or by searching with adequate information such as book title, author, and ISBN number. Using the system, a librarian can check reservation information and prepare books to be picked up on the starting days of reservations. Identify actors and use cases of the system and draw a use case diagram. If there is a relationship between two use cases in the diagram, show that it is an <<include>> or <<extend>> relationship. 3. Choose one use case of the diagram obatine din 2 and draw an activity diagram for it. 4. Draw a sequence diagram for the use case that allows the user to search for a book. Stream Courses Calendar More/nexplainction Sample 2 Liberay UML - Diagram Liberaung and book (agingction) Liberary - name: Book title: -cuther: -isbn: String 4 edualand Books a baberg Cantun multiple Bak objects Liberty Card Multiphaly ... Cone Libery Mary Backs Libery User -id String -name: String ↓ autoLiberam -id: String ②Library User and Library (and (asconha) abibrang has one cand Recreticul Bak Multiphots: 1..I' (one Libray User and ca Librang User and autothiran & (asscudo) A Liberary user interes with the audiban Muthehet: '\..\' (OLU with an aL) W Book, ednatel Book and Devachal Dack (Generelation) eduetial Book and Reendral Back and Steadet form of Books (Intentane Relation) at the top/nS 1 1 2 T 3 r 4 E 5 o 6 Q W- E R T Y 7 V 8 19 - 3 ص と ع A S 3 3 ی D ي F G Z X CO V B J HT J INI J b 3 د ر fn control option command ' A 9 ۹ O • P ] { t こ [ K L ت ن e ; ك " ' M V > 9 ? $ / х command option Sample 2 Use Case diagram for Libray Use Cape Diagram <ader>> Library User Wentify actors 10 Library User Libra Jalify Use cus Brouse Calg Search Book Reserve Book Check Resend Information Brad Prepase Book for Pickup Rokken Stup Sarch Back Broware calling @ Reserve Book <<ader>> Librainh Bruse cally & Sarch bak (Independant Use Cases) Resene Back on be what the after Brause Calalay the we use cc includes on Search Bak Preure Books for Packing is dependent on the check Reseruny lafend It is an extension of checkin reauton jeleht so we use Cc fxland >> Velchu ship achaly dagoaner Login Search/Bak Check Reservation Information Prefore Book for Pickne Select Book to reme Check aubly <<extend >> Cundabley Реди d Back Inform User abut Unadilly Confirm Resende to User

Fig: 1

Fig: 2

Fig: 3