67
http://csetube.tk/ ~ 1 ~ S.K.P INSTITUTE OF TECHNOLOGY TIRUVANNAMALAI Department of Computer Science and Engineering CS2357- OBJECT ORIENTED ANALYSIS AND DESIGN LAB MANUAL (III Year CSE) PREPARED BY N.GOPINATH AP/CSE http://csetube.weebly.com/

OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

Embed Size (px)

DESCRIPTION

Lab Manual for 3rd Year CSE (CS2357- OOAD Lab) By Gopinath N, SKPIT, Thiruvannamalai

Citation preview

Page 1: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 1 ~

S.K.P INSTITUTE OF TECHNOLOGY

TIRUVANNAMALAI

Department of Computer Science and Engineering

CS2357- OBJECT ORIENTED ANALYSIS AND DESIGN LAB MANUAL

(III Year CSE)

PREPARED BY

N.GOPINATH AP/CSE

http://csetube.weebly.com/

Page 2: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 2 ~

TABLE OF CONTENTS

S.NO DATE NAME OF THE EXPERIMENT MARKS SIGN

STUDY OF UML

1 PASSPORT AUTOMATION SYSTEM

2 BOOK BANK

3 EXAM REGISTRATION

4 STOCK MAINTENANCE SYSTEM

5 ON-LINE COURSE RESERVATION SYSTEM

6 E-TICKETING

7 CREDIT CARD SYSTEM

8 E-BOOK MANAGEMENT SYSTEM

9 RECRUITMENT SYSTEM

10 CONFERENCE MANAGEMENT SYSTEM

11 BPO MANAGEMENT SYSTEM

http://csetube.weebly.com/

Page 3: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 3 ~

STUDY OF UML

UML NOTATION • Unified Modeling Language.

• Set of notations and conventions used to describe and model an application.

• Universal language for modeling systems.

• Standard notation for OO modeling systems.

• Does not specify methodology to develop an application.

UML DIAGRAMS • Class Diagram

• Use Case Diagram

• Behavioral Diagram

Interaction Diagram

Sequence Diagram

Collaboration Diagram

State Chart Diagram

Activity Diagram

• Implementation Diagram

Component Diagram

Deployment Diagram

CLASS DIAGRAM • Shows the static structure of the model.

• Collection of static modeling elements such as classes and their relationships

connected as a graph.

• Provides visual representation of objects, relationships and their structures.

Class:-

• A class is a set of objects that share a common structure and common behavior.

• It is represented as:

<Class Name>

<Attributes>

http://csetube.weebly.com/

Page 4: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 4 ~

Interface:-

• Specifies the externally-visible operations of a class and/or component.

Association:-

• Model properties of associations.

• The properties are stored in a class and linked to the association relationship.

• Example,

Generalization:-

• A generalize relationship is a relationship between a more general class or use case and a more

specific class or use case.

• Example,

USE CASE DIAGRAM • Set of use cases enclosed by system boundary, communication association between actors and

use cases, and generalization among use cases.

Actors:-

• External factors that interacts with the system from the user's perspective.

<Operations>

Bank Account Person

Vehicle

Truck Bus Car

http://csetube.weebly.com/

Page 5: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 5 ~

Use Cases:-

• Set of scenarios that describe how actor uses the system.

• Represented as,

Relationship:-

• Communication – communications with the use case normally.

• Uses – Shown by generalization arrow from the use cases.

• Extends – Used when one case does more than another that is similar to it.

BEHAVIOR DIAGRAM INTERACTION DIAGRAM

• Diagrams that describes how group of objects are collaborated.

SEQUENCE DIAGRAM:

• Describes the behavior of the system through interaction between the system and the

environment in time sequence.

• Two dimensions:

Vertical dimension – represents time.

Horizontal dimension – represents objects.

• Life line – Object's existence during the interaction.

<Event>

COLLABORATION DIAGRAM:

Object 1 Object 2

http://csetube.weebly.com/

Page 6: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 6 ~

• An interaction diagram that shows the order of messages that implement an operation or a

transaction.

• Collaboration diagrams show objects, their links, and their messages.

