You are on page 1of 138

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
PREPARED BY N.GOPINATH AP/CSE
1

us iv

e. bl

CS2357- OBJECT ORIENTED ANALYSIS AND DESIGN LAB MANUAL (III Year CSE)

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

NAME REG.NO DEPT SEM

: : : : :

.e

SUB CODE/NAME

ee

ex

cl

us iv
2

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

TABLE OF CONTENTS

S.NO

DATE

NAME OF THE EXPERIMENT


INTRODUCTION TO RATIONAL ROSE SOFTWARE

MARKS SIGN

1 2 3 4 5
6 7 8 9 10 11 12

ATM SYSTEM ONLINE RESERVATION SYSTEM ONLINE QUIZ SYSTEM

STOCK MAINTENANCE SYSTEM

STUDENT MARK ANALYSIS SYSTEM COURSE REGISTRATION SYSTEM

ee

.e

LIBRARY MANAGEMENT SYSTEM REAL TIME SCHEDULER REMOTE PROCEDURE CALL ONLINE PURCHASE SYSTEM

ex

cl

PAYROLL SYSTEM EXPERT SYSTEM

us iv
3

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


BATCH SPLITUPS : Batch - I Batch - II REG NO 52909104021 52909104022 52909104023 52909104024 52909104025

DEPT

: CSE

Roll.NO
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

REG NO 52909104001 52909104002 52909104003 52909104004 52909104005 52909104006 52909104007 52909104008 52909104009 52909104010 52909104011 52909104012 52909104013 52909104014

Roll.NO
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

us iv
4

ex

cl

ee

.e

52909104015 52909104016 52909104017 52909104018 52909104019 52909104020

e. bl

og

sp ot .c om
52909104026 52909104027 52909104028 52909104029 52909104030 52909104031 52909104032 52909104033 52909104034 52909104035 52909104036 52909104037 52909104301 52909104302

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

Lab Plan for Tuesday Batch

DATES
20.12.2011 20.12.2011 27.12.2011 03.01.2012 10.01.2012 24.01.2012 31.01.2012 07.02.2012 14.02.2012 14.02.2012 21.02.2012 21.02.2012 28.02.2012

Roll.NO 1to20 1to20 1to20 1to20 1to20 1to20 1to20 1to20 1to20 1to20

EXERCISE FOR BATCHES INTRODUCTION TO RATIONAL ROSE SOFTWARE ATM SYSTEM ONLINE RESERVATION SYSTEM ONLINE QUIZ SYSTEM

STOCK MAINTENANCE SYSTEM

ee

1to20 1to20 1to20

.e

ex

cl
EXPERT SYSTEM LIBRARY MANAGEMENT SYSTEM REAL TIME SCHEDULER REMOTE PROCEDURE CALL ONLINE PURCHASE SYSTEM 5

us iv

COURSE REGISTRATION SYSTEM PAYROLL SYSTEM

e. bl

STUDENT MARK ANALYSIS SYSTEM

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

Lab Plan for Friday Batch

DATES 23.12.2011 23.12.2011 30.12.2011 06.01.2012 20.01.2012 27.01.2012 03.02.2012 10.02.2012 10.02.2012 17.02.2012 24.02.2012 02.03.2012 09.03.2012

Roll.NO 21to39 21to39 21to39 21to39 21to39 21to39 21to39 21to39 21to39 21to39

EXERCISE FOR BATCHES INTRODUCTION TO RATIONAL ROSE SOFTWARE ATM SYSTEM ONLINE RESERVATION SYSTEM ONLINE QUIZ SYSTEM

STOCK MAINTENANCE SYSTEM

ee

21to39 21to39 21to39

.e

RATIONAL ROSERATIONAL ROSE

ex

cl
EXPERT SYSTEM LIBRARY MANAGEMENT SYSTEM REAL TIME SCHEDULER REMOTE PROCEDURE CALL ONLINE PURCHASE SYSTEM 6

us iv

COURSE REGISTRATION SYSTEM PAYROLL SYSTEM

e. bl

STUDENT MARK ANALYSIS SYSTEM

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611. RATIONAL ROSE SOFTWARE


ANALYSIS AND DESIGN

DEPT

: CSE

USE CASE VIEW

PROCESS VIEW It addresses the performance, scalability and throughput of the system. It includes the threads and the processes that found the system concurrency and synchronization mechanism. It is not necessary for single processing environment.

COMPONENT VIEW

It supports the functional requirements of the system. It includes the use case realization, class diagram, interaction diagram, state chart and activity diagram.

LOGICAL VIEW

.e

ee

Contains the use case models, flow of events and supplementary documentation. It is a contract between customer and developer. It is essential for analysis, design and test activities. It also contains activity diagrams. It contains the use case diagrams. It is the heart of the other views that represent the required behaviour of the system.

ex

cl

us iv
7

e. bl

og

sp ot .c om

The applications method recommends the use of static and dynamic views of a logical model and a physical model to capture the in-process products of object-oriented analysis and design. Using the notation, the application enables you to create and refine these views within an overall model representing your problem domain and software system. This overall model contains classes, use cases, objects, packages, operations, component packages, components, processors, devices and the relationships between them. Each of these model elements possesses model properties that identify and characterize them. The notation provides graphical icons to represent each kind of model element and relationship. A model also contains diagrams and specifications, which provide a means of visualizing and manipulating the models elements and their model properties. Since diagrams are used to illustrate multiple views of a model, icons representing a model element can appear in none, one, or several of a models diagrams. The application therefore enables you to control, which element, relationship, and property icons appear on each diagram, using facilities provided by its application window. Within its application window, it displays each diagram in a diagram window, and each specification in a specification window.

