Top Banner
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 Tax detail Salary slip Bank details Login allowanc e Check the validati on Add employee record Check employee occupaton Check bank detail Check salary detail Check loan detail of employee Update employee detail logout Employ ee Manage r
29

case diagram

Nov 22, 2014

Download

Documents

sunilsion
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: case diagram

SESSON 1,2 AND 3 1) Draw the use case and define all the classes of employee management system.

Solution:-

Empoyee recordSalary detailLoan detailLeave detailTax detailSalary slipBank details

Login

allowance

Check the validation

Add employee record

Check employee occupaton

Check bank detail

Check salary detail

Check loan detail of

employee

Update employee detail

logout

Employee

Manager

Page 2: case diagram

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

Insert card

Verify the pin number

Enter the pin number

Given the option

saving

Check bank detail

Select saving

Select the withdraw

Verify the balance given

Receive balance

Customer e

Machine

current

Check bank detail

Check bank detail

Request remove card

Receive card

Enter the amount

Page 3: case diagram

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

Login

allowance

Check the validation

Request for student id

Enter student id

Select the

desire author book

Verify student id

Verify desire

author book book

Received book

logout

Student Library manager

Given some duration time

Return the duration time

Verify the duration time

Take fine

Given fine

Search book

Page 4: case diagram

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

Login

allowance

Check the validation

Show total quantity of

item

Show the total price of item

Select the quantity of

item

Delivery the total item

Received item

logout

customer Stock manager

Check the total available item

Payment the total price of

item

Receipt bill

Update item

Update customer order

Update bill detail

Page 5: case diagram

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

School management

Request for registration

logout

Student

Chek the course detail

Receive form

Submit form

Give the registration id

Verify the form

Received

registration approved

Give the centere

Take admission

Give the approved

Update student detail

Page 6: case diagram

SESSION 4 AND 56)Draw the sequence and collaboration diagram for automaticteller machine.

User System

Insert the card

Enter the pin number

Show the menuSelect the saving option

Show again option

Select the withdrawEnter the amount

Give the amount

Receive amountDo you want to continue

No remove the card

Receive the card

Logout

Database

Verify the pin

Allow the user

Verify the amount

Allow the user

Page 7: case diagram

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

Login

Request employee_id

Enter employee _idAdd employee deatail

Chech employee occupation

Perform the jobPerform salary

Check employee loan detail

Update time time employee detailCheck salary detail

Check tax detail

Receive the card

Logout

Database

Verify the pin

Allow the user

Verify the amount

Allow the user

Page 8: case diagram

User System

Login

Enter student _id

Select the desire author bookSelect the book

Receive the book

Give some duration time to keep book

Retutn the book under duration

Take the fineGive the fine

Logout to system

Database

Verify the id

Allow ance

Verify the book

Allowance

Verify the return in duration time

No in duration time

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

Page 9: case diagram

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

User System

Login

Enter customer _id

Show total quantity of item Select the quantity of item

Show total price of item

Deliver the total item

Receive the itemCheck the total item

Check employee loan detail

Payment total price of item

Logout

Database

Check the validation

Verify the customer id Allowance

Update stock statusUpdate customer record

Update bill payment detail

Page 10: case diagram

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

User System

Request for registration

Give thr registration form

Received the registration formRequest for classes detail

Give the course detail

Select the course detail

Fill up the form

Submit the form Submit th fee discuses course

Give the registration id Give the study centere code

Give the acknoeledgement

Received acknowledgement

Logout to system

Database

Verify the desired

Information are valid allowance

Page 11: case diagram

Select the card

Check the pin no

Select the cardWrong the again

Wrong the again

Select the option

Amount are available

Amount not available

Ask the message continue

NoYes

SESSION 6,7 AND 81)Draw the state transition diagram and case diagram for Automatic Teller Machine.

Enter the pin number

Select the saving

MAIN SCREEN

Verify pin no

YES / NO

Select the withdraw

Remov the card

Enter the amount

Receipt the slip

Receive the amount

Enter the amount

Continue the above state

Receive card

Enter the pin number

Page 12: case diagram

CLASS DIAGRAM

ATM Machine

Person

PincodeWithdraw AmountAccount Type

Insert Card ()Enter Pin ()Enter Transaction Type ()Enter AmountEnter Account Type ()Take Card ()