1. <Event >

Object:-

• An object has state, behavior, and identity.

• Objects interact through their links to other objects.

Link:-

• A link is an instance of an association, analogous to an object.

Message:-

• A message is the communication carried between two objects that trigger an event.

STATECHART DIAGRAM

• Models the dynamic behavior of individual classes or any other kind of object.

• Shows the sequences of states, events, and actions.

State:-

• Represents a condition or situation during the life of an object during which it satisfies some

condition or waits for some event.

Start State:-

• Shows the beginning of workflow.

End state::-

• Represents the final or terminal state.

ACTIVITY DIAGRAM

Object 1 Object 2

<State>

http://csetube.weebly.com/

Page 7: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 7 ~

• Used for modeling the sequence of activities in a process

• Special case of a state machine in which most of the states are activities and most of the

transitions are implicitly triggered by completion of the actions in the source activities.

Activity:-

• Represents the performance of task or duty in a workflow.

Swim lanes:-

• Represents organizational units or roles within a business model.

IMPLEMENTATION DIAGRAM • Shows the implementation phase of system development.

• Two types of implementation diagrams:

Component diagram

Deployment diagram

COMPONENT DIAGRAM

• Models the physical components in the design.

• A graph of the design’s components connected by dependency relationships.

• Includes concept of packages.

• Package is used to show how classes are grouped together.

DEPLOYMENT DIAGRAM

• Shows the configuration of runtime processing elements and software components.

• It is a graph of nodes connected by communication association.

• Nodes are the components that are connected to other components through dependencies.

• Used in conjunction with component diagrams to show the distribution of physical modules.

<Activity>

http://csetube.weebly.com/

Page 8: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 8 ~

EXNO: 1

DATE:

PASSPORT AUTOMATION SYSTEM

AIM

To develop the Passport Automation System using rational rose tools.

PROBLEM ANALYSIS AND PROJECT PLAN

To simplify the process of applying passport, software has been created by designing through

rational rose tool, using visual basic as a front end and Microsoft access as a back end.The applicant

apply passport in the online, after submitting his details then verification process started. During

verification process the status of the verification process is displayed. The applicant can view their

passport status.

After the verification process completed successfully the passport is issued to applicant.

PROBLEM STATEMENT

• Passport Automation System is used in the effective dispatch of passport to all of the applicants.

This system adopts a comprehensive approach to minimize the manual work and schedule

resources, time in a cogent manner.

• The core of the system is to get the online registration form (with details such as name, address

etc.,) filled by the applicant whose testament is verified for its genuineness by the Passport

Automation System with respect to the already existing information in the database.

• This forms the first and foremost step in the processing of passport application. After the first

round of verification done by the system, the information is in turn forwarded to the regional

administrator's (Ministry of External Affairs) office.

• The application is then processed manually based on the report given by the system, and any

forfeiting identified can make the applicant liable to penalty as per the law.

• The system forwards the necessary details to the police for its separate verification whose report

is then presented to the administrator. After all the necessary criteria have been met, the original

information is added to the database and the passport is sent to the applicant.

http://csetube.weebly.com/

Page 9: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 9 ~

USE CASE DIAGRAM

Use case is shown as an ellipse containing the name of use case .An actor is shown as a stick

figure with the name below it. Use case diagram is a graph of actors.

DOCUMENTATION OF USECASE DIAGRAM

• The actors in use case diagram are Applicant, regional administrator, database, passport

Administrator, Police.

• The use cases are Login, givedetails, logout, collectdetails, verification, issue.

• The actors uses the use case are denoted by the arrow

http://csetube.weebly.com/

Page 10: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 10 ~

CLASSDIAGRAM

A class is drawn as rectangle box with three compartments or components separated by

horizontal lines. The top compartment holds the class name and middle compartment holds the attribute

and bottom compartment holds list of operations.

DOCUMENTATION OF CLASS DIAGRAM

• The classes are Applicant, database, regional administrator, passport administrator, and police.

• The applicant has attribute such as name and password and operations are login, givedetails and

logout.

• The database has attribute such as name and operation is store.