S.K.P Institute of Technology Tiruvannamalai 606611.


DEPT

: CSE

The component view addresses the ease of development management of software assets, reuse, subcontracting and of the shelf components. Describes the organization of static software, like source call data files components in terms of packaging, layering and configuration management.

DEPLOYMENT VIEW It addresses the issue like deployment installation and performance. The deployment view is used for distributed systems only. It shows the various executables like a runtime components and computing modes. It contains deployment diagrams.

.e

ee

ex

cl
8

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
9

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
10

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


EX NO: DATE:

DEPT

: CSE

ATM SYSTEM
AIM: To analyze, design and develop code for Automated Teller Machine system using Rational Rose software. INFRASTRUCTURE: HARDWARE REQUIREMENTS Processor: x86-based processor. Hard disk: 20 GB (min) RAM: 128 MB (min)

.e

ee

ex

cl
11

us iv

e. bl

Rational Rose Enterprise edition Visual Basic 6.0

og

SOFTWARE REQUIREMENTS

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
12

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

MODULAR DESCRIPTION VERIFICATION OF ATM CARD For the verification of ATM card by the system, the user will enter the secret code. The pin number or code number is verified with the database of the customers. If the code exactly is matched with database of that of the customers then transaction can be performed. If the code does not match with the database of the customer then the user is requested again to re-enter the pin number of the access card and is continued further. TRANSACTION

DISPLAY AND RECEIPT

.e

ee

ex

cl

In this module, after the user performs the transaction process the system displays the balance amount available in the account and the amount withdrawn by the user through receipt. The receipt will be provided at the end of the transaction process.

us iv
13

e. bl

og

In this module, the necessary transaction to be performed by the user is displayed as option by the system. The transaction options are withdrawal, deposit, balance enquiry, mini statement, pin change. The users can withdraw the amount from their account if the amount is available in their account. The users can also deposit the amount in their account either by cash or cheque. This module helps the users to check their balance in their account through balance enquiry and also they can get the mini statement for recent transaction done over their account. This module allows the users to change their pin number if they need.

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
14

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


USE CASE DIAGRAM:

DEPT

: CSE

.e

ee

ex

cl
15

us iv

CLASS DIAGRAM

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


SEQUENCE DIAGRAM

DEPT

: CSE

.e

ee

ex

cl
16

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


COLLABORATION DIAGRAM

DEPT

: CSE

.e

ee

ex

cl
17

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


ACTIVITY DIAGRAM

DEPT

: CSE

.e

ee

COMPONENT DIAGRAM:

ex

cl
18

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

RESULT: This project was carried out in a sequential manner to design and implement the ATM SYSTEM. Thus the outcome of the project is efficient. The ATM system caters the varied requirements of the user to perform various options.

.e

ee

ex

cl
19

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
20

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
21

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


EX NO: DATE:

DEPT

: CSE

ONLINE RESERVATION SYSTEM


AIM: To analyze, design and develop code for online reservation system using Rational Rose software. INFRASTRUCTURE: HARDWARE REQUIREMENTS X86 based processor RAM (128 MB min) Hard Disc (40 GB)

.e

ee

ex

cl
22

Rational Rose Software

us iv

SOFTWARE REQUIREMENTS

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
23

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

MODULAR DESCRIPTION RESERVATION MODULE: This module allows the user to reserve tickets for a particular train on a particular date if there is a vacancy. The user can know about the vacancy details of the train through the enquiry module. CANCELLATION MODULE:

.e

ee

ex

cl
24

us iv

e. bl

og

sp ot .c om

This module allows the user to cancel the tickets to a train for a particular date through the reservation officer (System). This module permits the user to know the status of the reserved ticket before and after cancellation. All these modules together prove to be a flexible Online Reservation System and it provides complete flexibility and reliability to the end users and it assures the desired performance.

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
25

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


USE CASE DIAGRAM

DEPT

: CSE

CLASS DIAGRAM

.e

ee

ex

cl
26

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


SEQUENCE DIAGRAM (Ticket reservation)

DEPT

: CSE

.e

ee

ex

cl
27

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


SEQUENCE DIAGRAM (Ticket cancellation)

DEPT

: CSE

.e

ee

ex

cl
28

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


COLLABORATION DIAGRAM (Ticket Reservation)

DEPT

: CSE

COLLABORATION DIAGRAM (Ticket Cancellation)

.e

ee

ex

cl
29

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


ACTIVITY DIAGRAM

DEPT

: CSE

.e

COMPONENT DIAGRAM

ee

ex

cl
30

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

RESULT: This project was carried out in a sequential manner to design and implement the ONLINE RESERVATION SYSTEM. Thus the outcome of the project is efficient. The ONLINE RESERVATION SYSTEM caters the varied requirements of the user to perform various options.

.e

ee

ex

cl
31

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
32

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
33

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


EX NO: DATE:

DEPT

: CSE

ONLINE QUIZ SYSTEM


AIM: To analyze, design and develop code for online quiz system using Rational Rose software. INFRASTRUCTURE: HARDWARE REQUIREMENTS X86 based processor RAM (128 MB min) Hard Disc (40 GB)

.e

