Cs2357-Object Oriented Analysis and Design Lab Manual (III Year CSE)
Cs2357-Object Oriented Analysis and Design Lab Manual (III Year CSE)
Cs2357-Object Oriented Analysis and Design Lab Manual (III Year CSE)
pr
ix.
co
m
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
PREPARED
BY
N.GOPINATH
AP/CSE
REG.NO
SEM
do
w
nl
oa
de
d
DEPT
fro
m
NAME
SUB CODE/NAME
pa
pr
ix.
co
m
:
:
:
DEPT
: CSE
DEPT
: CSE
TABLE OF CONTENTS
S.NO
DATE
fro
m
do
w
nl
oa
de
d
pa
pr
ix.
co
m
PAYROLL SYSTEM
EXPERT SYSTEM
10
11
12
MARKS SIGN
Roll.NO
REG NO
Roll.NO
Batch - II
REG NO
52909104001
21
52909104021
52909104002
22
52909104022
52909104003
23
52909104023
52909104004
24
52909104024
52909104005
25
52909104025
52909104006
26
52909104007
27
52909104008
28
52909104009
29
10
52909104010
11
52909104011
fro
m
pa
pr
ix.
co
m
52909104026
52909104027
52909104028
52909104029
52909104030
31
52909104031
52909104012
32
52909104032
52909104013
33
52909104033
52909104014
34
52909104034
52909104015
35
52909104035
16
52909104016
36
52909104036
17
52909104017
37
52909104037
18
52909104018
38
52909104301
19
52909104019
20
52909104020
39
52909104302
12
13
14
15
do
w
nl
oa
de
d
30
DEPT
: CSE
DEPT
: CSE
Roll.NO
20.12.2011
1to20
20.12.2011
1to20
ATM SYSTEM
27.12.2011
1to20
03.01.2012
1to20
10.01.2012
1to20
24.01.2012
1to20
31.01.2012
1to20
fro
m
do
w
nl
oa
de
d
07.02.2012
pa
pr
ix
.c
om
DATES
1to20
PAYROLL SYSTEM
1to20
EXPERT SYSTEM
1to20
1to20
21.02.2012
1to20
28.02.2012
1to20
14.02.2012
14.02.2012
21.02.2012
DEPT
: CSE
23.12.2011
21to39
23.12.2011
21to39
ATM SYSTEM
30.12.2011
21to39
06.01.2012
21to39
20.01.2012
21to39
27.01.2012
21to39
03.02.2012
21to39
10.02.2012
fro
m
pa
pr
ix
.c
om
Roll.NO
do
w
nl
oa
de
d
DATES
21to39
PAYROLL SYSTEM
21to39
EXPERT SYSTEM
21to39
21to39
02.03.2012
21to39
09.03.2012
21to39
10.02.2012
17.02.2012
24.02.2012
DEPT
: CSE
pa
pr
ix.
co
m
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.
USE CASE VIEW
fro
m
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.
LOGICAL VIEW
do
w
nl
oa
de
d
PROCESS VIEW
COMPONENT VIEW
DEPT
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
fro
m
pa
pr
ix.
co
m
do
w
nl
oa
de
d
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
10
DEPT
: CSE
DEPT
: CSE
EX NO:
DATE:
ATM SYSTEM
AIM:
To analyze, design and develop code for Automated Teller Machine system using Rational Rose software.
INFRASTRUCTURE:
pa
pr
ix.
co
m
HARDWARE REQUIREMENTS
Processor: x86-based processor.
Hard disk: 20 GB (min)
RAM: 128 MB (min)
do
w
nl
oa
de
d
fro
m
SOFTWARE REQUIREMENTS
11
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
12
DEPT
: CSE
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.
pa
pr
ix.
co
m
TRANSACTION
fro
m
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.
do
w
nl
oa
de
d
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.
13
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
14
DEPT
: CSE
do
w
nl
oa
de
d
CLASS DIAGRAM
fro
m
pa
pr
ix.
co
m
15
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
SEQUENCE DIAGRAM
16
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
COLLABORATION DIAGRAM
17
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
ACTIVITY DIAGRAM
COMPONENT DIAGRAM:
18
DEPT
: CSE
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
19
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
20
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
21
DEPT
: CSE
DEPT
: CSE
EX NO:
DATE:
pa
pr
ix.
co
m
INFRASTRUCTURE:
HARDWARE REQUIREMENTS
X86 based processor
RAM (128 MB min)
Hard Disc (40 GB)
do
w
nl
oa
de
d
SOFTWARE REQUIREMENTS
fro
m
22
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
23
DEPT
: CSE
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:
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
24
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
25
DEPT
: CSE
CLASS DIAGRAM
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
26
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
SEQUENCE DIAGRAM
(Ticket reservation)
27
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
SEQUENCE DIAGRAM
(Ticket cancellation)
28
DEPT
: CSE
pa
pr
ix.
co
m
COLLABORATION DIAGRAM
(Ticket Reservation)
do
w
nl
oa
de
d
fro
m
COLLABORATION DIAGRAM
(Ticket Cancellation)
29
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
ACTIVITY DIAGRAM
COMPONENT DIAGRAM
30
DEPT
: CSE
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
31
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
32
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
33
DEPT
: CSE
DEPT
EX NO:
DATE:
do
w
nl
oa
de
d
SOFTWARE REQUIREMENTS
fro
m
pa
pr
ix.
co
m
HARDWARE REQUIREMENTS
34
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
MODULAR DESCRIPTION
35
DEPT
: CSE
DEPT
: CSE
REGISTRATION MODULE:
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:
pa
pr
ix.
co
m
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.
ANNOUNCEMENT MODULE:
fro
m
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.
do
w
nl
oa
de
d
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.
36
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
37
DEPT
: CSE
fro
m
pa
pr
ix.
co
m
do
w
nl
oa
de
d
CLASS DIAGRAM
SEQUENCE DIAGRAM
(Log in)
38
DEPT
: CSE
fro
m
do
w
nl
oa
de
d
SEQUENCE DIAGRAM
(Quiz)
pa
pr
ix.
co
m
39
DEPT
: CSE
pa
pr
ix.
co
m
COLLABORATION DIAGRAM
(login)
do
w
nl
oa
de
d
fro
m
COLLABORATION DIAGRAM
(Quiz)
40
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
ACTIVITY DIAGRAM
COMPONENT DIAGRAM
41
DEPT
: CSE
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
42
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
43
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
44
DEPT
: CSE
DEPT
: CSE
EX NO:
DATE:
AIM:
To analyze, design and develop code for Stock Maintenance System using Rational Rose software.
INFRASTRUCTURE:
SOFTWARE REQUIREMENTS
Rational Rose Software
Visual C++ 6.0
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
HARDWARE REQUIREMENTS
45
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
46
DEPT
: CSE
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.
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
47
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
48
DEPT
: CSE
CLASS DIAGRAM:
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
49
DEPT
: CSE
do
w
nl
oa
de
d
COLLABORATIOIN DIAGRAM:
(Login)
fro
m
pa
pr
ix.
co
m
SEQUENCE DIAGRAM
50
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
ACTIVITY DIAGRAM:
COMPONENT DIAGRAM:
51
DEPT
: CSE
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
52
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
53
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
54
DEPT
: CSE
DEPT
: CSE
EX NO:
DATE:
AIM:
To analyze, design and develop code for Student Mark Analysis system using Rational Rose software.
pa
pr
ix.
co
m
INFRASTRUCTURE:
HARDWARE REQUIREMENTS
X86 based processor
RAM (128 MB min)
Hard Disc (40 GB)
do
w
nl
oa
de
d
SOFTWARE REQUIREMENTS
fro
m
55
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
56
DEPT
: CSE
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:
pa
pr
ix.
co
m
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.
do
w
nl
oa
de
d
fro
m
57
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
58
DEPT
: CSE
CLASS DIAGRAM:
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
59
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
SEQUENCE DIAGRAM:
COLLABORATION DIAGRAM:
60
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
ACTIVITY DIAGRAM:
COMPONENT DIAGRAM:
61
DEPT
: CSE
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
62
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
63
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
64
DEPT
: CSE
DEPT
: CSE
EX N O:
DATE:
AIM:
To analyze, design and develop code for Course registration System using Rational Rose software.
.
pa
pr
ix.
co
m
INFRASTRUCTURE:
HARDWARE REQUIREMENTS
X86 based processor
RAM (128 MB min)
Hard Disc (40 GB)
do
w
nl
oa
de
d
SOFTWARE REQUIREMENTS
fro
m
65
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
66
DEPT
: CSE
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.
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
67
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
68
DEPT
: CSE
pa
pr
ix.
co
m
do
w
nl
oa
de
d
CLASS DIAGRAM:
fro
m
69
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
SEQUENCE DIAGRAM:
COLLABORATION DIAGRAM:
70
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
ACTIVITY DIAGRAM:
COMPONENT DIAGRAM
71
DEPT
: CSE
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
72
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
73
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
74
DEPT
: CSE
EX NO:
DATE:
AIM:
To analyze, design and develop code for Payroll System using Rational Rose software.
pa
pr
ix.
co
m
INFRASTRUCTURE:
fro
m
HARDWARE REQUIREMENTS
do
w
nl
oa
de
d
SOFTWARE REQUIREMENTS
Rational Rose Software
75
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
76
DEPT
: CSE
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:
pa
pr
ix.
co
m
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.
EDIT MODULE:
This module enables the manager to edit the salary details of any employee. This module also has the ability
do
w
nl
oa
de
d
fro
m
77
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
78
DEPT
: CSE
pa
pr
ix.
co
m
do
w
nl
oa
de
d
fro
m
CLASS DIAGRAM:
79
DEPT
: CSE
fro
m
do
w
nl
oa
de
d
SEQUENCE DIAGRAM:
(Specified view)
pa
pr
ix.
co
m
SEQUENCE DIAGRAM:
(General view)
80
DEPT
: CSE
pa
pr
ix.
co
m
COLLABORATION DIAGRAM:
(General view)
do
w
nl
oa
de
d
fro
m
COLLABORATION DIAGRAM:
(Specified view)
81
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
ACTIVITY DIAGRAM:
COMPONENT DIAGRAM:
82
DEPT
: CSE
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
83
pa
pr
ix.
co
m
DEPT
do
w
nl
oa
de
d
fro
m
EXPERT SYSTEM
84
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
85
DEPT
: CSE
Ex.No:
DATE:
EXPERT SYSTEM
AIM:
To analyze, design and develop code for Expert System using Rational Rose software.
pa
pr
ix.
co
m
INFRASTRUCTURE:
fro
m
HARDWARE REQUIREMENTS
do
w
nl
oa
de
d
SOFTWARE REQUIREMENTS
Rational Rose Software
86
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
87
DEPT
: CSE
DEPT
: CSE
MODULE DESCRIPTION
MODULE 1:
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.
pa
pr
ix.
co
m
MODULE 2:
Here, ten questions are displayed.
As the user chooses an option it is stored in EQ marks format for evaluation.
MODULE 3:
MODULE 5:
fro
m
MODULE 4:
do
w
nl
oa
de
d
The EQ value is connected to the EQ database in which the characteristic matching the EQ
value is displayed.
Again, the EQ value is compared with the database for displaying the users drawbacks and
ways of improvement.
MODULE 6:
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.
88
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
89
DEPT
: CSE
Creation
Log-in
Administrator
pa
pr
ix.
co
m
User
Answer questions
fro
m
do
w
nl
oa
de
d
View marks
Personal Details
Maintenance
CLASS DIAGRAM
EQ Questions
selectques
choices
EQ Marks
selectedchoices
transfers
valuatechoices()
calculates
EQ System
choicevalue
sum1()
90
DEPT
: CSE
DEPT
SEQUENCE DIAGRAM
EQSystem
User Interface
login
EQDatabase
pose question
pa
pr
ix.
co
m
select answer
calculate result
fro
m
give EQresult
do
w
nl
oa
de
d
display EQ
COLLABORATION DIAGRAM
EQDatabase
5: updatemarks on database
6: calculateresult
1: login
3: posequestion
8: display EQ
4: select answer
7: giveEQresult
EQSystem
91
: CSE
Start the
application
Enter the username
and password
Verify username
and password
pa
pr
ix.
co
m
Enter into
system
Read the
question
Enter personal
details
Select the
answers
fro
m
Viewpast
records
Submit answers
do
w
nl
oa
de
d
Save your
current EQ
Viewthe result
Save settings
Log out
92
DEPT
: CSE
DEPT
COMPONENT DIAGRAM
Server
Expert UI
fro
m
DBMS
Server
do
w
nl
oa
de
d
DEPLOYMENT DIAGRAM
Server
Printer
pa
pr
ix.
co
m
User
DBMS
Server
Get details
Get question
Printer
UI
Print result
93
: CSE
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
94
DEPT
: CSE
fro
m
pa
pr
ix.
co
m
do
w
nl
oa
de
d
95
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
96
DEPT
: CSE
DEPT
: CSE
Ex.No:
DATE:
AIM:
pa
pr
ix.
co
m
To analyze, design and develop code for Library Management System using Rational Rose software.
INFRASTRUCTURE:
do
w
nl
oa
de
d
fro
m
HARDWARE REQUIREMENTS
SOFTWARE REQUIREMENTS
97
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
98
DEPT
: CSE
MODULE DESCRIPTION
MODULE 1
Provide a user interface for getting the users login details.
pa
pr
ix.
co
m
MODULE 2
Provide a search mechanism to search for a particular book.
Input the book name and the authors name.
do
w
nl
oa
de
d
fro
m
MODULE 3
Get the book details from the database.
MODULE 4
Allow the user to select the book for checking out.
99
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
100
DEPT
: CSE
DEPT
fro
m
do
w
nl
oa
de
d
CLASS DIAGRAM
pa
pr
ix.
co
m
Librarian
Student
101
: CSE
DEPT
Software Entry
Data Entry
Querying
Name
Id no.
Book name
Author
DOI
DOR
Card no
pa
pr
ix.
co
m
Issue
Querying
DOI.
Issue()
Return ()
do
w
nl
oa
de
d
SEQUENCE DIAGRAM
fro
m
Renewal()
Issue()
102
Return
Querying
Return()
: CSE
Student
DEPT
library
Librarian
Administrator
pa
pr
ix.
co
m
Verify Authentication
Grant Permission/Deny
do
w
nl
oa
de
d
fro
m
Display results
: CSE
COLLABORATION DIAGRAM
103
DEPT
: CSE
Librarian
Student
2: Verify Authentication
5: Verify Authentication
8: Search the book
do
w
nl
oa
de
d
fro
m
System
pa
pr
ix.
co
m
ACTIVITY DIAGRAM
104
Administrator
Enter login
name
Verify
pa
pr
ix.
co
m
Grant
permission
do
w
nl
oa
de
d
Enter author
name
fro
m
Enter book
name
105
Display the
book
DEPT
: CSE
do
w
nl
oa
de
d
DEPLOYMENT DIAGRAM
fro
m
pa
pr
ix.
co
m
COMPONENT DIAGRAM
Client
P roces s or
W eb S erver
106
DEPT
: CSE
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
107
pa
pr
ix.
co
m
DEPT
do
w
nl
oa
de
d
fro
m
108
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
Ex.No:
109
DEPT
: CSE
DEPT
DATE:
AIM:
To analyze, design and develop code for Real Time Scheduler using Rational Rose software.
INFRASTRUCTURE:
SOFTWARE REQUIREMENTS
Rational Rose Software
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
HARDWARE REQUIREMENTS
110
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
111
DEPT
: CSE
DEPT
MODULE DESCRIPTION
MODULE 1-GET USER DETAILS
pa
pr
ix.
co
m
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.
do
w
nl
oa
de
d
fro
m
MODULE 4-RESCHEDULE
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.
MODULE 5
The user must finally be informed that his schedule has been successfully created.
112
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
DEPT
: CSE
DEPT
V ie w S c h e d ule
A d d S c h e d u le
pa
pr
ix.
co
m
D e le t e S c h e d u le
P e rs o n _ D e ta ils
S y s te m
do
w
nl
oa
de
d
fro
m
R e s c h ed u le
C h e c k A va ila b ilit y
CLASS DIAGRAM
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()
m ak es
S c hedule
A c tivity
Tim e
Loc ation
D eleteS c hedule()
R es c hedule()
114
needs
A vailability
N ew_tim e
N ew_loc ation
C hec k A vailability ()
: CSE
Person
Appointment
Control
Appointment
View schedule
Check availability
pa
pr
ix.
co
m
Add appointment
fro
m
do
w
nl
oa
de
d
No
Reschedule
Confirm appointment
115
DEPT
: CSE
1: View schedule
2: Add appointment
Person
Appointment Control
3: Check availability
6: Reschedule
7: Confirm appointment
Appointment
do
w
nl
oa
de
d
fro
m
ACTIVITY DIAGRAM
pa
pr
ix.
co
m
5: No
Enter details
ViewSchedule
Add
appointment
Available?
Yes
no
Reschedule
appointment
Confirm
schedule
116
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
COMPONENT DIAGRAM
DEPLOYMENT DIAGRAM
Client
Processor
Web Server
117
DEPT
: CSE
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
118
DEPT
: CSE
fro
m
pa
pr
ix.
co
m
do
w
nl
oa
de
d
119
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
120
DEPT
: CSE
DEPT
Ex.No:
DATE:
do
w
nl
oa
de
d
SOFTWARE REQUIREMENTS
fro
m
pa
pr
ix.
co
m
HARDWARE REQUIREMENTS
121
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
122
DEPT
: CSE
DEPT
: CSE
MODULE DESCRIPTION
MODULE 1
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.
pa
pr
ix.
co
m
MODULE 3
MODULE 4
fro
m
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.
do
w
nl
oa
de
d
123
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
124
DEPT
: CSE
DEPT
: CSE
pa
pr
ix.
co
m
fro
m
c us tom er
do
w
nl
oa
de
d
warehouse
P rint invo ic e
125
S alesperson
CLASS
DEPT
: CSE
DIAGRAM
Customer
name
address
ph no
email
Configuration
item type
item descp
get order()
Invoice
pa
pr
ix.
co
m
number
date
total
Order
od num
date
address
total
status
sales pname
fro
m
DIAGRAM
do
w
nl
oa
de
d
SEQUENCE
Payment
payment method
date received
amt received
126
Config window
Order
DEPT
Order window
: CSE
Payment
Open new
Accept config
Display order
Submit order
St ore order
Link customer
do
w
nl
oa
de
d
COLLABORATION DIAGRAM
fro
m
pa
pr
ix.
co
m
Link payment
4: Display order
Order
Orde r
wi ndow
6: Store order
5: Submit order
1: Open new
2: Accep t c onfig
7: Link customer
Payment
Custome r
127
8: Link payment
DEPT
ACTIVITYDIAGRAM
Display current
config
Get order
request
Dispaly
purchase form
pa
pr
ix.
co
m
[time out]
[incomplete]
Get purchase
details
Store order
do
w
nl
oa
de
d
fro
m
[OK]
Email order
details
COMPONENT DIAGRAM
Customer
Online
shopping
Order
128
: CSE
DEPLOYMENT DIAGRAM
Web Server
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
Client
Processor
129
DEPT
: CSE
DEPT
: CSE
pa
pr
ix.
co
m
fro
m
RESULT:
do
w
nl
oa
de
d
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.
1. ANALYSIS
130
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
131
DEPT
: CSE
DEPT
: CSE
Brow se Ca tlog
S e le ct Ite m
C ustomer
co
S oftw are
ri
x.
Re que st Ite m
fr
Issue De ta ils
B anking
Che ck for
va lidity
De lie ve r Goods
D ealer
lo
Issue
Authoriz a tion
132
: CSE
C u s to m e r
S h o p p in g C a r d
A tt r i b u te s
A ttr i b u te s
p riva t e
p riva t e
p riva t e
p riva t e
p riva t e
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
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
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 1rd ()
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 . .* ] )
1
m C r e d itC a r d
C re d itC a r d
O p e r a ti o n s
fro
m
nl
do
w
P r e ffe r e d C u s to m e r
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 ue br lic P re ffe re d C u s t o m e r()
m Pr e f f e r e d C u s to m
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 . .* ] )
oa
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 va
p ul b) lic
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. .*u b] lic
)
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 . .* ] )
de
Ite m O fP u rc h a s e
pa
pr
ix
.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
DEPT
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 ()
133
DEPT
: creditcard
: Customer
public void browsecatalog()
pa
pr
ix.
co
m
do
wn
loa
de
d
fro
m
134
validation
: CSE
DEPT
: Customer
public void setAddrToShip()
public void browsecatalog()
pa
pr
ix.
co
m
do
wn
loa
de
df
ro
m
: Shoppingcart
: creditcard
135
: CSE
DEPT
Shoppingcart
Creditcard
Unnamed
Displaying
Catlog
{ From OP_Activity }
{ From OP_Activity }
Selecting
Catlog
Displaying ....
{ From OP_Activity }
fro
m
{ From OP_Activ...
pa
pr
ix.
co
m
Browse
Catlog
Requesting
Validating
credit
{ From OP_Activit...
{ From OP_Activity }
{ From OP_Activity }
Issuing
payment
Accepting
delivery
{ From OP_Activity }
{ From OP_Activity }
do
w
nl
oa
de
d
Selecting &
Unnamed
Delievering
Item
Authorized
{ From OP_Activity }
{ From OP_Activity }
Rejected
{ From OP_Activity }
Unnamed
136
: CSE
pa
pr
ix.
co
m
CHECKING
do
wn
lo
ad
ed
WAITING
fro
m
PROCESS
DELIVERY
DISPATCH
CANCELLING
EXIT
137
DEPT
: CSE
DEPT
: CSE
do
w
nl
oa
de
d
fro
m
pa
pr
ix.
co
m
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.
138