• The regional administrator has attribute such as name and operation are get details, verify

details and send.

• The passport administrator has attribute such as name and operation are get details, verify

details and issue.

• The police has attribute such as name and operation are get details, verify details and send.

http://csetube.weebly.com/

Page 11: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 11 ~

SEQUENCE DIAGRAM

A sequence diagram shows an interaction arranged in time sequence,

It shows object participating in interaction by their lifeline by the message they exchange arranged in

time sequence.Vertical dimension represent time and horizontal dimension represent object.

DOCUMENTATION OF SEQUENCE DIAGRAM.

• The applicant login the database and give his details and database store the details.

• The passport administrator get the details from the database and do verification and the

forward to regional administrator.

• The regional administrator get details form passport administrator and perform

verification and send report to passport administrator.

• The police get the details form passport administrator and perform verification and send

report to passport administrator

http://csetube.weebly.com/

Page 12: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 12 ~

COLLABORATION DIAGRAM

A collaboration diagram is similar to sequence diagram but the message in number format.

In a collaboration diagram sequence diagram is indicated by the numbering the message

DOCUMENTATION OF COLLABORATION DIAGRAM

• The applicant, passport administrator, regional administrator, police and database

functions are show in sequence number

• The applicant first login the passport automation system and submit his details the

passport administrator, regional administrator and police verification are denoted.

.

STATE CHART DIAGRAM

The state chart diagram contains the states in the rectangle boxes and starts in indicated by the

dot and finish is indicated by dot encircled.The purpose of state chart diagram is to understand the

algorithm in the performing method.

DOCUMENTATION OF STATE CHART DIAGRAM

• The states of the passport automation system are denoted in the state chart diagram

• Login state represent authentication for login the passport automation system.

http://csetube.weebly.com/

Page 13: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 13 ~

• In this state, it checks whether the applicant has provided all the details that is required.

• Police,regional administrator and passport administrator get necessary details and verification of the

applicant are denoted from the Getdetail state and verification state

ACTIVITY DIAGRAM

An activity diagram is a variation or special case of a state machine in which the states or

activity representing the performance of operation and transitions are triggered by the completion of

operation.

The purpose is to provide view of close and what is going on inside a use case or among several

classes.An activity is shown as rounded box containing the name of operation.

DOCUMENTATION OF ACTIVITY DIAGRAM

• In this diagram, the activities taken place are login, give details, get details, verification and

issuing of passport.

• Initially, the user has to login into the website through their id and password.

http://csetube.weebly.com/

Page 14: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 14 ~

• After, signing in successfully the user have to give the necessary details

• . The given details are then verified, if the verification is successful then passport is

issued else penalty as per law.

COMPONENT DIAGRAM

The component diagram is represented by figure dependency and it is a graph of design of

figure dependency.

DOCUMENTATION OF COMPONENT DIAGRAM

• The modules in the component diagram are applicant, passport administrator, regional

administrator, police and passport automation system.

• The applicant passport administrator regional administrator and police are dependent on the

passport automation system are shown by the dotted arrow

DEPLOYMENT DIAGRAM

It is a graph of nodes connected by communication association. It is represented by a three

dimensional box

http://csetube.weebly.com/

Page 15: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 15 ~

DOCUMENTATION OF DEPLOYMENT DIAGRAM

• The modules in the deployment diagram are applicant, passport administrator, regional

administrator, police and passport automation system.

• The applicant passport administrator regional administrator and police are dependent on the

passport automation system are shown by the arrow

RESULT: Thus the Passport Automation System is successfully done and the UML diagram are

implemented by using the Rational rose.

http://csetube.weebly.com/

Page 16: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 16 ~

book details

issueing the bookbookbank

Register

collecting the book

database

Students

EX NO: 2 BOOK BANK

DATE: AIM

To design an object oriented model for Book Bank using rational rose tools, and implement it in

the visual basic and MS access

PROBLEM ANALYSIS AND PROJECT PLANNING

The requirements book from the student is got and the requirements about the

Book Bank are refined. The requirements are analyzed and verified. So that it enable the student to