ee

ex

cl
34

Rational Rose Software

us iv

SOFTWARE REQUIREMENTS

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

MODULAR DESCRIPTION

.e

ee

ex

cl
35

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


REGISTRATION MODULE:

DEPT

: CSE

This module enables the end users to register themselves to the online quiz competition through two-way communication between the coordinator and the participant. This is the most important module as it maintains the details of the participants in the database and it is the preliminary stage of the online quiz system. DISPLAY MODULE: This module provides the user with the fields i.e. the questions for which they have to answer and it displays the answers of those questions when required by the coordinator. EVALUATION MODULE:

ANNOUNCEMENT MODULE:

.e

ee

ex

cl
36

us iv

All these modules together prove to be a flexible Online Quiz System and it provides complete flexibility and reliability to the end users and it assures of the desired performance.

e. bl

This module is used to display the results of the quiz competition irrespective of the status of the result and it also displays the scores acquired by each participant or team at the end of the quiz competition.

og

sp ot .c om

This module evaluates the answers that are given by the users i.e. the participants with that of the corresponding answers in the database. Either they are correct or wrong, in both the cases the scores of the corresponding participant or team will be updated accordingly.

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

USE CASE DIAGRAM

.e

ee

ex

cl
37

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

CLASS DIAGRAM

SEQUENCE DIAGRAM (Log in)

.e

ee

ex

cl
38

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
39

us iv

e. bl

SEQUENCE DIAGRAM (Quiz)

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

COLLABORATION DIAGRAM (login)

COLLABORATION DIAGRAM (Quiz)

.e

ee

ex

cl
40

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

ACTIVITY DIAGRAM

COMPONENT DIAGRAM

.e

ee

ex

cl
41

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

RESULT: This project was carried out in a sequential manner to design and implement the ONLINE QUIZ SYSTEM. Thus the outcome of the project is efficient. The ONLINE QUIZ SYSTEM caters the varied requirements of the user to perform various options.

.e

ee

ex

cl
42

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
43

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
44

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


EX NO: DATE:

DEPT

: CSE

STOCK MAINTENANCE SYSTEM

AIM: To analyze, design and develop code for Stock Maintenance System using Rational Rose software. INFRASTRUCTURE: HARDWARE REQUIREMENTS X86 based processor RAM (128 MB min) Hard Disc (40 GB)

SOFTWARE REQUIREMENTS Rational Rose Software Visual C++ 6.0

.e

ee

ex

cl
45

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
46

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

MODULAR DESCRIPTION ORDER MODULE: This module is necessary to get the request from the customer for any product and also this module communicates with the stock module to determine the availability of stock. STOCK MODULE: This module is the one, which is necessary to add information about all the items that are to be stocked. This module provides the stock availability and also data required for new orders.

.e

ee

ex

cl
47

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
48

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


USE CASE DIAGRAM:

DEPT

: CSE

CLASS DIAGRAM:

.e

ee

ex

cl
49

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

SEQUENCE DIAGRAM

.e

ee

ex

cl
50

us iv

COLLABORATIOIN DIAGRAM: (Login)

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


ACTIVITY DIAGRAM:

DEPT

: CSE

COMPONENT DIAGRAM:

.e

ee

ex

cl
51

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

RESULT: This project was carried out in a sequential manner to design and implement the STOCK MAINTENANCE SYSTEM. Thus the outcome of the project is efficient. The STOCK MAINTENANCE SYSTEM caters the varied requirements of the user to perform various options.

.e

ee

ex

cl
52

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
53

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
54

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


EX NO: DATE:

DEPT

: CSE

STUDENT MARK ANALYSIS SYSTEM

AIM: To analyze, design and develop code for Student Mark Analysis system using Rational Rose software. INFRASTRUCTURE: HARDWARE REQUIREMENTS X86 based processor RAM (128 MB min) Hard Disc (40 GB)

.e

ee

ex

cl
55

Rational Rose Software Visual Basic 6.0

us iv

SOFTWARE REQUIREMENTS

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
56

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

MODULAR DESCRIPTION RECORD MARKS MODULE: This module enables the authenticated users to record the marks and thereby their respective grades in a database. This is the most important module as it maintains the details of the marks scored by the students in the database and it is the first and the foremost step in this system. VIEW GRADES MODULE:

.e

ee

ex

cl
57

us iv

e. bl

UPDATE MARKS MODULE: This module enables the authenticated users to update the marks of the students after each and every test in order to update the data to the present existing grades of the students. This module just allows the user to modify or update the grades of the students alone but not their personal details. This module does not allow any user just like that only authenticated users are allowed to update the necessary data after their identification through their login name and password.

og

sp ot .c om

This module permits the respective users to view their grades as and when necessary after their identification through their login name and password. This module proves to be the simplest as it does not allow the user to modify or update any information except viewing them.

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
58

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


USE CASE DIAGRAM:

DEPT

: CSE

.e

ee

ex

cl
59

CLASS DIAGRAM:

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


SEQUENCE DIAGRAM:

DEPT

: CSE

COLLABORATION DIAGRAM:

.e

ee

ex

cl
60

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


ACTIVITY DIAGRAM:

DEPT

: CSE

.e

ee

ex

cl
61

COMPONENT DIAGRAM:

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

RESULT: This project was carried out in a sequential manner to design and implement the STUDENT MARK ANALYSIS SYSTEM. Thus the outcome of the project is efficient. The STUDENT MARK ANALYSIS SYSTEM caters the varied requirements of the user to perform various options.

