Philadelphia University Lecturer: Dr. Moayad A. Fahdil Student Name: Faculty of Information Technology Software Engineering Department Student number: ……………………………………………………………………………………………… Software Analysis and Design (721322) Quiz-1 2nd Semester - 2012/2013 Date: 14/3/2013 Section: 1 Time: 15 Minutes ………………………………………………………………………………………………………… 1: Draw UML class diagram for the following: (2 Marks) A-Airline companies offer various flights. B- A flight is open to booking and closed again by order of the company 2: Draw the UML collaboration diagram for the following scenario: (2 Marks) “Library example (Facilitate Checkout): Given a borrower’s ID card and the book to be borrowed, the librarian enters the borrower’s ID number and the book’s catalogue number. If the borrower is allowed to check out the book, the system displays that the book has been recorded as borrowed.” (2 Marks) 3: Draw the UML activity diagram for the following scenario: (2 Marks) • • • • • • Once the order is received the activities split into two parallel sets of activities. One side fills and sends the order while the other handles the billing. On the handles the billing the methods are to send an invoice and then receive the payment. On the Fill Order side, the method of delivery is decided conditionally. Depending on the condition either the Overnight Delivery activity or the Regular Delivery activity is performed. Finally the parallel activities combine to close the order.