efficiently get the book from Book Bank. The project scope is identified and problem statement is

prepared.

PROBLEM STATEMENT 1. Student visit and enquire the Book Bank. 2. Student selects the required scheme. 3. The form was filled by the student for join the Book Bank. 4. The membership card is issued. 5. The Book Banker checks the availability from the database. 6. If the book is available, the banker issues the book else collect books in a particular date.

1. USE CASE DIAGRAM

Use case is a sequence of transfer in a system whose task is to yield results of

measurable value to individual action of the system.Use case is a set of sceneries of lied together by a

common user goal. A sceneries is a sequence of step describing an interaction between a user and a

system

http://csetube.weebly.com/

Page 17: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 17 ~

DOCUMENTATION OF USE CASE DIAGRAM

The use case diagram in the Book Bank illustrates the following sequence of steps. It

is all for followed by the student and banker who are in charge of Book Bank.

Enquiry

The student wants to join the Book Bank for study about his subject. So he must enquire about

the Book Bank rules and information about the Book Bank.

Fill the form for join

The Student fills the form and gets the Membership card

Book details

Then the student enquire about the Book details and fill the form for the require Book.

Issuing the Book

The Banker issue the Book which is mention in the form by the student.

Collecting the Book

The student gets the Book and student about his subject by using this Book and returns it on the

particular date.

Database

The Book Bank database was updated for each book issuing.

2. CLASS DIAGRAM

The class diagram describes the types of objects in the system and various kinds if static

relationship that exist among them.

DOCUMENTATION OF CLASS DIAGRAM

The various classes involved in the system are registered

The student enquire and join the Book bank

Then student did he action of enquire , join , and collect

The Book Bank did the action of checking , issuing , storing

The student fill the form by fill his name, college name, course

The bank issue the membership card to him, and he use this as a identity card

The book bank have the attributes of its name and address

http://csetube.weebly.com/

Page 18: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 18 ~

studentstudent bookbankbookbank databasedatabase

register

check

verify

issue the book

submit book information

It issue the book to student and get it back in the particular date

3. INTERACTION DIAGRAM

Interaction diagram are diagram that describes how groups of objects

collaborate to get the job done.

Interaction diagram capture the behavior of a single use case showing the pattern of interaction among

object.’

3.1. SEQUENCE DIAGRAM

A sequence diagram is one that includes the object of the project and tells the left

line and also various act performed behavior object.

DOCUMENTATION OF SEQUENCE DIAGRAM

The single use case in the Book Bank process is taken and various operations

followed in use case.

In this sequence ,the student enquire the Book Bank detail from the Banker and

known about the Bank

Then the student fill the form for join the book bank and require the book from the

Book Bank

The Banker check the book which is request the student is available or not

If the book is available, the Banker issue the Book to the student

Then the Book bank database is update when the book is returned

3.2. COLLABORATION DIAGRAM

It is same as the sequence diagram that involve the project with only difference, that

we give sequence number to each process

http://csetube.weebly.com/

Page 19: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 19 ~

submit book details

register

checking

issues

student bookbank

database

1: register3: request the book

5: issue the book

2: check4: verify

DOCUMENTATION OF COLLABORATION DIAGRAM

The sequence steps is

Enquire the information about the book bank and join the bank

Request the book from the banker

The banker check the availability

Then issue the available book to the student

The database was updated

4. STATECHART DIAGRAM

It is a technology to describe the behavior of the system. It describes all of the possible

state that a particular object object gets into the object oriented technique.

State diagram are drawn for a single class to show the left time behavior of a single object.

http://csetube.weebly.com/

Page 20: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 20 ~

DOCUMENTATION OF STATECHART DIAGRAM

The state diagram describes the behavior of the system.

The main purpose is to get the book from the book bank

After getting the book the student study that and return it to the bank

In between the student enquire and join the book bank and get the

membership card

Then he use this card and get the book from the book bank

5.ACTIVITY DIAGRAM

It involves all the activities of particular project and the various step

using join and far be.The activity diagram describes the operations that are carried out by analysis

system. It involves the activities and there are various steps using joins and forks.