.e

ee

ex

cl
62

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
63

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
64

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


EX N O: DATE:

DEPT

: CSE

COURSE REGISTRATION SYSTEM

AIM: To analyze, design and develop code for Course registration System using Rational Rose software. . INFRASTRUCTURE: HARDWARE REQUIREMENTS X86 based processor RAM (128 MB min) Hard Disc (40 GB)

SOFTWARE REQUIREMENTS Rational Rose Software Visual C++ 6.0

.e

ee

ex

cl
65

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
66

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

MODULAR DESCRIPTION REGISTRATION MODULE: This module enables a student to select a course from a given set of courses. It is this module that acts as an interface between the student and the registrar. MAINTENANCE MODULE: This module is necessary to store all the information about the student to the database. This module also has the provision to retrieve the data from the database system.

.e

ee

ex

cl
67

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
68

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


USE CASE DIAGRAM:

DEPT

: CSE

CLASS DIAGRAM:

.e

ee

ex

cl
69

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


SEQUENCE DIAGRAM:

DEPT

: CSE

COLLABORATION DIAGRAM:

.e

ee

ex

cl
70

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


ACTIVITY DIAGRAM:

DEPT

: CSE

.e

COMPONENT DIAGRAM

ee

ex

cl
71

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

RESULT: This project was carried out in a sequential manner to design and implement the COURSE REGISTRATION SYSTEM. Thus the outcome of the project is efficient. The COURSE REGISTRATION SYSTEM caters the varied requirements of the user to perform various options.

.e

ee

ex

cl
72

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
73

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
74

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

EX NO: DATE:

PAY ROLL SYSTEM

AIM: To analyze, design and develop code for Payroll System using Rational Rose software. INFRASTRUCTURE: HARDWARE REQUIREMENTS X86 based processor RAM (128 MB min) Hard Disc (40 GB)

SOFTWARE REQUIREMENTS Rational Rose Software

.e

ee

ex

cl
75

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
76

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

MODULAR DESCRIPTION ADD MODULE: This module enables the manager to add new employees. This module is the most important one as this is the basic prerequisite for a payroll system. VIEW MODULE:

EDIT MODULE: to enable the manager to remove an employee from the firm.

This module enables the manager to edit the salary details of any employee. This module also has the ability

.e

ee

ex

cl
77

us iv

e. bl

og

sp ot .c om

This module permits the manager to view the details of all the employees and their salaries. This module also allows an employee to view his/her salary information.

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
78

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


USE CASE DIAGRAM:

DEPT

: CSE

CLASS DIAGRAM:

.e

ee

ex

cl
79

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


SEQUENCE DIAGRAM: (General view)

DEPT

: CSE

.e

ee

ex

cl
80

us iv

e. bl

SEQUENCE DIAGRAM: (Specified view)

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


COLLABORATION DIAGRAM: (General view)

DEPT

: CSE

COLLABORATION DIAGRAM: (Specified view)

.e

ee

ex

cl
81

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


ACTIVITY DIAGRAM:

DEPT

: CSE

.e

COMPONENT DIAGRAM:

ee

ex

cl
82

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

RESULT: This project was carried out in a sequential manner to design and implement the PAYROLL SYSTEM. Thus the outcome of the project is efficient. The PAYROLL SYSTEM caters the varied requirements of the user to perform various options.

.e

ee

ex

cl
83

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
84

us iv

e. bl

EXPERT SYSTEM

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
85

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

Ex.No: DATE:

EXPERT SYSTEM

AIM: To analyze, design and develop code for Expert System using Rational Rose software. INFRASTRUCTURE: HARDWARE REQUIREMENTS X86 based processor RAM (128 MB min) Hard Disc (40 GB)

SOFTWARE REQUIREMENTS Rational Rose Software

.e

ee

ex

cl
86

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
87

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

MODULE DESCRIPTION MODULE 1: MODULE 2: MODULE 3: MODULE 4: MODULE 5: MODULE 6: Here, ten questions are displayed. As the user chooses an option it is stored in EQ marks format for evaluation. The user logs into the system with the user login id and password. The connection is made with the EQ database where a random set of 10 questions along with their choices are selected. The questions are selected in such a way that the same set is not repeated for the same login id.

If the user is interested then provide an interface for entering personal details with EQ for future reference. The details are stored in the EQ database and can be accessed only through entering the correct password.

Again, the EQ value is compared with the database for displaying the users drawbacks and ways of improvement.

.e

ee

ex

cl

The EQ value is connected to the EQ database in which the characteristic matching the EQ value is displayed.

us iv
88

e. bl

The marks that are stored in EQ marks are transferred to EQ system. EQ system calculates the sum and displays it as Emotional Quotient.

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
89

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


USECASE DIAGRAM

DEPT

: CSE

Creation

Log-in

Answer questions

.e

CLASS DIAGRAM

ee

ex

Personal Details

cl

Maintenance

us iv

View marks

EQ Questions selectques choices

transfers

e. bl
EQ Marks selectedchoices valuatechoices() calculates EQ System choicev alue sum1()

90

og

Wait for inference

sp ot .c om

User

Administrator

S.K.P Institute of Technology Tiruvannamalai 606611.


SEQUENCE DIAGRAM

DEPT

: CSE

E S Q yste m lo in g

U r In rfa se te ce

