Q1.
Draw a Use case Diagram, Activity Diagram, Analysis Model, Class
Diagram and Sequence Diagram. Write description of each use case for a
Simple Answering Machine.
USE CASE DIAGRAM SIMPLE ANSWERING MACHINE
ANALYSIS MODEL
Message Box
Speaker
answering Machine
Phone Line
Owner
Owner Console
Caller
Microphone
1 | Page
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Greeting Box
CLASS DIAGRAM
Sequence Diagram
2 | Page
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Q2) Consider the Case Study of Recycling Machine.
a.
b.
c.
d.
e.
Draw Complete Analysis Model
Draw Interface Object Diagram
Draw Sequence diagram for the Deposit Item Use case
Draw State Transition Graph and describe all the states
Draw State Transition Graph for the deposit item use case
USE CASE DIAGRAM
3 | Page
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
CLASS DIAGRAM
ANALYSIS MODEL
Customer Panel
Deposit Item Receiver
Receipt Receiver
Deposit Item
Item[0...n]
4 | Page
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Can
Bottle
Crate
Sequence diagram
Q3) Draw a Use case Diagram, Activity Diagram, Analysis Model, Class
Diagram and Sequence Diagram. Write description of each use case for a
Library Management Software.
5 | Page
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
6 | Page
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
CLASS DIAGRAM
ANALYSIS MODEL
Issue Book controller
Bar code reader
1
0..10
1..0.5 1
Issue book interface Book
Transaction
member
book Sequence Diagram
7 | Page
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Activity Diagram
8 | Page
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Q4) Given the problem of Courseware Management System at the end of
the document.
a.
b.
c.
d.
e.
Draw Use case diagram with all the associations
Draw Class Diagram and explain composition and aggregation.
Draw Object diagram with object details.
Also give description of relationship among Classes
Sequence Diagram & convert it to the Collaboration diagram
USE CASE DIAGRAM
CLASS DIAGRAM
9 | Page
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Sequence Diagram
10 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Q5) Draw a Use case Diagram, Activity Diagram, Analysis Model, Class
Diagram and Sequence Diagram. Write description of each use case for a
ATM Machine.
Use Case Diagram
11 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Class Diagram
12 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Sequence Diagram
13 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Activity Diagram
14 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
15 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Q6) Draw a Use case Diagram, Activity Diagram, Analysis Model, Class
Diagram and Sequence Diagram. Write description of each use case for a
Elevator Problem.
Use Case Diagram
Class diagram
16 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Sequence Diagram
Activity Diagram
17 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Q7) Draw a Use case Diagram, Activity Diagram, Analysis Model, Class
Diagram and Sequence Diagram. Write description of each use case for a
Payroll Software.
Use Case diagram
18 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Class Diagram
Activity Diagram
19 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Sequence Diagram
20 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Q8). Draw a Use case Diagram Write description of each use case for a
Personal Investment Management Software.
Usecase Diagram
21 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Q9. Draw a Use case Diagram, Activity Diagram, Analysis Model, Class
Diagram and Sequence Diagram. Write description of each use case for an
Inventory Management System.
Use Case Diagram
22 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Class Diagram
Sequence Diagram
23 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Activity Diagram
24 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Q10) Draw a Use case Diagram, Activity Diagram, Analysis Model, Class
Diagram and Sequence Diagram. Write description of each use case for a
Online Airline Reservation System.
Use Case Diagram
Class Diagram
25 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Sequence Diagram
26 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Q11) Consider a Computer Email System
I Identify actors for email system. Explain the relevance of each actor
II One use case is to get email. List four additional use cases at a
comparable level of abstraction. Describe each use case with
exceptional flow.
III Prepare a Usecase Diagram for a computer emailsystem. Write
Description for each use case
IV Draw Class Diagram.
V Identify at least four states for an email object and draw the State
Transition Diagram for the same.
Use Case diagram
27 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
CLASS DIAGRAM:
STATE TRANSITION DIAGRAM:
28 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
Q.12 Draw a Use case Diagram, Activity Diagram, Analysis Model, Class
Diagram and Sequence Diagram. Write description of each use case for a
GGSIPU Counseling System
USECASE
29 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
ANALYSIS DIAGRAM:
30 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413
CLASS DIAGRAM:
31 | P a g e
AHMED KHAN
Name: ARSALAN
Enroll No. 00111104413