not available

register

submit book details

if

no

get the book

yes

DOCUMENTATION OF ACTIVITY DIAGRAM

The student enquires about the book bank. Then he fills the form for join. Then he

gets the book from the book bank. Safely return it in the particular date

6. COMPONENT DIAGRAM

The component diagram is represented by figure dependency and it is a graph of design of

figure dependency.

http://csetube.weebly.com/

Page 21: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 21 ~

DOCUMENTATION OF COMPONENT DIAGRAM

This is component diagram represents the dependences that are present in the Book Bank system.

7. DEPLOYMENT DIAGRAM:

It is a graph of nodes connected by communication association. It is represented by a three

dimensional box

DOCUMENTATION OF DEPLOYMENT DIAGRAM

This diagram represent deployment diagram of the Book Bank system.In this

the process of register, enquiry, issueing the book, collect the book, database update are done

RESULT Thus the Book bank process is successfully done and the UML diagram are implemented by

using the Rational rose.

http://csetube.weebly.com/

Page 22: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 22 ~

Select Questions

Verify User Login

Evaluate

Generate Report

System

Define Rules

Update Database

Maintain Server

Administrator

EX. NO. 3 EXAM REGISTRATION

DATE:

PROBLEM STATEMENT

Design an automated exam registration System that contains a database that holds five different

questions with four options. The user has to select one option and 2points is awarded on each correct

answer. The Quiz comprises of five questions. Each question contains four options of which one is

correct. The user has to select one option and he/she is awarded 2points on each correct answer.

Design a Login form to enter Username. Before entering the Quiz, an Instruction form is shown

to the user. If the user accepts the instruction, the Quiz Questions form is shown. The user has to select

one correct option out of the four options for each question and click next. 2points are awarded on each

correct answer given. After answering the last question of the Quiz, the Score form is displayed.

Use – Case Diagrams: System: Administrator:

http://csetube.weebly.com/

Page 23: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 23 ~

Enter Details

Specify Field

Take the Test

Print Report

Participant

Participant:

Class Diagram:

http://csetube.weebly.com/

Page 24: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 24 ~

Participant : User

System : Systm

Database : Database

Score : Systm

Login & PasswordVerify Login

AcknowledgeDisplay Instruction

Ask for Field

Provide FieldRetrieve Question

Provide Question

Give AnswerValidate Answer

Submit Score

Update Score

Provide Final Scoreuser details & score

Generate Report

Idle

entry/ User & System at Idle Stateexit/ Ask for Password

Start

entry/ Login & Passwordexit/ Successful Login

Test

entry/ Take the Testexit/ User terminates/finishes or time expires

Verify

entry/ Completion of Testexit/ Verification Complete

Report

entry/ Score Generatedexit/ Report Generated

Sequence Diagram: State Chart Diagram:

http://csetube.weebly.com/

Page 25: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 25 ~ http://csetube.weebly.com/

Page 26: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 26 ~

Server

User Interface

Database

Server

Client PC

Database

TCP/IPTCP/IP

Printer

LPT1

Component Diagram:

Deployment Diagram:

RESULT:

Thus the Exam Registration system is successfully done and the UML diagram are implemented

by using the Rational rose.

http://csetube.weebly.com/

Page 27: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 27 ~

EX. NO. 4 STOCK MAINTENANCE SYSTEM

DATE:

Problem Statement

To improve the operational efficiency of a mail order company, the chief executive officer is

interested in computerizing the company’s business process. The major business activities of the

company can be briefly described as follows.

The company aims to provide high quality mail order service to all registered members of the

company.

An individual or a company registers as a member by completing the registration form and

sending it to the customer service department.

At the beginning the system displays the order option window. The customer may select an

order from the list of orders present in the window. The customer service department verifies the

membership and forwards the order to the sales department. If the order can be processed with existing

stock, the sales department processes the order and issue delivery note to the inventory department and

the information about each order present in the order details helps the trader to update the database.

Otherwise a sales department isseues the purchase order to the supplier. When all items are

available, the inventory department delivers the item to the member, and the accounts deparment issues