E D ta a Q a b se

v rify u rn m a p ssw rd e se a e nd a o

p se q e n o u stio

se ct a sw r le n e

u d te m rks o d ta a pa a n a b se

ca la re lt lcu te su

g e EQre lt iv su

d la E isp y Q

COLLABORATION DIAGRAM

.e

U r se In r ce tefa

ee

ex

cl
2 v rify u e a ea d p s o : e s rn m n a sw rd E D ta a e Q a bs 5 u d tem r s o d ta a : pa ak n a b se 6 c lc la re u : a u te s lt 1 lo in : g 3 p s q e tio : oe us n 8 d la E : isp y Q 4 s le a s e : e ct n w r 7 g eE re lt : iv Q su E S te Q ys m

us iv
91

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


ACTIVITY DIAGRAM

DEPT

: CSE

S rt th ta e a p tio p lica n E te th u rn m n r e se a e a d p ssw rd n a o

V rify u rn m e se a e a d p ssw rd n a o

E te p rso a n r e nl d ta e ils

R a th ed e qe n u stio

.e

ee

ex

S v se g a e ttin s

cl
L go t o u

us iv
92

S v yo r ae u cu n E rre t Q

e. bl
S b it a sw rs um n e V wth re lt ie e su

V wp st ie a re rd co s

S le th e ct e a sw rs n e

og

sp ot .c om

E te in n r to syste m

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

COMPONENT DIAGRAM

Server

User

Expert UI

Printer

DBMS Server

DEPLOYMENT DIAGRAM

Server

ex

cl
Get details

us iv w w w .e
Get question

ee

e. bl
DBMS Server Printer UI Print result

93

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

RESULT:

This project was carried out in a sequential manner to design and implement the EXPERT SYSTEM. Thus the outcome of the project is efficient. The EXPERT SYSTEM caters the varied requirements of the user to perform various options.

.e

ee

ex

cl
94

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
95

us iv

LIBRARY MANAGEMENT SYSTEM

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
96

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

Ex.No: DATE:

LIBRARY MANAGEMENGT SYSTEM

AIM: To analyze, design and develop code for Library Management System using Rational Rose software. INFRASTRUCTURE: HARDWARE REQUIREMENTS X86 based processor RAM (128 MB min) Hard Disc (40 GB)

SOFTWARE REQUIREMENTS Rational Rose Software

.e

ee

ex

cl
97

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
98

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

MODULE DESCRIPTION MODULE 1 Provide a user interface for getting the users login details. Verify login ID and if correct, provide access to the library database.

Input the book name and the authors name.

Display the book details on the screen.

.e

ee

Issue the book.

ex

MODULE 4 Allow the user to select the book for checking out.

cl

us iv
99

e. bl

MODULE 3 Get the book details from the database.

og

sp ot .c om

MODULE 2 Provide a search mechanism to search for a particular book.

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
100

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

USE CASE DIAGRAM

Search book name

Select book name

Enter student login details

Issue the book

CLASS DIAGRAM

.e

ee

ex

cl

us iv

e. bl

101

og

sp ot .c om

Student

Librarian

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

Software Entry

Data Entry Name Id no. Book name Author DOI DOR Card no Issue Querying DOI.

Querying

Return Querying

Issue() Return ()

Renewal() Issue()

.e

ee

ex

cl

us iv

SEQUENCE DIAGRAM

e. bl

102

og

sp ot .c om

Return()

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

Student

Librarian

library Administrator

Enter Login Details Verify Authentication Grant Permission/ Deny Enter Login Details Verify Authentication

Grant Permission/Deny Enter Book name

Enter author name

e. bl
Display results

og
Check the book

COLLABORATION DIAGRAM

.e

ee

ex

cl

us iv

103

sp ot .c om

Search the book

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

Librarian Student

9: Enter author name 11: Issue the book 1: Enter Login Details 6: Grant Permission/Deny

3: 4: Enter Login Details Grant Permission/ Deny 7: Enter Book name 2: Verify Authentication 5: Verify Authentication 8: Search the book

sp ot .c om

System

ACTIVITY DIAGRAM

.e

ee

ex

cl

us iv

e. bl

104

og

Administrator

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

Enter login name

Verify

Enter book name

us iv
Check out the book

Enter author name

.e

ee

ex

cl
105

e. bl
Display the book

og

sp ot .c om

Grant permission

S.K.P Institute of Technology Tiruvannamalai 606611.


COMPONENT DIAGRAM

DEPT

: CSE

DEPLOYMENT DIAGRAM

.e

ee

Client P roces s or

ex

cl
W eb S erver
106

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

RESULT: This project was carried out in a sequential manner to design and implement the LIBRARY MANAGEMENT SYSTEM. Thus the outcome of the project is efficient. The LIBRARY MANAGEMENT SYSTEM caters the varied requirements of the user to perform various options.

.e

ee

ex

cl
107

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
108

us iv

e. bl

REAL TIME SCHEDULER

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

Ex.No:

.e

ee

ex

cl
109

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


DATE:

DEPT

: CSE

REAL TIME SCHEDULER

AIM: To analyze, design and develop code for Real Time Scheduler using Rational Rose software. INFRASTRUCTURE: HARDWARE REQUIREMENTS X86 based processor RAM (128 MB min) Hard Disc (40 GB)

SOFTWARE REQUIREMENTS Rational Rose Software

.e

ee

ex

cl
110

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
111

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

