Beruflich Dokumente
Kultur Dokumente
S. No
Contents
Page No
Lab Objective
Guidelines to Students
Diagrams
References
49
-1-
Department of MCA
LAB OBJECTIVE
Overview of UML
:
:
Hard Disk
Mouse
256 MB
:
40 GB
Optical Mouse
:
Present
Software
All
systems are configured in DUAL BOOT mode i.e., Students can boot from
Windows XP or Linux as per their lab requirement.
This is very useful for students because they are familiar with different
Operating Systems so that they can execute their programs in different
programming environments.
Each student has a separate login for database access
Oracle 9i client version is installed in all systems. On the server, account for each
student has been created.
-2-
Department of MCA
This is very useful because students can save their work ( scenarios, pl/sql
programs, data related projects ,etc) in their own accounts. Each student work is safe
and secure from other students.
Latest Technologies like DOT NET and J2EE are installed in some systems. Before
submitting their final project, they can start doing mini project from 2nd year onwards.
MASM ( Macro Assembler ) is installed in all the systems
Students can execute their assembly language programs using MASM. MASM
is very useful students because when they execute their programs they can see
contents of Processor Registers and how each instruction is being executed in
the CPU.
Rational Rose Software is installed in some systems
Using this software, students can depict UML diagrams of their
projects.
Softwares installed: C, C++, JDK1.5, MASM, OFFICE-XP, J2EE and DOT NET,
Rational Rose.
Systems are provided for students in the 1:1 ratio.
Systems are assigned numbers and same system is allotted for students
when they do the lab.
-3-
Department of MCA
Guidelines to Students
1. Learn what the UML is, what it is not and why it is relevant to the process of
developing software-intensive systems
2. Master the vocabulary rules and idioms of the UML and in general how to speak the
language efficiently
3. Under stand how to apply UML to solve a number of common problems
The user guide provides a reference to the use of specific UML features,
However it is not intended to be a comprehensive reference manual for UML. That is
focus on other book, The Unified Modeling Language Reference Manual
For the developer approaching the UML for the first time, the user guide is
best-read linearly. All chapters are constructed so that each builds upon the contents
of previous one, thus lending it as linear progression.
-4-
Department of MCA
S. No
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
33.
34.
35.
36.
37.
38.
Programs
Class diagram of school without attributes
Class diagram of school with attributes
Class diagram of Hospital without attributes
Class diagram of Hospital with attributes
Class diagram for ATM.
Use case diagram for ATM.
Activity diagram for ATM
Sequence diagram ATM
Collaboration diagram for ATM
Component diagram for ATM
Deployment diagram for ATM
State Transition diagram for ATM
Use case Diagram for Librarian Scenario
Use case diagram for mechanic
Use case diagram for Point of sale
Use case diagram for Point of sale
Activity diagram for Point of sale
Sequence diagram for Point of sale
Collaboration diagram for Point of sale
Deployment diagram for Point of sale
Sequence diagram for Hospital
Collaboration diagram for Hospital
Activity diagram for Patient visiting doctor using Swim lines
Activity diagram of patient checked by Treatment Provider for Diabetes
Activity diagram for Cellular Company
Online Book shop of class diagram without attributes
On line book shop of Use case diagram
Online book shop of Activity diagram
Sequence diagram using Timing Constraints & Locations
State transition diagram representing a history state H
Diagram representing Concurrent sub states
State transition diagram for a Computer being identified with states
Diagram for the relation between a component & interface
Diagram for the relation between a component & class
Deployment diagram for Physical connection system
Deployment diagram for Client server system
Development Diagram that shows the Embedded System.
-5-
Department of MCA
2. Principles of Modeling
Visualizing
Specifying
Constructing
Documenting
-6-
Department of MCA
-7-
Department of MCA
-8-
Department of MCA
-9-
Department of MCA
-10-
Department of MCA
-11-
Department of MCA
-12-
Department of MCA
-13-
Department of MCA
-14-
Department of MCA
Bank officer
Transfer fund
Change pin
Deposit funds
Customer
Make payment
View balance
Withdraw money
Transfer funds
-15-
Department of MCA
Client
Insert
card
Enter
PIN
Connect
Not connected
Enter
transition
Any more transaction
No more transaction
Remove
card
-16-
Department of MCA
A : Atm
machine
ac :
account
B : Bank
client
1: Insert card
Insert PIN
3 : Enter PIN
4 : Verification
5 : PIN ok
9 : Amount entered
10 : Withdrawal
11 : Withdrawal success
12 : Dispense cash
13 : take cash
14 : Terminate
15 : Print slip
16 : Eject card
-17-
Department of MCA
-18-
Department of MCA
-19-
Department of MCA
ATM.exe
Card Reader
Card Reader
Cash Dispenser
ATM Screen
Card dispenser
ATM Screen
-20-
Department of MCA
-21-
Department of MCA
-22-
Department of MCA
14.
-23-
Department of MCA
-24-
Department of MCA
-25-
Department of MCA
-26-
Department of MCA
-27-
Department of MCA
C us to me r
1 : 1 : Ta ke s th e p ro d u c t
5 : 5 : P a ym e n t is d o n e
C le rk
4 : 4 : B ill is g ive n
2 : 2 : B ills th e p ro d u ct
C o mpute r
3 : 3 : P ro c e s s e s th e b ill
Barcode
scanner
PDA
Touch
screens
Server
-28-
Department of MCA
P:Patient
A:Appoint
ment
D:Docter
T:Treatm
ent
1:Confirms
2:Diagnozed
3:Gives Treatment
4:Receive Feedback
-29-
Department of MCA
-30-
Department of MCA
-31-
Department of MCA
No Symptoms
Symptoms
Check next
Patient
Age
Height &
Weight
Kind of
Diabetes
Provide
Treatment
-32-
Department of MCA
Request
Product
Sales
Process
Product
Ware house
Pull
materials
Shift
Order
Receives
product
Pay
Bills
prepare
bills
Close
Order
-33-
Department of MCA
-34-
Department of MCA
-35-
Department of MCA
Display Welcome
Message
Get Login
Rejected
Get Password
& Validate
Display Item
Information
More
Accept
Selection
Create
Order
Display
Order
Rejected
Accepted
Ship to
Customer
-36-
Department of MCA
-37-
Department of MCA
-38-
Department of MCA
-39-
Department of MCA
-40-
Department of MCA
33. State transition diagram for a Computer being identified with states
S ta te T ra n s itio n d ia g ra m fo r a c o m p u te r b e in g id e n tifie d
w ith s ta te s :Id le ,ru n n in g ,s h u t d o w n
2 s e c / s e lf t e s t ( )
K e y p lu s
In te r ru p t( p o w e r fa ilu r e )
R u n n in g
Id le
-41-
S hut
do w n
Department of MCA
-42-
Department of MCA
-43-
Department of MCA
Client1
<< 10 Tethernet >>
Server
<< RS 232 >>
Client2
-44-
Department of MCA
D ra w a D e p lo y m e n t D ia g ra m th a t s h o w s th e c lie n t s e rv e r s y
F ile
s e rv e r
C lie n t
S e rv e r
K io s k
S e rv e r
d a ta b a s e
S e rv e r
p rin t
-45-
Department of MCA
-46-
Department of MCA
-47-
Department of MCA
-48-
Department of MCA
-49-
Department of MCA
-50-
Department of MCA
Ans. It is rendered as a name enclosed by guillements and placed above the name
of another element.
-51-
Department of MCA
References
Books / Material
Text Books
Grady Booch, James Rumbaugh, Ivar Jacobson : The Unified Modeling Language
1. User Guide,
Pearson Education.
Hans-Erik Eriksson, Magnus Penker, Brian Lyons, David Fado: UML 2 Toolkit,
2.
WILEY-dreamtech India Pvt. Ltd.
Web sites
1
)
2
)
http://en.wikipedia.org/wiki/Unified_Modeling_Language
http://atlas.kennesaw.edu/~dbraun/csis4650/A&D/index.htm
-52-
Department of MCA
-53-
Department of MCA