the invoice to the member.

On receiving the payment the accounting system is updated and the trading manager closes the

order. The customer can cancel the order at any time and the database is updated. The customer details

and the order details, which are placed, must be prevented from unauthorized access.

Stock maintenance System Use Case Diagram

http://csetube.weebly.com/

Page 28: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 28 ~

Class Diagram:

http://csetube.weebly.com/

Page 29: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 29 ~

Interaction Diagrams: Sequence Diagram: Collaboration Diagram:

http://csetube.weebly.com/

Page 30: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 30 ~

State Chart Diagram: Component Diagram:

http://csetube.weebly.com/

Page 31: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 31 ~ http://csetube.weebly.com/

Page 32: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 32 ~

Deployment Diagram: Result Thus the Stock maintenance system is successfully done and the UML diagram are

implemented by using the Rational rose.

http://csetube.weebly.com/

Page 33: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 33 ~

Ex. No. 5 ONLINE COURSE RESERVATION Date: Problem Statement As the head of information systems for a college, you are tasked with developing a new student registration system. The college would like a new client-server system to replace its much older system developed around main frame technology. The new system will allow students to register for courses and view report cards from PCs attached to the campus LAN. Professors will be able to access the system to sign up to teach courses as well as record grades.

Students may request a course catalogue containing list of course offering for all college. Information about each course, such as professor, department and prerequisites, will be included to help students make informed decisions.

Once the registration process is completed for the student, the registration system sends information to the billing system so that the student can be billed for the course. USE CASE DIAGRAM

http://csetube.weebly.com/

Page 34: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 34 ~

CLASS DIAGRAM COMPONENT DIAGRAM

http://csetube.weebly.com/

Page 35: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 35 ~

ACTIVITY DIAGRAM

http://csetube.weebly.com/

Page 36: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 36 ~

SEQUENCE DIAGRAM

http://csetube.weebly.com/

Page 37: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 37 ~

STAT E CHART DIAGRAM

DEPLOYMENT DIAGRAM Result Thus the On-line course registration system is successfully done and the UML diagram are

implemented by using the Rational rose.

http://csetube.weebly.com/

Page 38: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 38 ~

EX. NO. 6 E- TICKETING

DATE: Problem Statement Our project is carried out to develop software for online Railway Reservation System. The software is coded in VB, which is the front end, and it has Back end, which contains information about the reservation and the availability of seats in trains. It has various options like reservation, cancellation and to view details about available seats. Our project mainly simulates the role of a Railway ticket booking officer, in a computerized way. The reservation option enables a person to reserve for a ticket at their home itself. All he/ she has to do is to just login and enter the required details. After this the reservation database is updated with the person details, train name and also the source and destination place. The cancellation option enables the passenger to cancel the tickets that has been already booked by him/her. The availability option prompts the person to enter train number, train name and date of travel. After this the availability database is accessed and available positions are produced. USE CASE DIAGRAM :-

http://csetube.weebly.com/

Page 39: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 39 ~

CLASS DIAGRAM :- INTERACTION DIAGRAM :-

http://csetube.weebly.com/

Page 40: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 40 ~

ACTIVITY DIAGRAM :-

http://csetube.weebly.com/

Page 41: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 41 ~

STATE CHART DIAGRAM :-

http://csetube.weebly.com/

Page 42: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 42 ~

COMPONENT DIAGRAM :- DEPLOYMENT DIAGRAM :-

Result Thus the E-Ticketing system is successfully done and the UML diagram are implemented by

using the Rational rose.

http://csetube.weebly.com/

Page 43: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 43 ~

EX. NO. 7 CREDIT CARD SYSTEM

DATE:

Problem Statement

Software is developed for credit card system coded in VB, which is the front end, and it has a

Microsoft Access database that is used as the back end, which contains the information about the

customer details and there account details. It has various options like cash payment, amount balance

books.

The buy option enables a customer to search for different things on internet easier and efficient

manner. All he has to do is to just enter the required category and the amount transaction details. Once

the item is available the customer is asked to enter his/her account number and the item is issued.

The view option enables the customer to view details about the available balance and to get the