MODULE DESCRIPTION MODULE 1-GET USER DETAILS Get the name, ID and Phone number of the user. Get the password from the user. Give options to either view the schedule of the user or to add a new schedule.

MODULE 2-VIEW SCHEDULE

MODULE 3-ADD SCHEDULE

MODULE 5 The user must finally be informed that his schedule has been successfully created.

To reschedule, the user must first check whether he is free at the specified time or not. If yes, he can proceed with the rescheduling process. Otherwise, he must again check for an alternate time.

.e

ee

MODULE 4-RESCHEDULE

ex

cl

To add a schedule, the user must enter the name, time and location of the appointment. The user should be alerted if the schedule is made after 5 PM. If the user is busy at the selected time, he can reschedule. The user can also delete an appointment using the delete option.

us iv

e. bl
112

og

sp ot .c om

In the view schedule window, display o Appointment name o Appointment time o Appointment location

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

USE CASE DIAGRAM


113

.e

ee

ex

cl

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

V ie w S c h e d ule

A d d S c h e d u le

D e le t e S c h e d u le P e rs o n _ D e ta ils R e s c h ed u le

P ers on P ers on_N am e P ers on_ID P hone_N o P as s w ord V iew S c hedule() E ditS c hedule()

.e

CLASS DIAGRAM

ee

ex

cl

us iv

C h e c k A va ila b ilit y

m ak es

S c hedule A c tivity Tim e Loc ation D eleteS c hedule() R es c hedule()

e. bl

og

114

sp ot .c om
needs

S y s te m

A vailability N ew_tim e N ew_loc ation C hec k A vailability ()

S.K.P Institute of Technology Tiruvannamalai 606611. SEQUENCE DIAGRAM

DEPT

: CSE

Person

Appointment Control

Appointment

View schedule

Check availability

No

.e

ee

ex

cl

Confirm appointment

us iv
Reschedule

e. bl
115

og

sp ot .c om

Add appointment

If yes, create appointment

S.K.P Institute of Technology Tiruvannamalai 606611. COLLABORATION DIAGRAM

DEPT

: CSE

1: View schedule 2: Add appointment Person Appointment Control

5: No

4: If yes, create appointment

Appointment

ACTIVITY DIAGRAM

E te d ta n r e ils

V wS e u ie ch d le

ee

ex

cl
Ad d a p in e t p o tm n

.e

us iv w
Ys e Aa b ? v ila le n o R sch d le e eu a p in e t p o tm n Cn o firm sch d le eu

e. bl
116

og

sp ot .c om

3: Check availability 6: Reschedule 7: Confirm appointment

S.K.P Institute of Technology Tiruvannamalai 606611. COMPONENT DIAGRAM

DEPT

: CSE

Client Processor

.e

ee

ex

cl
Web Server

DEPLOYMENT DIAGRAM

us iv
117

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

RESULT: This project was carried out in a sequential manner to design and implement the REAL TIME SCHEDULER. Thus the outcome of the project is efficient. The REAL TIME SCHEDULER caters the varied requirements of the user to perform various options.

.e

ee

ex

cl
118

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
119

us iv

REMOTE PROCEDURE CALL

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
120

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

Ex.No: DATE:

REMOTE PROCEDURE CALL


AIM: To analyze, design and develop code for Remote Procedure Call using Rational Rose software. INFRASTRUCTURE: HARDWARE REQUIREMENTS X86 based processor RAM (128 MB min) Hard Disc (40 GB)

SOFTWARE REQUIREMENTS Rational Rose Software

.e

ee

ex

cl
121

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
122

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

MODULE DESCRIPTION MODULE 1 Create an account for each customer. Customer has to log in using user name and password.

MODULE 2 Prepare the order. Provide each customer with the shopping cart containing all the items that the customer wants to buy. Give them access to all the details about different types of computers that is available in the store.

MODULE 3

.e

ee

ex

Send information to the warehouse to start shipping process. Print the invoice. Accept customer payment.

cl

us iv

MODULE 4

e. bl
123

Provide order form and let the customer to fill out payment and shipping details. Store the order in database. Review the order and check whether the items are available. Email the order details to the customers email id.

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

.e

ee

ex

cl
124

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

USE CASE DIAGRAM

Dis play s tandard c om puter config

B uild com puter c onfig

Order c onfigured c om puter

c us tom er

Request s alespers on c ontac t

.e

warehouse

ee

ex

cl

Inform warehouse about order

us iv
Upd ate orde r s tat us

e. bl

og

sp ot .c om
S alesperson

P rint invo ic e

Verify and ac c ep t cus tom er pay m ent

125

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

CLASS

DIAGRAM
Customer name address ph no email get order() Inv oice num ber date total Order od num date address total status sales pname Configuration item type item descp

SEQUENCE

DIAGRAM

.e

ee

ex

cl
126

us iv

e. bl

og

Paym ent payment method date receiv ed amt receiv ed

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


Customer Open new Accept config Prepare for order Display order Config window Order Order window

DEPT

: CSE

Payment

Submit order St ore order Link customer Link payment

COLLABORATION DIAGRAM

.e

Config wi ndow

ee

3: Prepare for orde r

ex

cl

us iv
4: Display order Order 6: Store order 5: Submit order Orde r wi ndow 1: Open new 2: Accep t c onfig

e. bl
7: Link customer Payment 8: Link payment

Custome r

127

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


ACTIVITYDIAGRAM