Take Money

PincodeWithdraw AmountAccount TypeTransactions Type

GetCard ()Get Pincode ()Get Transaction Type ()Get Account Type ()Get Amount ()Check Card ()Check Pincode ()Check Amount ()Get Account Info ()Get Bankcard Details ()Set Transaction Details ()Update Account ()Update Transaction Display Money ()Give Card ()Generate Balance ReportGive Balance Report ()

Account

Account NumberAccount NameBalance Withdraw Amount

Show Account Details ()Show Account Type ()Show Balance ()Set Balance ()Withdraw ()Deposit ()

Bank Card Show Balance Card

Details ()

Transaction Details

Transaction Id

Pincode Info

PinCode

Set Pincode ()Show Pincode ()

Set Transactions Details

Page 13: case diagram

Login Allowance

Select the card

Return not duration time

Return duration time

If not available

If available

13)Draw the state transition diagram and case diagram for Library Management System.

Enter the pin number

MAIN SCREEN

Enter the student id

Select the book

Receive the book

Search th desired author book

Give fine Display finish process

Give the duration time to submit book

Search another desire book

Check the validation

Page 14: case diagram

Class diagram

Person

P_NameP_AgeP_SexP_AddressP_RegnoP_Phoneno

Create Registration()Give Book()Take Book()Cancel Registration()

RegistrationR_Number

R_PNameR_Paddress

Get Registration Info()Set Registration Info()

Book

B_NumberB_NameB_CostB_PublisherB_AuthorB_SubjectB_Noofcopies

Get Book Info()Set Book Info()

Transaction T_Number

T_Time

Get Transaction Info()Set Transaction Info()

1

0..*

0..*

Page 15: case diagram

Select ordervaliation

Select the card

If not available

If available

Order rejected

Order ok

Draw the state transition diagram and case diagram for Order Processing System.

Enter the pin number

MAIN SCREEN

Verify the data

Select the book

Receive the book

Check minimum Quantity in stock

Update the stock

Generate bill of material

Product order

Cancel order

Plan the order

Generate invoice

Page 16: case diagram

CLASS DIAGRAM

Order

DateRecived : DateIsPrepaid : BooleanNumber : StringPrice : Money

Dispatch()Close()

Customer

Name : Stringaddress : String

CreditRating()

Corporate Customer

ContactName : StringCreditRating : StringCreditLimit : Double

Remaind()BillFormonth()

Personal Customer

CreditCard#: Long integer

n 1

Page 17: case diagram

Request registration form Select the card

If not available

Fill form

Verify is not valid

Draw the strate transition diagram and case diagram for Student registration process.

Enter the pin number

MAIN SCREEN

View course detail

Submit the detail of course

Submit form

Receive acknowledgment

Check the information

Receive registration form

Request resubmit form with validationinformation

Give registration id

Page 18: case diagram

CLASS DIAGRAMStudent

S_NameS_AgeS_SexS_AddressS_PhonenoS_Qualification

Create Registration()

RegistrationR_Number

R_SnameR_SnoGet Registration Info()Set Registration Info()

1

1

Clerk

C_Name

Create Registration()Get Seats Info()Set Seats Info()Get Registration Info()Set Registration Info()

Seat

S_NoofseatsS_Remseats

Get Seats Info()Set Seats Info()

*

Page 19: case diagram

Component Diagram for ATM

ATM.exe

Cash DisposerCard Packet

Card Packet

ATM.Scores

ATM.Scores

Cash Disposer

Page 20: case diagram

17. Component Diagram for Employee Management System

Employee.exe

Salary DetailsEmployee Details

Employee Details

Attendance Details

Attendance Details

Salary Details

Page 21: case diagram

18. Component Diagram for Library Management System

Library.exe

Book DetailsRegistration Packet

Registration Packet

Transaction Details

Transaction Details

Book Details

Employee Details

Employee Details

Page 22: case diagram

19. Component Diagram for Order Processing Application

Customer Details

Order.exe

Dispatch DetailsCustomer Details

Order Details

Order Details

Dispatch Details

Goods Details

Goods Details

Page 23: case diagram

20. Component Diagram for Student Registration Process

Student.exe

Registration DetailsStudent Details

Student Details

Seat Details

Seat Details

Registration Details