information about the transactions. By entering the account number he can view the list of transaction

details.

UseCase Diagram Client

http://csetube.weebly.com/

Page 44: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 44 ~

Use Case Diagram Administrator

UML Class Diagram

http://csetube.weebly.com/

Page 45: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 45 ~

Interaction Diagram Sequence Diagram

http://csetube.weebly.com/

Page 46: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 46 ~

Collaboration Diagram

http://csetube.weebly.com/

Page 47: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 47 ~

State Chart Diagram

http://csetube.weebly.com/

Page 48: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 48 ~

Activity Diagram

Component Diagram

http://csetube.weebly.com/

Page 49: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 49 ~

Deployment Diagram

Forward Engineering

RESULT

Thus the Credit card system is successfully done and the UML diagram are implemented by

using the Rational rose.

http://csetube.weebly.com/

Page 50: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 50 ~

exit

user display table of contents

display the information

search for topic

system

select topic

USER SYSTEM

1: SELECT THE TOPIC

2: DISPLAY TABLE OF CONTENTS

3: SEARCH FOR TOPIC

4: DISPLAY THE INFORMATION

5: EXIT

EX.NO:8 E-BOOK MANAGEMENT SYSTEM DATE:

PROBLEM DOMAIN

INTRODUCTION:

This E-BOOK should contain index of the topics. When the main page is visited index of

the topics is displayed. Select the required topic and double click on it. Then the page with the contents

of the selected topic will be displayed. A certain option is also present in that page to go back to main

page and search for other topics.

STEPS:

• Create a main page.

• Main page contains index of certain topics.

• When a particular topic is required double click on it.

• It displays a page with the contents of that topic.

• A separate option is present to go back to main page.

USE-CASE DIAGRAM:

COLLABORATION DIAGRAM:

http://csetube.weebly.com/

Page 51: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 51 ~

SELECT E-BOOK

CHOOSE THE MAIN TOPIC

CHOOSE THE SUB TOPIC

USERUSER SYSTEMSYSTEM

1: SELECT THE TOPIC

2: DISPLAY TABLE OF CONTENTS

3: SEARCH FOR TOPIC

4: DISPLAY THE INFORMATION

5: EXIT

ACTIVITY DIAGRAM:

SEQUENCE DIAGRAM:

http://csetube.weebly.com/

Page 52: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 52 ~

CPU

KEYBOARD

MOUSE

PRINTER

DEPLOYMENT DIAGRAM:

Note: Create the Class Diagram by your own (For your practice) RESULT: Thus thee-Book management system is successfully done and the UML diagram are

implemented by using the Rational rose.

http://csetube.weebly.com/

Page 53: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 53 ~

Ex. No. 9 RECRUITMENT SYSTEM

Date:

PROBLEM STATEMENT

Design a Recruitment System with all necessary details such as Employee number, Employee

name, his personal details and Designation, etc. where a operator can select his Employee number and

see the details of him. And also calculate Basic pay, HRA, Allowance, etc, for salary details. The

Employee Payroll System consist of details of Employee who already working in the company or a

newly employed person. The details of newly employed person should be updated in the database.

This new software for payroll does various tasks to facilitate the companies recruitment and payroll

calculation. The various tasks done are:

1. To get the employee ID that is used for login purposes. This ID is verified for authentication

with the database and the employee is given the rights to login.

2. After logging in, the next task is to display all the details of the employee displaying the details

such as

i. Name.

ii. Designation

iii. Employee ID

3. The next task is to calculate the salary of the employee taking into account the following details

such as HRA, DA, TA, PF, LIC as follows

Gross Salary = (per day salary * worked days) + (HRA + DA + TA)

4. The final task is to calculate the net salary by calculating the detection

Deduction = PF + LIC

Net Salary = Gross Salary – Deduction

5. The salary calculation differs for each employee depending upon his designation and it should

be mentioned by the employee while logging in the system.

http://csetube.weebly.com/

Page 54: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 54 ~

USECASE DIAGRAM:

CLASS DIAGRAM:

http://csetube.weebly.com/

