You are on page 1of 23

SESSON 1,2 AND 3

1) Draw the use case and define all the classes of employee management system.
Solution:-

Empoyee record
Salary detail
Loan detail
Leave detail Login
Tax detail
Salary slip
Bank details Check the
validation

allowance

Add employee
record

Employe Check employee


Manager
e occupaton

Check salary
detail

Check bank
detail

Check loan
detail of
employee

Update
employee detail

logout
2)Draw the use cases and define all the classes for automatic teller machine

Insert card

Enter the pin


number

Verify the pin


number

Given the
option

current saving

Select
saving
Customer Machine
e Check bank Check bank
detail detail

Check bank
detail

Select the
withdraw

Enter the amount

Verify the
balance given

Receive balance

Request remove
card

Receive card
3)Draw the use case define all the class for library management system.

Login

Check the
validation

allowance

Request for
student id

Enter student
id

Verify
student id
Student Library manager
Search book

Select the
desire author
book
Verify desire
author book
book

Received book

Given some
duration time

Return the
duration time

Verify the
duration time

Take fine

Given fine

logout
4)draw the use case and define all the classes for Order Processing Application.

Login

Check the
validation

allowance

Show total
quantity of
item

Select the
quantity of
item

customer Stock manager

Show the total


price of item

Delivery the
total item

Received item

Check the total


available item

Payment the
total price of
item

Receipt bill

Update item

Update
customer order

Update bill
detail

logout
5)draw the use case define all the classes for student registration process

Request for
registration

Receive form

Chek the
course detail

Submit form

School management
Student
Verify the
form

Give the
registration id

Give the
centere

Received
registration
approved

Take
admission

Give the
approved

Update
student detail

logout
SESSION 4 AND 5
6)Draw the sequence and collaboration diagram for automaticteller machine.

User System Database

Insert the card Verify the pin

Enter the pin number Allow the user

Show the menu


Select the saving option

Show again option

Select the withdraw


Enter the amount Verify the amount

Give the amount Allow the user

Receive amount
Do you want to continue

No remove the card

Receive the card

Logout
7)Draw the sequence and collaboration diagram for employee information system.

User System Database

Login Verify the pin

Request employee_id Allow the user

Enter employee _id


Add employee deatail

Chech employee occupation

Perform the job


Perform salary Verify the amount

Check employee loan detail Allow the user

Update time time employee detail


Check salary detail

Check tax detail

Receive the card

Logout
8)Draw the sequence and collaboration diagram for library management system.

User System Database

Login Verify the id

Enter student _id Allow ance

Select the desire author book


Select the book Verify the book

Receive the book Allowance

Give some duration time to keep book


Verify the return in duration time
Retutn the book under duration
No in duration time
Take the fine
Give the fine

Logout to system
9)Draw the sequence and collaboration diagram for Order Processing Application.

User System Database

Login Check the validation

Enter customer _id Verify the customer id


Allowance
Show total quantity of item

Select the quantity of item


Show total price of item

Deliver the total item

Receive the item


Check the total item Update stock status
Update customer record
Check employee loan detail
Update bill payment detail
Payment total price of item

Logout
10)Draw the sequence and collaboration diagram for Student Registration System.

User System Database

Request for registration

Give thr registration form

Received the registration form


Request for classes detail

Give the course detail

Select the course detail

Fill up the form

Submit the form


Submit th fee discuses course Verify the desired

Give the registration id Information are valid allowance

Give the study centere code

Give the acknoeledgement

Received acknowledgement

Logout to system
SESSION 6,7 AND 8
1)Draw the state transition diagram and case diagram for Automatic Teller Machine.

Check the pin no

Select the card Enter the


MAIN Verify pin
pin Select the
Wrong thecard
again
SCREEN no
number

Select the option

Wrong the again

Select the
saving

Remov the Amount not Select the Enter the


card available withdraw amount

Amount are
available

Receipt the Receive


slip the amount

Ask the message continue

Yes No
YES / NO

Continue
Enter the Receive
the above
amount card
state
CLASS DIAGRAM

nt
so
er

cc
A
P

u
o
Pincode Account Number
Withdraw Amount Account Name
Account Type Balance
Insert Card () Withdraw Amount
Enter Pin ()
Enter Transaction Type () Show Account Details ()
Enter Amount Show Account Type ()
Enter Account Type () Show Balance ()
Take Card () Set Balance ()
Withdraw ()
Take Money Deposit ()