DEPT

: CSE

D la cu n isp y rre t co fig n

Gto e e rd r re u st qe

D a isp ly p rch se fo u a rm

[in m le ] co p te G t p rch se e u a d ta e ils [O ] K

sp ot .c om
Customer Order

[tim o t] e u

S re o e to rd r

e. bl

og

E a o e m il rd r d ta e ils

COMPONENT DIAGRAM

w w

w
Online shopping

.e

ee
128

ex

cl

us iv

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

DEPLOYMENT DIAGRAM

Client Processor

Web Server

.e

ee

ex

cl
129

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

1.1 Identifying the Actors 2. REQUIREMENTS 2.1 System Requirements

1.2 Identifying the Use Cases

2.2 Software Requirements 3. DESIGN 3.1 Use Case Diagram 3.2 Class Diagram 3.3 Sequence Diagram

1. ANALYSIS

.e

ee

Content Beyond Syllabus

ONLINE PURCHASE SYSTEM

ex

cl
130

us iv

This project was carried out in a sequential manner to design and implement the REMOTE PROCEDURE CALL. Thus the outcome of the project is efficient. The REMOTE PROCEDURE CALL caters the varied requirements of the user to perform various options.

e. bl

RESULT:

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


3.4 Collaboration Diagram 3.5 Activity Diagram 3.6 State Diagram

DEPT

: CSE

ONLINE PURCHASE USE CASE DIAGRAM

.e

ee

ex

cl
131

us iv

e. bl

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.


OnlineP urch ase

DEPT

: CSE

Brow se Ca tlog

S e le ct Ite m

S oftw are C ustomer


Re que st Ite m

Ask for P a ym e nt & S hipping de ta ils

Issue De ta ils

Issue Authoriz a tion

us iv

e. bl

og

sp ot .c om
B anking D ealer

ee
ONLINE PURCHASE CLASS DIAGRAM

ex w w w .e

Che ck for va lidity

cl

De lie ve r Goods

132

S.K.P Institute of Technology Tiruvannamalai 606611.


S h o p p in g C a r d
A ttr i b u te s

DEPT

: CSE

C u s to m e r
A tt r i b u te s

p u b lic flo a t s u b to t a l p u b lic flo a t s a le s m o n e y p u b lic flo a t t o ta lm o n e y


O p e r a ti o n s

1 m C r e d itC a r d 1

C re d itC a r d
O p e r a ti o n s

ONLINE PURCHASE SEQUENCE DIAGRAM

.e

p u b lic A ttr ib u te s p u b lic p riva te in t q u a n tit y p u b lic p riva te flo a t p ric e p e rit e m p u b lic O p e r a ti o n s p u b lic p u b lic It e m O fP u rc h a s e () p u b lic p u b lic in t g e tQ u a n tity () p u b lic p u b lic vo id s e t Q u a n tit y (in t va l ) p u b lic p u b lic flo a t g e tP ric e p e rit e m () p u b lic p u b lic vo id s e t P ric e p e rite m (flo a t va l p u b lic ) p u b lic C u s t o m e r fe t C u s t o m e r() p u b lic p u b lic vo id s e t C u s to m e r(C u s to m e r vau b lic pl) p u b lic P ro d u c t[ 0 . . * ] g e tP ro d u c t () p u b lic p u b lic vo id s e t P ro d u c t(P ro d u c t va l[ 0p.* b lic . u] ) p u b lic P ro d u c t[ 0 . . * ] g e tP ro d u c t () p u b lic p u b lic vo id s e t P ro d u c t(P ro d u c t va l[ 0 . .* ] )

Ite m O fP u rc h a s e

ee

C re d itC a rd () A ttr i b u te s in t g e tN u m b e r() p riva t e in t d is c o u n t ra t e vo id s e tN u m b e r(in t va l ) O p e r a ti o n s d a te g e t E x p iry d a t e () p er m Pr e f f e r e d C u s to m u b lic P re ffe re d C u s t o m e r() vo id s e tE x p iry d a te (d a t e va l ) p u b lic in t g e t D is c o u n t ra t e () b o o le a n g e t Is s u e () p u b lic vo id s e t D is c o u n t ra te (in t va l ) 1 vo id s e tIs s u e (b o o le a n va l ) * p u b lic C u s t o m e r g e t C u s to m e r() vo id a u th o riz e C h a rg e () p u b lic vo id s e t C u s t o m e r(C u s to m e r va l ) P re ffe re d () p u b lic C u s t o m e r g e t C u s to m e r1 () It e m O fP u rc h a s e g e t It e m O fP u rc h a s e () p u b lic vo id s e t C u s o t m e r1 (C u s t o m e r va l ) vo id s e tIt e m O fP u rc h a s e (Ite m O fP u rc h a s e va l ) p u b lic C u s t o m e r g e t C u s to m e r() P re ffe re d C u s t o m e r[0 . . *] g e tP re ffe rre d C u s to m e r() p u b lic vo id s e t C u s t o m e r(C u s to m e r va l ) vo id s e tP re ffe rre d C u s t o m e r(P re ffe re d C u s t o m e r va l[ 0 .. *] ) P re ffe re d C u s t o m e r[0 . . *] g e tP re ffe re d C u s t o m e r() vo id s e tP re ffe re d C u s t o m e r(P re ffe re d C u s t o m e r va l[0 . .* ] )

m Pr o d u c t 1