Page 55: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 55 ~

ACTIVITY DIAGRAM:

http://csetube.weebly.com/

Page 56: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 56 ~

SEQUENCE DIAGRAM:

http://csetube.weebly.com/

Page 57: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 57 ~

COLLABORATION DIAGRAM:

STATECHART DIAGRAM:

DEPLOYMENT DIAGRAM:

RESULT

Thus the Recruitment system is successfully done and the UML diagram are implemented by

using the Rational rose.

http://csetube.weebly.com/

Page 58: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 58 ~

EX.NO:10 CONFERENCE MANAGEMENT SYSTEM DATE:

1. PROBLEM STATEMENT:

This project deals with the conference management system. As a students or staff

members are required to view the details of conference is going to conduct in various colleges or

institutions and to attend the conference to gain knowledge from the conferences. Administrator will

add the details about the various conferences available to attend for various department students and

staff members. User will enter into the system by giving the username and password and selection form

will be displayed for the user from that department should be selected and depending up on the

department the conference management system will show the details of the conferences in various

place using Ms Access and Visual basic 6.0.

USE CASE DIAGRAM:

http://csetube.weebly.com/

Page 59: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 59 ~

select department

enter id

view details exit

useruser departmentdepartment administratoradministrator databasedatabase

1: enter the username and password

2: verify useername and password

3: display the selection of department

4: select the department

5: verify the department

6: view the details

ACTIVITY DIAGRAM:

CLASS DIAGRAM:

SEQUENCE DIAGRAM:

http://csetube.weebly.com/

Page 60: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 60 ~

user administrator

department

database

1: enter the username and password

2: verify useername and password

3: display the selection of department

4: select the department

5: verify the department

6: view the details

administrator data base

display

student

data base

useradmin

display

COLLABRATION DIAGRAM:

COMPONENT DIAGRAM:

DEPLOYMENT DIAGRAM:

http://csetube.weebly.com/

Page 61: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 61 ~

RESULT: Thus the Conference management System is successfully done and the UML diagram are

implemented by using the Rational rose.

http://csetube.weebly.com/

Page 62: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 62 ~

EX. NO: 11 BPO MANAGEMENT SYSTEM DATE: AIM: To prepare the document for BPO Management System and to develop the UML diagrams

using case tools software.

PROBLEM STATEMENT: A call center or call center (see spelling differences) is a centralized office used for the purpose

of receiving and transmitting a large volume of request by telephone

A BPO is operated by a company to administer product support or information inquiries from

customers. Outgoing calls for telemarketing, client and dept collection are also made. In addition to a

calls for center, collective handling of letters, faxes, and e-mails at one location is known as a contact

centre.

A BPO is often operated through an extensive open workspace for call center agents, with work

stations that include a computer for each agent, a telephone set/headset connected to a telecom switch,

and one or more supervisor stations. It can be independently operated or networked with additional

centers, often linked to a corporate computer network, including mainframes, microcomputers and

LANs. Increasingly, the voice and data pathways into the centre are linked through a set of new

technologies called Computer Telephony Integration (CTI).

Most major business use call centers to interact with their customers. Examples include utility

companies, mail order catalogue firms, and customer support for computer hardware and software.

Some business even service internal functions through call centers.

http://csetube.weebly.com/

Page 63: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 63 ~

USE CASE DIAGRAM:

http://csetube.weebly.com/

Page 64: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 64 ~

SEQUENCE DIAGRAM:

COLLABORATION DIAGRAM:

http://csetube.weebly.com/

Page 65: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 65 ~

CLASS DIAGRAM:

.

ACTIVITY DIAGRAM:

http://csetube.weebly.com/

Page 66: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 66 ~

COMPONENT DIAGRAM:

DEPLOYMENT DIAGRAM: .

RESULT: Thus the BPO Management system is successfully done and the UML diagram are implemented

by using the Rational rose.

http://csetube.weebly.com/

Page 67: OOAD Orginal Lab Exercise as Per 2008 Regulation by Gopi

http://csetube.tk/

~ 67 ~

Experiments for Practice

http://csetube.weebly.com/