ar
C
B

n
k
a

d
ne
M
M
ac
hi
A
T

Show Balance Card


Pincode Details ()
Withdraw Amount
Account Type
Transactions Type

GetCard ()
Get Pincode ()
ra

ac
ns

ai
et
D
T

ls
ti

n
o
Get Transaction Type ()
Get Account Type () Transaction Id
Get Amount ()
Check Card () Set Transactions Details
Check Pincode ()
Check Amount ()
Get Account Info ()
Get Bankcard Details ()
nc

de
In
Pi

fo

Set Transaction Details ()


o

Update Account ()
Update Transaction PinCode
Display Money ()
Give Card () Set Pincode ()
Generate Balance Report Show Pincode ()
Give Balance Report ()
13)Draw the state transition diagram and case diagram for Library Management System.

Allowance
Login Enter the
MAIN Check the Enter the
pin Select the card
SCREEN validation student id
number

If available Search th
Receive Select the desired
the book book author
book

If not available

Give the Search


duration another
time to desire
submit book Return duration time book

Return not duration time

Display
Give fine finish
process
Class diagram

ist
eg

ra
so
er

R
P

ti
n

n
o
R_Number
P_Name 1 R_PName
P_Age
R_Paddress
P_Sex
Get Registration Info()
P_Address
Set Registration Info()
P_Regno
P_Phoneno
Create Registration()
Give Book()

oo
B

k
Take Book()
0..*
Cancel Registration()
B_Number
B_Name
B_Cost
B_Publisher
B_Author
B_Subject
0..* B_Noofcopies
Get Book Info()
Set Book Info()
ra

ac
ns
T

ti
o
n

T_Number
T_Time
Get Transaction Info()
Set Transaction Info()
Draw the state transition diagram and case diagram for Order Processing System.

valiation
Select order Enter the
MAIN Plan the Verify the
pin Select the card
SCREEN order data
number
Order rejected

Order ok

If available Check
Receive Select the minimum
the book book Quantity in
stock

If not available

Product Cancel
order order

Generate Generate
Update the invoice
bill of
stock
material
CLASS DIAGRAM

Order

DateRecived : Date
IsPrepaid : Boolean
Number : String Customer
Price : Money
Name : String
Dispatch() n 1 address : String
Close()
CreditRating()

Corporate Customer
Personal Customer
ContactName : String
CreditRating : String CreditCard#: Long integer
CreditLimit : Double

Remaind()
BillFormonth()
Draw the strate transition diagram and case diagram for Student registration process.

Receive
Request Enter the View
MAIN registratio
registration form pin Select the card course
SCREEN n form
number detail

Fill form

Submit the Submit


detail of form
course

If not available

Give Check the


Receive
registratio informatio
acknowledg
n id n
ment

Verify is not valid

Request
resubmit
form with
validation
informatio
n
CLASS DIAGRAM

de
St

nt
u
1
S_Name

ist
eg

ra
R

ti

n
o
S_Age
S_Sex R_Number
S_Address R_Sname
S_Phoneno R_Sno
Get Registration Info()
S_Qualification Set Registration Info()

Create Registration()
*

Cl
er
k
1
C_Name
Se
at

Create Registration()
S_Noofseats Get Seats Info()
S_Remseats Set Seats Info()
Get Registration Info()
Get Seats Info()
Set Registration Info()
Set Seats Info()
Component Diagram for ATM

ATM.exe

Card Packet Cash Disposer

ATM.Scores

Card Packet Cash Disposer

ATM.Scores
17. Component Diagram for Employee Management System

Employee.exe

Employee Details Salary Details

Attendance Details

Employee Details Salary Details

Attendance Details
18. Component Diagram for Library Management System

Library.exe

Book Details
Registration Packet

Transaction Details Employee Details

Registration Packet
Book Details

Transaction Details
Employee Details
19. Component Diagram for Order Processing Application

Order.exe

Customer Details Dispatch Details

Order Details Goods Details

Customer Details
Dispatch Details

Order Details
Goods Details
20. Component Diagram for Student Registration Process

Student.exe

Student Details Registration Details

Seat Details

Student Details Registration Details

Seat Details

You might also like