P ro d u c t
A ttr i b u te s O p e r a ti o n s

p u b lic P ro d u c t ()

ex

cl

us iv

e. bl

133

og

sp ot .c om

p u b lic p u b lic p u b lic p u b lic p u b lic p u b lic p u b lic p u b lic p u b lic p u b lic p u b lic p u b lic p u b lic p u b lic p u b lic p u b lic p u b lic

S h o p p in g C a rd () O p e r a ti o n s flo a t g e t S u b t o t a l() p u b lic C u s t o m e r() vo id s e tS u b to t a l(flo a t va l ) p u b lic s t rin g g e t A d d rt o s h ip () flo a t g e t S a le s m o n e y () p u b lic vo id s e t A d d rto s h ip (s t rin g va l ) m C u s to m e r vo id s e tS a le s m o n e y (flo a t va l ) p u b lic s t rin g g e t N a m e () flo a t g e t T o t a lm o n e y () 1 * p u b lic vo id s e t N a m e (s t rin g va l ) vo id s e tT o t a lm o n e y (flo a t va l ) p u b lic s t rin g g e t A d d rt o b ill() vo id p la c e O rd e r() p u b lic vo id s e t A d d rto b ill(s t rin g va l ) vo id re m o ve O rd e r() p u b lic s t rin g g e t E m a ila d d () C u s to m e rvo id [ 0 . .* ] g e t C u s to m e r() p u b lic vo id s e t E m a ila d d (s t rin g va l ) vo id s e tC u s to m e r(C u s to m e r va l[ 0 . .* ] ) p u b lic in t g e t C re d it ra t in g () C re d itC a rd vo id [0 . . * ] g e t C re d it C a rd () p u b lic vo id s e t C re d it ra t in g (in t va l ) m C u s to m e r vo id s e tC re d it C a rd (C rd e it C a rd va l[ 0 . .* ] ) p u b lic vo id d is p la y C a t e g o ry () C u s to m e r[0 . .* ] g e t C u s t o m e r() p u b lic vo id s e le c t Ite m () vo id s e tC u s to m e r(C u s to m e r va l[ 0 . .* ] ) p u b lic vo id d e lie ve rIte m () C re d itC a rd [ 0 .. *] g e tC re d itC a 1 () rd p u b lic vo id re m o ve O rd e r() vo id s e tC re d it C a rd (C re d it C a rd va l[ 0 . .* ] )

p riva t e p riva t e p riva t e p riva t e p riva t e

s t rin g a d d rt o s h ip s t rin g n a m e s t rin g a d d rt o b ill s t rin g e m a ila d d in t c re d it ra t in g

P r e ffe r e d C u s to m e r

S.K.P Institute of Technology Tiruvannamalai 606611.


: Shoppingcart : Customer
public void browsecatalog()

DEPT

: CSE

: creditcard

public void displaycatalog() public void selectItem ()

public void getCreditRating() public void getAddrToShop()

public void setCreditCard()

public void shipm entDetails()

public void authorizedCharge()

og

e. bl
public void setCrediting(int val ) public void deleverItem ()

public void setAddrToShip()

.e

ee

public void rem oveOrder()

ex

cl

us iv

public void authorize()

public void rejected()

134

sp ot .c om
public void getE xpiryDate() validation

S.K.P Institute of Technology Tiruvannamalai 606611.


ONLINE PURCHASE COLLABORATION DIAGRAM

DEPT

: CSE

: Customer
public void setAddrToShip() public void browsecatalog()

public void deleverItem () public void shipm entD etails() public void getAddrToShop() public void displaycatalog() public void getC reditR ating()

public void selectItem ()

public void setC reditC ard()

public void rem oveOrder()

: Shoppingcart
public void rejected()

public void authorize()

.e

ee

: creditcard

ex

cl
public void authorizedC harge() public void getE xpiryD ate()

us iv
135

e. bl

public void setC rediting(int val )

og

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

ONLINE PURCHASE ACTIVITY DIAGRAM


OnlinePurchase
Customer Unnamed Shoppingcart Creditcard

Browse Catlog
{ From OP_Activity }

Displaying Catlog
{ From OP_Activity }

Selecting Catlog
{ From OP_Activ...

Displaying ....

{ From OP_Activity }

e. bl

og

sp ot .c om
Validating credit
{ From OP_Activity }
Unnamed

{ From OP_Activit...

ex

cl ee
Issuing payment Accepting delivery
{ From OP_Activity } { From OP_Activity }

Delievering Item
{ From OP_Activity }

.e

us iv

Selecting &

Requesting

{ From OP_Activity }

Authorized
{ From OP_Activity }

Rejected
{ From OP_Activity }
Unnamed

136

S.K.P Institute of Technology Tiruvannamalai 606611.


ONLINE PURCHASE STATECHART DIAGRAM

DEPT

: CSE

CHECKING

PROCESS

us iv ex cl
137

e. bl
WAITING DELIVERY

ee

og .e
DISPATCH
EXIT

CANCELLING

sp ot .c om

S.K.P Institute of Technology Tiruvannamalai 606611.

DEPT

: CSE

RESULT:This project was carried out in a sequential manner to design and implement the ONLINE PURCHASE SYSTEM. Thus the outcome of the project is efficient. The ONLINE PURCHASE SYSTEM caters the varied requirements of the user to perform various options.

.e

ee

ex

cl
138

us iv

e. bl

og

sp ot .c om

You might also like