OOSE LAB Manual
OOSE LAB Manual
Register Number:
of sixth Semester
1
TABLE OF CONTENTS
1 Case Tools
3 Book bank
4 Exam Registration
11 Recruitment system
2
Ex. No.: 1
CASE TOOLS
Date:
INTRODUCTION:
CHARACTERISTICS OF CASE:
1. Class diagram
2. Use-case diagram
3. Behavior diagram
Interaction diagram
sequence diagram
collaboration diagram
state chart diagram
activity diagram
4
4. Implementation diagram
Component
diagram
Deployment
diagram
2. Use-case diagram:
3. Behavior diagram:
4. Interaction diagram
5
possible states that a particular object can get into and how the object's state
changes as a result of events that reach the object. In most OO techniques,
state diagrams are drawn for a single class to show the lifetime behavior of a
single object.
6. Activity diagram:
7. Implementation diagram:
8. Component diagram:
9. Deployment diagram:
NOTATION ELEMENTS:
These are explanatory parts of UML model. They are boxes which may
apply to describe and remark about any element in the model. They
6
provide the information for understanding the necessary details of the
diagrams.
Dependency:
Association:
Generalization:
Realization:
7
Conceptual model be UML:
UML you need to form the conceptual model of UML. This requires
three major elements:
UML basic building blocks.
Rules that dictate how this building blocks are put
together.
Some common mechanism that apply throughout the
language.
Once you have grasped these ideas, you may be able to read. UML
create some basic ones. As you gain more experience in applying conceptual
model using more advanced features of this language.
Description:
Purpose:
Main flow:
First, the sender gives his id and enters his login. Now, he enters the
message to the receiver id.
Alternate flow:
8
Pre-condition:
Post-condition:
The user is not allowed to enter if the password or user name is not
valid.
Class diagram:
Description:
<<Class name>>
<<Attribute 1>>
<<Attribute n>>
<<Operation ()>>
Relationship used:
Generalization:
It is a kind of relationship
State chart:
9
Description:
Decision:
Synchronization:
State:
Start state:
End state:
10
It is a final or terminal state.
Activity diagram
Description:
Activity:
Decision:
Start state:
Object flow:
Synchronization:
End state:
An end state represents a final or terminal state on an activity diagram
or state chart diagram.
11
Sequence diagram:
Description:
The sequence diagram for the e-mail client system consists of the
following objectives:
Object:
Message icon:
Collaboration diagram:
Description:
12
Collaboration diagram shows object s, their links and their messages. They
can also contain simple class instances and class utility instances.
CONCLUSION:
Thus the study for case tools was done.
13
Ex no:2
PASSPORT AUTOMATION SYSTEM
Date:
AIM:
To create an automated system to perform the Passport Process.
(III)
• Front End Client –
• The applicant and Administrator onlineinterface is built using HTML
and CSS. The Administrators’ local interface is built using VBscript.
• Back End
• MySQL.
14
( III ) USECASE DIAGRAM :
dispatch passport
15
Fig.4.2. ACTIVITY DIAGRAM FOR ADMINISTRATION
16
(V) CLASS DIAGRAM:
The class diagram, also referred to as object modeling is the main static
analysis diagram. The main task of object modeling is to graphically show
what each object will do in the problem domain. The problem domain
describes the structure and the relationships among objects.
The Passport Automation system class diagram consists of four
classesPassport Automation System
1. New registration
2. Gender
3. Application Status
4. Admin authentication
5. Admin Panel
17
(VI) INTERACTION DIAGRAM:
18
administrator system admin panel application
database
6: give details
databas applicati
e on
applicant
applicant system
database
1: enter applicant id
1: enter applicant id
3: display the status
20
The diagrams show the applicant enters his id and the system fetch the
details from the database and display the status.
applicant database
system
5: give applicatino id
2: registeration form
databas
e
21
The diagrams show the applicant request the system for registration and
the system provide the register form and applicant fill the form and submit
and the system give the applicant id. The database stores the full details.
(VII) PARTIAL LAYERD LOGICAL ARCHITECTURE DIAGRAM
UI
Swing Text
Domain
Authentication
Login
Technical Services
Persistence Log4J
SOAP
DBFacade
22
(VIII) DEPLOYMENT DIAGRAM AND COMPONENT DIAGRAM
Deployment diagrams are used to visualize the topology of the physical
components of a system where the software components are deployed.
<<client
<<database>>
workstation>>
:MySQL
:GenericPC
SQL HTT
<<server>> :T
omcat6
DEPLOYMENT DIAGRAM
COMPONENT DIAGRAM
23
CODING:
home.frm
apply.frm
ao1.frm/ao2.frm
!passportoffice = Combo1.Text
!firstname = Text1.Text
!gender = Combo3.Text
!placeofbirth = Text4.Text
!qualification = Text6.Text
!identificationmark = Text16.Text
!presentaddress = Text5.Text
!phoneno = Val(Text7.Text + Text10.Text)
!emailid = Text12.Text
!maritalstatus = Combo4.Text
!fathersname = Text13.Text
!ddchequeno = Val(Text20.Text)
!ddchequedate = Text18.Text
!district = Text19.Text
!lastname = Text2.Text
!dateofbirth = Val(Text3.Text)
!districtorcountrys = Text8.Text
!profession = Text9.Text
!Height = Val(Text17.Text)
!permanentaddress = Text22.Text
!mobileno = Val(Text11.Text)
!spousesname = Text14.Text
!mothersname = Text15.Text
!bankname = Combo5.Text
!passno = a + 1
.Update
End With
25
MsgBox (" Submit Success")
ao2.Hide
statreg.show
End Sub
statreg.frm/stattat.frm
staff.frm
searchno.frm
Text7.Text = Adodc1.Recordset.Fields(1)
Text2.Text = Adodc1.Recordset.Fields(2)
Text3.Text = Adodc1.Recordset.Fields(3)
27
Text4.Text = Adodc1.Recordset.Fields(5)
Text6.Text = Adodc1.Recordset.Fields(8)
Text14.Text = Adodc1.Recordset.Fields(9)
Text9.Text = Adodc1.Recordset.Fields(10)
Text10.Text = Adodc1.Recordset.Fields(11)
Text11.Text = Adodc1.Recordset.Fields(15)
Text12.Text = Adodc1.Recordset.Fields(16)
Text13.Text = Adodc1.Recordset.Fields(18)
Text5.Text = Adodc1.Recordset.Fields(20)
Text15.Text = Adodc1.Recordset.Fields(21)
Text17.Text = Adodc1.Recordset.Fields(22)
Text18.Text = Adodc1.Recordset.Fields(23)
Exit Sub
Else
Adodc1.Recordset.MoveNext
If Adodc1.Recordset.EOF Then
MsgBox (" Not Found ")
Exit Sub
End If
End If
Next i
End Sub
searchno.frm
28
Private Sub Image4_Click()
Dim i As Integer
Dim c As Integer
Dim r As Integer
Dim chk As Integer
chk = 1
Adodc1.Recordset.MoveFirst
c = Adodc1.Recordset.RecordCount
For i = 0 To c
If Text1.Text = Adodc1.Recordset.Fields(1) Then
chk = 0
Text7.Text = Adodc1.Recordset.Fields(1)
Text2.Text = Adodc1.Recordset.Fields(2)
Text3.Text = Adodc1.Recordset.Fields(3)
Text4.Text = Adodc1.Recordset.Fields(5)
Text6.Text = Adodc1.Recordset.Fields(8)
Text14.Text = Adodc1.Recordset.Fields(9)
Text9.Text = Adodc1.Recordset.Fields(10)
Text10.Text = Adodc1.Recordset.Fields(11)
Text11.Text = Adodc1.Recordset.Fields(15)
Text12.Text = Adodc1.Recordset.Fields(16)
Text13.Text = Adodc1.Recordset.Fields(18)
Text5.Text = Adodc1.Recordset.Fields(20)
Text15.Text = Adodc1.Recordset.Fields(21)
Text17.Text = Adodc1.Recordset.Fields(22)
Text18.Text = Adodc1.Recordset.Fields(23)
Exit Sub
Else
Adodc1.Recordset.MoveNext
If Adodc1.Recordset.EOF Then
MsgBox (" Not Found ")
Exit Sub
End If
End If
Next i
29
End Sub
staff.cls
Option Explicit
'##ModelId=4D5CDA1C03B9
Private username As Variant
'##ModelId=4D5CDA2501D4
Private pwd As Variant
'##ModelId=4D6F4A820186
Private mlClassDebugID As Long
'##ModelId=4D5CDA9501F4
Public NewProperty As system
'##ModelId=4D5CDA3001B5
Public Sub search()
On Error GoTo ErrorHandler
Exit Sub
ErrorHandler:
Call RaiseError(MyUnhandledError, "search Sub")
End Sub
30
'##ModelId=4D5CDC070186
Public Sub login()
On Error GoTo ErrorHandler
chk = True
If chk Then
If usr.Text = "sachin" Then
End If
End If
End If
End If
31
If usr.Text = "sehwag" Then
If pwd.Text = "viru" Then
home.Hide
staff.show
Exit Sub
End If
End If
End If
End If
If chk Then
MsgBox " Invalid Username Password "
End If
End If
Exit Sub
32
ErrorHandler:
Call RaiseError(MyUnhandledError, "login Sub")
End Sub
'##ModelId=4D6F4A820177
Public Property Get ClassDebugID() As Long
On Error GoTo ErrorHandler
ClassDebugID = mlClassDebugID
Exit Property
ErrorHandler:
Call RaiseError(MyUnhandledError, "ClassDebugID Property")
End Property
system.cls
Option Explicit
'##ModelId=4D5CDC7D02CE
Private passport_no As Variant
'##ModelId=4D5CDC9B00CB
Private name As Variant
'##ModelId=4D5CDC9D0119
Private age As Variant
'##ModelId=4D6F4A820203
Private mlClassDebugID As Long
'##ModelId=4D5CDBB403A9
Public Sub applyr()
On Error GoTo ErrorHandler
ErrorHandler:
Call RaiseError(MyUnhandledError, "applyr Sub")
End Sub
33
'##ModelId=4D5CDBBC0222
Public Sub show()
On Error GoTo ErrorHandler
Exit Sub
ErrorHandler:
Call RaiseError(MyUnhandledError, "show Sub")
End Sub
'##ModelId=4D5CDC460271
Public Sub verify()
'## your code goes here...
Exit Sub
End If
End If
If chk Then
MsgBox " Invalid Username Password "
End If
End If
End Sub
34
'##ModelId=4D6F4A8201E4
Public Property Get ClassDebugID() As Long
'##ModelId=4D6F53490109
Public Sub applyt()
user.cls
Option Explicit
'##ModelId=4D5CD9800280
Private name As Variant
'##ModelId=4D5CD98B005D
Private age As Variant
'##ModelId=4D6F4A820000
Private mlClassDebugID As Long
'##ModelId=4D5CDA7B0232
Public NewProperty As system
'##ModelId=4D5CDA9200BB
Public NewProperty2 As system
'##ModelId=4D5CD998038A
Exit Property
ErrorHandler:
Call RaiseError(MyUnhandledError, "ClassDebugID Property")
End Property
CODING:
FORM1:
Private Sub Command1_Click()
Form2.ShowMe.Hide
End Sub
FORM3:
Dim db As Database
Dim rs As Recordset
Private Sub Command1_Click()
Dim a As New participant1
a.sign_in
Form5.ShowMe.Hide
End Sub
Private Sub Command2_Click()
Form4.ShowMe.Hide
End Sub
Private Sub Form_Load()
36
Set db = OpenDatabase("E:\ooad lab\my stuff\partidetails.mdb")
Set rs = db.OpenRecordset("participant")
End Sub
FORM4:
Dim db As Database
Dim rs As Recordset
Private Sub Command1_Click()
rs.MoveFirst
While Not rs.EOF
If rs.Fields("name").Value = Text1.Text And rs.Fields("contact number").Value =
Text2.Text And rs.Fields("reg_id").Value = Text3.Text Then
MsgBox "One step closer......."
Form5.ShowMe.Hide
End If
rs.MoveNext
Wend
If Text1.Text = "" And Text2.Text = "" And Text3.Text = "" Then
MsgBox "Enter some details"
Form4.Hide
Form2.Show
End If
End Sub
Private Sub Form_Load()
Set db = OpenDatabase("E:\ooad lab\my stuff\partidetails.mdb")
Set rs = db.OpenRecordset("participant")
End Sub
37
FORM5:
Dim db As Database
Dim rs As Recordset
Private Sub Command1_Click()
If Combo2.Text = "0" Then
MsgBox "Sorry mate"
End If
If Combo2.Text = "1" Then
MsgBox "U r One hella Robot!!! Welcome home "
End If
End Sub
Private Sub Command2_Click()
rs.MoveLast
rs.AddNew
rs(0) = Text1.Text
rs(1) = Combo1.Text
rs(2) = Text2.Text
rs(3) = Combo2.Text
rs.Update
Text1.Text = ""
Text2.Text = ""
Combo1.Text = ""
Combo2.Text = ""
MsgBox "Thanx a ton for coming!!! U can find ur date an slot herewith. ROCK ON!!!!"
Form6.ShowMe.Hide
End Sub
Private Sub Form_Load()
Set db = OpenDatabase("E:\ooad lab\my stuff\partidetails.mdb")
38
Set rs = db.OpenRecordset("thesis_details")
End Sub
RESULT:
Thus the mini project for passport automation system has been
successfully executed and codes are generated.
39
Ex no:3
BOOK BANK SYSTEM
Date:
AIM:
To create a system to perform book bank operation
2.1SOFTWARE INTERFACE
2.2HARDWARE INTERFACE
40
(III)USE-CASE DIAGRAM:
41
(IV) ACTIVITY DIAGRAM:
42
(V) CLASS DIAGRAM:
The class diagram, also referred to as object modeling is the main static
analysis diagram. The main task of object modeling is to graphically show
what each object will do in the problem domain. The problem domain
describes the structure and the relationships among objects.
43
by the “to” object. The “to” object performs the operation using a method
that the class contains.
It is also represented by the order in which things occur and how the
objects in the system send message to one another.
The diagrams show the pin no is entered and check the pin .Get no
and validate password check the condition based on condition book issue and
return are done. Pay the online and renewed.
44
Fig. 6.2. COLLABORATION DIAGRAM FOR DEPOSIT PROCESS
45
(VII) PARTIAL LAYERD LOGICAL ARCHITECTURE DIAGRAM:
UI
Swing Text
BookBank BkBank
system Console
Domain
Technical Services
Persistence Log4J
SOAP
DBFacade
46
(VIII) DIAGRAMS
<<database>> <<client
workstation>>:
:MySQL
GenericPC
SQL HTTP
Fig .8.1.DEVELOPMENT
DIAGRAM
<<server>> :To
mcat6
COMPONENT DIAGRAM
Fig.8.2.COMPONENT DIAGRAM
47
CODE :
48
Private Sub cmdlast_Click()
rs.MoveLast
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
End Sub
RESULTS :
Thus the mini project for Book Bank System has been successfully executedand
codes are generated .
52
EX.NO : 4
EXAM REGISTRATION SYSTEM
DATE :
AIM :
To create a system to perform the Exam Registration system
USECASE DIAGRAM :
54
Fig. 4.USECASE DIAGRAM FOR EXAM REGISTRATION SYSTEM
55
(V) CLASS DIAGRAM:
The class diagram, also referred to as object modeling is the main static
analysis diagram. The main task of object modeling is to graphically show
what each object will do in the problem domain. The problem domain
describes the structure and the relationships among objects.
56
An event also is considered to be any action by an object that sends
information. The event line represents a message sent from one object to
another
Database :
ExamController
3: pay
: ExamController
: student
1: login
2: confirmation 4: register
7: logout
6: view exam details
Database
57
(VII) PARTIAL LAYERD LOGICAL ARCHITECTURE DIAGRAM:
UI
Swing Text
ExamReg ExamReg
System Console
Domain
Student ExamController
Authentication
Logout
Login
Technical Services
Persistence Log4J
SOAP
DBFacade
58
(VIII) DEPLOYMENT DIAGRAM AND COMPONENT DIAGRAM
Deployment diagrams are used to visualize the topology of the physical
components of a system where the software components are deployed.
<<client
<<database>> workstation>>:
:MySQL GenericPC
SQL HTTP
<<server>> :To
mcat6
Fig.7.1.DEPLOYMENT DIAGRAM
COMPONENT DIAGRAM
Fig.7.2.COMPONENT DIAGRAM
59
CODE:
WELCOME FORM:
Private Sub Command1_Click(Index As Integer)
Me.Hide
Unload Me
Form2.Show
End Sub
Private Sub Command2_Click()
Me.Hide
Unload Me
Form3.Show
End Sub
61
db.Close
End Sub
62
rs.Close
rs.Open "select name from Course", db, adOpenDynamic, adLockOptimistic
Do While rs.EOF = False
Combo2.AddItem rs(0)
rs.MoveNext
Loop
rs.Close
End Sub
63
rs.MoveNext
Loop
rs.Close
End Sub
64
rs(4) = Combo2.Text
rs.Update
rs.Close
'db.Close
MsgBox "Registered"
Unload Form2
Load Form1
Form1.Show
End Sub
CANCELLATION DETAILS:
65
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Combo1_Click()
rs.Open "select * from StudentDetails where ID=" & Combo1.Text, db,
adOpenDynamic, adLockOptimistic
Text1.Text = rs(1)
Text2.Text = rs(2)
Text3.Text = rs(3)
Combo2.Text = rs(4)
rs.Close
rs.Open "select name from Course", db, adOpenDynamic, adLockOptimistic
Do While rs.EOF = False
Combo2.AddItem rs(0)
rs.MoveNext
Loop
rs.Close
End Sub
66
Unload Form2
Load Form1
Form1.Show
End Sub
Private Sub Command2_Click()
db.Close
Unload Me
Load Form1
Form1.Show
End Sub
RESULT:
Thus the mini project for Exam Registration system has been
successfully executed and codes are generated.
67
Ex no: 5
STOCK MAINTENANCE
Date:
AIM:
To create a system to perform the Stock maintenance
PURPOSE
The entire process of Stock maintenance is done in a manual manner
Considering the fact that the number of customers for purchase is increasing
every year, a maintenance system is essential to meet the demand. So this
system uses several programming and database techniques to elucidate the
work involved in this process.
SCOPE
• The System provides an interface to the customer where they can fill
in orders for the item needed.
• The sales person is concerned with the issue of items and can use
this system.
68
• Provide a communication platform between the customer and the
sales person.
TOOLS TO BE USED
• Eclipse IDE (Integrated Development Environment)
• StarUml (for developing UML Patterns)
(III) USE CASE DIAGRAM
The functionality of a system can be described in a number of different
use-cases, each of which represents a specific flow of events in a system. It is
a graph of actors, a set of use-cases enclosed in a boundary, communication,
associations between the actors and the use-cases, and generalizationamong
the use-cases
Bill Customer
69
(IV) ACTIVITY DIAGRAM
70
(V) CLASS DIAGRAM
Description:
A class diagram describes the type of objects in system and
various kinds of relationships that exists among them.
Class diagrams and collaboration diagrams are alternate
representations of object models.
71
(VI) UML INTERACTION DIAGRAMS
A Reorder Item
A Delivery Item
72
COLLABORATION DIAGRAM
ORDER ENTRY
WINDOW
1: prepare()
AN ORDER
4: [hasstock]remove()
ORDER LINE STOCK ITEM
73
(VII) PARTIAL LAYERD LOGICAL ARCHITECTURE DIAGRAM
UI
Swing Text
Domain
Customer Order
Shipment
Product
Technical Services
DBFacade
74
(VIII) DEPLOYMENT DIAGRAM AND COMPONENT DIAGRAM
Fig.8.1.DEPLOYMENT DIAGRAM
LAN
<<database>> <<client
workstation>>:
:MySQL
GenericPC
Component Diagram
Fig.8.2.COMPONENT DIAGRAM
75
CODE :
FORM1
Dim db As Database
Dim rs As Recordset
FORM2
Dim db As Database
Dim rs As Recordset
Dim i As Integer
FORM3
Dim db As Database
Dim rs As Recordset
Dim i As Integer
FORM4
Dim db As Database
Dim rs As Recordset
Dim r, i As Integer
MSFlexGrid1.FixedRows = 0
MSFlexGrid1.FixedCols = 0
r=0
MSFlexGrid1.ColWidth(0) = 2000
MSFlexGrid1.ColWidth(1) = 2000
MSFlexGrid1.ColWidth(2) = 2000
MSFlexGrid1.ColWidth(3) = 1700
MSFlexGrid1.ColWidth(4) = 1750
MSFlexGrid1.ColWidth(5) = 1650
'MSFlexGrid1.ForeColor = "GREEN"
MSFlexGrid1.TextMatrix(0, 0) = "COMPANY NAME"
MSFlexGrid1.TextMatrix(0, 1) = "COMPANY ADDRESS"
MSFlexGrid1.TextMatrix(0, 2) = "CONTACT NUMBER"
80
MSFlexGrid1.TextMatrix(0, 3) = "DATE OF ORDER"
MSFlexGrid1.TextMatrix(0, 4) = "ITEMS AVAILABLE"
MSFlexGrid1.TextMatrix(0, 5) = "PRICE/ITEM"
rs.MoveFirst
r=1
Do Until rs.EOF
MSFlexGrid1.FixedRows = r
MSFlexGrid1.FixedCols = 0
MSFlexGrid1.Text = rs(0)
MSFlexGrid1.FixedRows = r
MSFlexGrid1.FixedCols = 1
MSFlexGrid1.Text = rs(1)
MSFlexGrid1.FixedRows = r
MSFlexGrid1.FixedCols = 2
MSFlexGrid1.Text = rs(2)
MSFlexGrid1.FixedRows = r
MSFlexGrid1.FixedCols = 3
MSFlexGrid1.Text = rs(3)
MSFlexGrid1.FixedRows = r
MSFlexGrid1.FixedCols = 4
MSFlexGrid1.Text = rs(4)
MSFlexGrid1.FixedRows = r
MSFlexGrid1.FixedCols = 5
MSFlexGrid1.Text = rs(5)
MSFlexGrid1.FixedRows = r
MSFlexGrid1.FixedCols = 6
'MSFlexGrid1.Text = rs(6)
'MSFlexGrid1.FixedRows = r
'MSFlexGrid1.FixedCols = 7
'MSFlexGrid1.Text = rs(7)
r=r+1
rs.MoveNext
Loop
End Sub
81
RESULT:
Thus the mini project for stock maintenance system has been
successfully executed and codes are generated.
82
EX NO: 6 ONLINE COURSE RESERVATION SYSTEM
Date:
AIM
To design an object oriented model for course reservation system.
OBJECTIVES
a. The main purpose of creating the document about the software
is to know about the list of the requirement in the software
project part of the project to be developed.
FUNCTIONALITY
Many members of the process line to check for its occurrences and
transaction, we are have to carry over at sometimes
USABILITY
The user interface to make the transaction should be effectively
83
PERFORMANCE
It is the capability about which it can performed function for many user at
sometimes efficiently (ie) without any ever occurrences
RELIABILITY
The system should be able to the user through the day to day transaction
CLASS DIAGRAM:
A class diagram describes the type of objectors in the system the various
kinds of static relationship that exist among them.
84
SEQUENCE DIAGRAM
A sequence diagram is one that includes the object of the projects and tells
the lifetimes and also various action performed between objects.
85
COLLOBORATIION DIAGRAM
It is same as the sequence diagram that involved the project with the only
difference that we give the project with the only difference that we give
sequence number to each process.
86
87
ACTIVIY DIAGRAM
It includes all the activities of particular project and various steps using join
and forks
COMPONENT DIAGRAM
88
DEPLOYMENT DIAGRAM
PACKAGE DIAGRAM
89
diagrams are organized into package. A package diagram in unified modeling
language that depicts the dependencies between the packages that make up a
model. A Package Diagram (PD) shows a grouping of elements in the OO
model, and is a Cradle extension to UML. PDs can be used to show groups of
classes in Class Diagrams (CDs), groups of components or processes in
Component Diagrams (CPDs), or groups of processors in Deployment
Diagrams (DPDs).
There are three types of layer. They are
b. Domain layer
90
CODE:
CODE FOR WELCOME FORM:
Private Sub Command1_Click(Index As Integer)
Me.Hide
Unload Me
Form2.Show
End Sub
Private Sub Command2_Click()
Me.Hide
Unload Me
Form3.Show
End Sub
End Sub
Text3.Text = rs(3)
Combo2.Text = rs(4)
rs.Close
rs.Open "select name from Course", db, adOpenDynamic, adLockOptimistic
Do While rs.EOF = False
Combo2.AddItem rs(0)
rs.MoveNext
Loop
rs.Close
End Sub
RESULT
Thus the mini project for online course reservation system has been
successfully executed and codes are generated.
96
EX NO: 7 AIRLINE/RAILWAY RESERVATION SYSTEM
Date:
AIM
To develop the Airline/Railway reservation System using Rational
Rose Software.
Usability
The User interface makes the Credit Card Processing System to be efficient.
Performance
It is of the capacities about which it can perform function for many users
at the same times efficiently that are without any error occurrence.
Reliability
The system should be able to process the user for their corresponding
request.
97
Fig. USE-CASE DIAGRAM FOR AIRLINE RESERVATION
(IV) CLASS DIAGRAM
The online ticket reservation system makes use of the following classes:
1. ticketReservation
2. trainInfo
3. passengerInfo
4. seatAvailStatus
98
SEQUENCE DIAGRAM
99
COLLABRATION DIAGRAM
100
represented as a round box, which may contain one or more compartments.
An initial state is represented as small dot. A final state is represented as circle
surrounding a small dot.
ACTIVITY DIAGRAM
Activity diagrams are graphical representations of workflows of stepwise
activities and actions with support for choice, iteration and concurrency. In
the Unified Modeling Language, activity diagrams can be used to describe the
business and operational step-by-step workflows of components in a system.
An activity diagram shows the overall flow of control. An activity is shown as
an rounded box containing the name of the operation.
101
COMPONENT DIAGRAM
CODE:
FORM1
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Command1_Click()
Dim chk As Boolean
chk = True
If Text1.Text = "" Then
MsgBox " Enter Username"
chk = False
End If
If Text2.Text = "" Then
MsgBox " Enter Password"
chk = False
End If
If chk Then
If Text1.Text = "aravind2008" Then
If Text2.Text = "aravind" Then
Form1.Hide
Form3.Show
Exit Sub
End If
End If
102
If Text1.Text = "felicks" Then
If Text2.Text = "felicks" Then
Form1.Hide
Form3.Show
Exit Sub
End If
End If
If Text1.Text = "arul" Then
If Text2.Text = "arul" Then
Form1.Hide
Form3.Show
Exit Sub
End If
End If
End If
End Sub
FORM2
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
End Sub
FORM 3
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
End Sub
RESULT
Thus the mini project for Airline/Railway reservation System has been
successfully executed and codes are generated.
105
Ex no: 8 SOFTWARE PERSONNEL MANAGEMENT SYSTEM
Date:
AIM:
To implement a software for software personnel management system.
2.1SOFTWARE INTERFACE
• Front End Client - The applicant and Administrator online
interface is built using VBscript
CSS and HTML. The HR's local interface is built using Java.
• Server - Glassfish application server(SQL Corporation).
• Back End - MySQL database.
2.2HARDWARE INTERFACE
The server is directly connected to the client systems. The clientsystems
have access to the database in the server.
106
( III )USECASE DIAGRAM:
107
(IV) ACTIVITY DIAGRAM:
The activity diagram notation is an action, partition, fork join and object
node. Most of the notation is self explanatory, two subtle points. Once an
action finished, there is an automatic outgoing transaction. The diagram can
show both control flow and data flow.
108
(V) CLASS DIAGRAM:
The class diagram, also referred to as object modeling is the main static
analysis diagram. The main task of object modeling is to graphically show
what each object will do in the problem domain. The problem domain
describes the structure and the relationships among objects.
Fig.5.CLASS DIAGRAM
109
(VI) INTERACTION DIAGRAM:
Fig.6.1.SEQUENCE DIAGRAM
110
Fig.6.2.COLLABORATION DIAGRAM
111
(VIII) DEPLOYMENT DIAGRAM AND COMPONENT DIAGRAM
Fig.8.1.DEPLOYMENT DIAGRAM
112
COMPONENT DIAGRAM
Fig.8.2.COMPONENT DIAGRAM
113
CODE:
ENTRY FORM:
Private Sub Command1_Click()
Form3.Show
End Sub
DATABASE FORM:
115
Private Sub Command1_Click()
n = InputBox("Enter the Eid:")
Adodc1.Refresh
DataGrid1.Visible = True
Do Until Adodc1.Recordset.EOF
If (Adodc1.Recordset.Fields("Eid")) = Val(Trim(n)) Then
flag = True
Exit Do
Else
flag = False
End If
Adodc1.Recordset.MoveNext
Loop
If flag = False Then
MsgBox ("Record not found")
End If
End Sub
RESULT:
Thus the mini project for software personnel management system has
been successfully executed and codes are generated.
116
Ex. No:9
CREDIT CARD PROCESSING
Date:
AIM:
To create a system to perform the credit card processing
PRODUCT PERSPECTIVE
SOFTWARE INTERFACE
• Front End Client - The applicant and Administrator online
interface is built using
CSS and HTML. The Administrators's local interface is built using
VBscript.
• Web Server - Glassfish application server(SQL Corporation).
• Back End - SQL database.
HARDWARE INTERFACE
117
The server is directly connected to the client systems. The client
systems have access to the database in the server.
The transaction details are recorded by the credit card processor and
results are securely relayed to the merchant. Merchant’s site receives
transaction result and does appropriate actions (e.g. saves the order & shows
message).
118
The class diagram, also referred to as object modeling is the main static
analysis diagram. The main task of object modeling is to graphically show
what each object will do in the problem domain. The problem domain
describes the structure and the relationships among objects.
The Credit Card Processing system class diagram consists of three
classes.
They are
Cashier
User
Authorization Service
Fig.4.CLASS DIAGRAM
119
(V) INTERACTION DIAGRAM:
Fig.5.1.SEQUENCE DIAGRAM
Fig.5.2.COLLABORATION DIAGRAM
120
(VI) PARTIAL LAYERD LOGICAL ARCHITECTURE DIAGRAM
UI
Swing
CCP system
Domain
User Merchant
AutherizationSerivic
e
Reply
Technical Services
Persistence
DBFacade Log4J
SOAP
121
(VII) DEPLOYMENT DIAGRAM AND COMPONENT DIAGRAM
Deployment diagrams are used to visualize the topology of the
physical components of a system where the software components are
deployed.
<<client
<<database> workstation
> >>:Generic
: SQL
SQ HT
<<server>>
Fig.7.1.DEPLOYMENT DIAGRAM
COMPONENT DIAGRAM
Component diagrams are used to visualize the organization and relationships
among components in a
Fig.7.2.COMPONENT DIAGRAM
122
CODE:
FORM1
Timer1.Interval = 100
Label3.Caption = ""
End Sub
Me.Hide
Unload Me
Form2.Show
End Sub
Me.Hide
Unload Me
Form4.Show
End Sub
Me.Hide
Unload Me
Form5.Show
End Sub
123
End
End Sub
Label3.Caption = Time
Label4.Caption = Date
End Sub
FORM2
rs.Close
Text1.Text = ""
Text2.Text = ""
End Sub
Text3.Text = Text1.Text
Text4.Text = Text2.Text
124
MsgBox "Please enter all the details!!"
Else
rs.Open "select * from credit_card where c_no=" & Text3.Text & " and pin_no="
& Text4.Text & "", db, adOpenKeyset, adLockOptimistic
db.Close
Form3.Show
Form2.Hide
Else
rs.Close
Text1.Text = ""
Text2.Text = ""
Form2.Hide
Unload Me
Form1.Show
db.Close
End If
Else
Text1.Text = ""
Text2.Text = ""
Me.Hide
125
Unload Me
Form1.Show
db.Close
End If
End If
End Sub
Me.Hide
db.Close
Unload Me
Form1.Show
End Sub
FORM3
db.Open "dsn=credit_card"
Text7.Text = Form2.Text3.Text
Text8.Text = Form2.Text4.Text
rs.Open "select * from credit_card where c_no=" & Text7.Text & " and pin_no="
& Text8.Text & "", db, adOpenKeyset, adLockOptimistic
Text1.Text = rs(0)
Text2.Text = rs(1)
126
Text3.Text = rs(2)
Text4.Text = rs(3)
Text5.Text = rs(4)
Text6.Text = rs(5)
db.Close
End Sub
rs.Close
db.Close
End Sub
Unload Form2
Unload Form3
Form1.Show
Form2.Text1.Text = ""
Form2.Text2.Text = ""
End Sub
Unload Me
Load Form6
Form6.Show
End Sub
Unload Form2
127
Unload Form3
Form1.Show
Form2.Text1.Text = ""
Form2.Text2.Text = ""
End Sub
FORM4
Dim a As Integer
db.Open "dsn=credit_card"
a = rs(0)
rs.Close
Text1.Text = a + 1
End Sub
Unload Form4
Form4.Show
Else
rs.AddNew
rs(0) = Text1.Text
rs(1) = Text2.Text
rs(2) = Text3.Text
rs(3) = Text4.Text
rs(4) = Text5.Text
rs(5) = Text6.Text
rs.Update
rs.Close
db.Close
Unload Form4
Form4.Hide
Form1.Show
End If
End Sub
Unload Me
Load Form1
Form1.Show
End Sub
FORM5
Else
db.Close
Unload Me
Load Form1
Form1.Show
End If
End Sub
db.Close
130
Unload Me
Load Form1
Form1.Show
End Sub
db.Open "dsn=credit_card"
Combo1.AddItem rs(0)
rs.MoveNext
Loop
rs.Close
End Sub
FORM6
Dim a As Integer
Dim b As Integer
Dim c As Integer
db.Open "dsn=credit_card"
Text1.Text = ""
131
Text2.Text = ""
Form3.Text7.Text = Form2.Text3.Text
Form3.Text8.Text = Form2.Text4.Text
rs.Open "select * from credit_card where c_no=" & Form3.Text7.Text & " and
pin_no=" & Form3.Text8.Text & "", db, adOpenKeyset, adLockOptimistic
Text1.Text = rs(5)
End Sub
Else
b = Text1.Text
c = Text2.Text
If (b >= c) Then
b=b-c
Text1.Text = b
db.Execute " Update credit_card set curr_bal='" & Text1.Text & "' where c_no="
& Form3.Text1.Text & " ", NumOfRec, adExecuteNoRecords
Me.Hide
Text1.Text = ""
Text2.Text = ""
Unload Form2
132
Unload Form3
Unload Form6
Form1.Show
Form2.Text1.Text = ""
Form2.Text2.Text = ""
db.Close
Else
Text2.Text = ""
End If
End If
End Sub
rs.Close
db.Close
End Sub
Unload Form2
Unload Form3
Unload Form6
Form1.Show
Form2.Text1.Text = ""
Form2.Text2.Text = ""
133
db.Close
End Sub
RESULT:
Thus the mini project for credit card processing system has been
successfully executed and codes are generated.
134
Ex. No:10
OOK MANAGEMENT SYSTEM
Date:
AIM:
OVERALL DESCRIPTION
PRODUCT PERSPECTIVE
The ORS acts as an interface between the user and the 'e-book
manager'. This system tries to make the interface as simple as possible and at
the same time not risking the security of data stored in. This minimizes the
time duration in which the user receives the books or magazines.
SOFTWARE INTERFACE
Front End Client - The Student and Librarian online interface is built
using CSS and HTML. The Librarians local interface is built using VBscript.
135
HARDWARE INTERFACE
(III)USE-CASE DIAGRAM:
136
(III) ACTIVITY DIAGRAM:
137
(IV) CLASS DIAGRAM
The class diagram, also referred to as object modeling is the main static
analysis diagram. The main task of object modeling is to graphically show
what each object will do in the problem domain. The problem domain
describes the structure and the relationships among objects.
138
(V) INTERACTION DIAGRAM:
It is also represented by the order in which things occur and how the
objects in the system send message to one another.
Fig.6.1.SEQUENCE DIAGRAM
139
Fig.6.2.COLLABORATION DIAGRAM
UI
Swing
E-Book system
Domain
Client Order
Technical Services
Persistence
SOAP Log4J
DBFacade
140
(VII) DEPLOYMENT DIAGRAM AND COMPONENT DIAGRAM
Deployment diagrams are used to visualize the topology of the physical
components of a system where the software components are deployed.
<<client
<<database>>
workstation>>:
:MySQL
GenericPC
SQL HTTP
<<server>> :To
mcat6
Fig.8.1.DEPLOYMENT DIAGRAM
COMPONENT DIAGRAM
Component diagrams are used to visualize the organization and relationships
among components in a system.
Fig.8.2.COMPONENT DIAGRAM
141
CODE:
HOME PAGE
Private Sub Label2_Click()
Me.Hide
Unload Me
Form2.Show
End Sub
rs(0) = a + 1
rs(1) = Text2.Text
rs(2) = Text3.Text
rs(3) = Text4.Text
rs(4) = Combo1.Text
rs.Update
rs.Close
db.Close
MsgBox "Book added to Cart!!"
Unload Form2
Form1.Show
End If
End Sub
144
UPDATE CART:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim NumOfRec As Integer
Text3.Text = rs(3)
Combo2.Text = rs(4)
rs.Close
rs.Open "select books from listofbooks", db, adOpenDynamic,
adLockOptimistic
Do While rs.EOF = False
Combo2.AddItem rs(0)
rs.MoveNext
Loop
rs.Close
End Sub
DELETE FORM:
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
RESULT:
Thus the mini project for E-Book System has been successfully
executed and codes are generated.
147
Ex.No: 11
RECRUITMENT SYSTEM
Date:
AIM:
To create an automated system to perform the Recruitment System
Process.
PRODUCT PERSPECTIVE
The PAS acts as an interface between the 'applicant' and the
'administrator'. This system tries to make the interface as simple as possible
and at the same time not risking the security of data stored in. This minimizes
the time duration in which the user receives the recruitment.
SOFTWARE INTERFACE
• Front End Client - The applicant and Administrator online interface
is built using CSS and HTML. The Administrators's local interface is
built using VBscript.
• Web Server - Glassfish application server (SQL Corporation).
148
• Back End - MySQL database.
HARDWARE INTERFACE
The server is directly connected to the client systems. The client
systems have access to the database in the server.
( III )USECASE DIAGRAM:
149
(IV) ACTIVITY DIAGRAM:
150
Fig.5. UML CLASS DIAGRAM
151
Fig. 6.1SEQEUENCE DIAGRAM FOR Register:
152
Fig.6.3. SEQUENCE DIAGRAM FOR Admin
153
Fig.7.1COLLABRATION DIAGRAM For Register
154
Fig.7.3.COLLABORATION DIAGRAM FOR Admin
(VIII) PARTIAL LAYERD LOGICAL ARCHITECTURE DIAGRAM:
UI
Swing Text
Recruitment Recruitment
system Form
Domain
Status
Get status
155
Technical Services
Persistence Log4J
SOAP
DBFacade
156
(IX) DEPLOYMENT DIAGRAM AND COMPONENT DIAGRAM
Deployment diagrams are used to visualize the topology of the physical
components of a system where the software components are deployed.
<<databas <<client
e>>
workstati
:MySQL on>>:Gen
SQ H
<<server>
> :Tomca
Fig.9.1.DEPLOYMENT DIAGRAM t6
Component Diagram
Component diagrams are used to visualize the organization and
relationships among components in a system.
Fig.9.2.COMPONENT DIAGRAM
157
CODING:
Login
Option Explicit
'##ModelId=4D7DB2AA0399
Private Username As Variant
'##ModelId=4D7DB2AE03B9
Private Password As Variant
'##ModelId=4D7DB2C7007D
Public Sub Get()
End Sub
'##ModelId=4D7DB31100EA
Public Sub Re_entry()
End Sub
Organisation_code
Option Explicit
'##ModelId=4D7DB3500261
Private Name As Variant
'##ModelId=4D7DB35D01C5
Private Info As Variant
'##ModelId=4D7DB36B02AF
Private Updates As Variant
'##ModelId=4D7DB3CF00CB
Private Advertisements As Variant
'##ModelId=4D7DB81A00AB
158
Public NewProperty As Collection
'##ModelId=4D7DB42301E4
Public Sub Readinfo()
End Sub
'##ModelId=4D7DB4360128
Public Sub Resume_entry()
End Sub
Form 1:
Private Sub Image52_Click()
Dim chk As Boolean
chk = True
If Text3.Text = "" Then
MsgBox " Enter Username"
chk = False
End If
If Text4.Text = "" Then
MsgBox " Enter Password"
chk = False
End If
If chk Then
If Text3.Text = "aaaa" Then
If Text4.Text = "bbbb" Then
Form1.Hide
Form2.Show
Exit Sub
End If
End If
If Text1.Text = "cccc" Then
159
If Text2.Text = "dddd" Then
Form1.Hide
Form2.Show
Exit Sub
End If
End If
If Text1.Text = "eeee" Then
If Text2.Text = "ffff" Then
Form1.Hide
Form2.Show
Exit Sub
End If
End If
If Text1.Text = "gggg" Then
If Text2.Text = "hhhh" Then
Form1.Hide
Form2.Show
Exit Sub
End If
End If
If chk Then
MsgBox " Invalid Username Password "
End If
End If
End Sub
Form 2:
Private Sub Image1_Click()
160
Form2.Hide
Form3.Show
End Sub
165
RESULT:
Thus the mini project for recruitment system has been successfully
executed and codes are generated.
166
Ex.No :12 FOREIGN TRADING SYSTEM
Date :
AIM
To design a project Foreign Trading System using Rational Rose
Software and to implement the software in Visual Basic
The forex system begins its process by getting the username and password
from the trader. After the authorization permitted by the administrator, the
trader is allowed to perform the sourcing to know about the commodity
details.After the required commodities are chosen, the trader places the
order.The administrator checks for the availability for the required
commodities and updates it in the database. After the commodities are ready
for the trade, the trader pays the amount to the administrator.The administrator
in turn provides the bill by receiving the amount and updates it in the
database.The trader logouts after the confirmation message has been received.
FUNCTIONALITY
Transfer purchasing power between countries. Obtain credit for international
trade transactions. Minimize exposure to the risks of exchange rate changes.
167
FUNCTIONALITY REQUIREMENTS
Functional requirements refers to the functionality of the system. The services
that are provided to the trader who trades.
UML DIAGRAMS
The exporter submits the relevant documents to his buyer (banker) for getting the payment for
the goods exported.
CLASS DIAGRAM
A class diagram is a type of static structure diagram that describes the
structure of a system. The classes in the class diagram represent both the main
objects and or interactions in the application.The class diagram is represented
using rectangular boxes each of which contains three parts:
168
SEQUENCE DIAGRAM
169
TraderTraderAdministratorAdministratorDatabaseDatabaseLoginSourcingPl
ace orderUpdateorderPay update account details bill logout
COLLABORATION DIAGRAM
A collaboration diagram belongs to a group of UML diagrams called
Interaction Diagrams. collaboration diagrams, like sequence diagrams, show
how the objects interact over the course of time. collaboration diagrams show
the sequence by numbering the messages on the diagram.
170
DOCUMENTATION OF COLLABORATION DIAGRAM
The collaboration diagram shows how the trader performs the sourcing and
places order for which the administrator provides the bill and updates it in the
database.
• The trader logins the register in the first state and performs sourcing in the
second state.
• The trader receives the bill in the fourth state and pay the required amount
in fifth state.
• The trader logouts from the system in the sixth state
ACTIVITY DIAGRAM
This diagram represents the graphical representation of workflows of stepwise
activities and actions with support for choice, iteration and concurrency. It
shows the overall flow of control.
• The second action is the place where the trader places the order.
• The decision state is the state where the trader decides to place the order.
• If the trader places the order, fill the form for the required commodities.
171
• The next activity is that the administrator provides the bill for those
commodities.
• The trader pays for the bill and logout from the system.
COMPONENT DIAGRAM
A component diagram depicts how the components are wired together to form
larger components and or software systems. Components are wired together
by using an assembly connector to connect the required interface of one
component with the provided interface of another component.
DEPLOYMENT DIAGRAM
A deployment diagram models the physical deployment of artifacts on nodes.
The nodes appear as boxes, and the artifacts allocated to each node appear as
rectangles within the boxes. Nodes may have sub nodes, which appear as
nested boxes.
172
DOCUMENTATION OF DEPLOYMENT DIAGRAM
The processor in this diagram is the foreign trading system. The devices are
the trader and administrator who perform the main activities in the system.
PACKAGE DIAGRAM
A package diagram in the unified modeling language depicts the dependencies
between the packages that make up a model. It provides a way to group the
elements. There are three types of layers in package diagram. They are
• Domain layer
173
General purpose objects and subsystems that provide supporting technical
services, such as interfacing with a database or error logging.These services
are usually application-independent.
• User interface layer – consists of web and login. This layer describes how
the trader logins to the website and trades for the commodities.
• Domain layer – shows the activities that are performed inside the trading
system. The activities are place order, pay for the bill and logouts.
• Technical service layer – The sourcing and updating the details are
performed in this layer.
CODING
174
CODE FOR LOGIN FORM:
rs.MoveNext
Loop
rs.Close
End Sub
RESULT
Thus the mini project for foreign trading system has been successfully
executed and codes are generated.
177
Ex. No: 13 CONFERENCE MANAGEMENT SYSTEM
Date:
AIM
To develop a project on Conference management system using
Rational Rose Software.
( I )PROBLEM STATEMENT
The process of the candidates is to login the conference system and submit the
paper through online. Then the reviewer reviews the paper and sends the
acknowledgement to the candidate either paper selected or rejected. This
process of on conference management system are described sequentially
through following steps,
178
SOFTWARE This software specification documents fullset of
REQUIREMENT features and function for conference
SPECIFICATION managementsystem.
PURPOSE
The purpose of the conference management system is that the system can
easily review the process. The main process in this document is the
submission of paper by the candidate, reviewing process by the reviewer and
sending of acknowledgement to the candidates whose paper is selected.
SCOPE
The scope of this conference management process is to select the best
candidate from the list of candidates based on their performance in the
process.
FUNCTIONALITY
The main functionality of conference system is to select the candidate for the
presentation in conference.
USABILITY
The user interface to make the process should be effective that is the system
will help the candidates to register easily. The system should be user friendly.
PERFORMANCE
It describes the capability of the system to perform the conference process of
the candidate without any error and performing it efficiently.
RELIABILITY
The conference system should be able to serve the applicant with correct
information and day-to-day update of information.
FUNCTIONAL REQUIREMENTS
Functional requirements are those that refer to the functionality of the system
that is the services that are provided to the candidate who register for the
conference.
UML DIAGRAMS
179
The following UML diagrams describe the process involved in the
conference management system.
• Candidate - Logins the conference system and submits the paper then do
the registration process.
• Databases - verify the login and register details and selected candidate
details are stored in it.
• Review the paper– The paper is been reviewed by the reviewer and the
paper is selected.
180
• Revised and camera ready paper – After the paper is selected and the
camera ready paper should be submitted to the reviewer by candidate.
CLASS DIAGRAM
181
• Reviewer – Its attributes are name, department, reviewer ID The operations
performed are review the paper and send the paper confirmation details.
SEQUENCE DIAGRAM
182
SEQUENCE DIAGRAM FOR SUBMITTING PAPER
• The candidate login in to the conference system and register for job.
PAPER SUBMISSION
This sequence diagram shows steps to show
COLLABRATION DIAGRAM
183
A collaboration diagram, also called a communication diagram or interaction
diagram,. A sophisticated modeling tool can easily convert a collaboration
diagram into a sequence diagram and the vice versa. A collaboration diagram
resembles a flowchart that portrays the roles, functionality and behavior of
individual objects as well as the overall operation of the system in real time.
LOGIN
This collaboration diagram is to show how the applicant login in the
conference system. Here the sequence is numbered according to the flow of
execution.
PAPER SUBMISSION
This collaboration diagram is to show the submitting paper process of the
candidate for the conference. The flow of execution of this selection process
is represented using the numbers.
184
The purpose of state chart diagram is to understand the algorithm involved
in performing a method. It is also called as state diagram. A state is
represented as a round box, which may contain one or more compartments.
An initial state is represented as small dot. A final state is represented as circle
surrounding a small dot.
• First state is login where the candidate login to the conference system.
COMPONENT DIAGRAM
185
The component diagram's main purpose is to show the structural
relationships between the components of a system. It is represented by
boxed figure. Dependencies are represented by communication association.
DEPLOYMENT DIAGRAM
186
DOCUMENTATION OF DEPLOYMENT DIAGRAM
The processor in this deployment diagram is the conference management
system which is the main part and the devices are the candidate, appear for do
conference , reviewer will reviews paper , database will store all details which
are the some of the main activities performed in the system.
PACKAGE DIAGRAM
• The User interface layer - consists of the web and login. This layer
describes how the candidate login.
• The Domain layer – shows the activities that are performed in the
conference management system. The activities are paper submission , review
paper , registration.
• The Technical service layer - the verification details and the selected
candidate details will stored into the database.
187
CODE :
FORM1:
Private Sub Command1_Click()
Form2.Show
Me.Hide
End Sub
FORM 2:
Private Sub Command1_Click()
Form3.Show
Me.Hide
End Sub
188
FORM4:
Dim db As Database
Dim rs As Recordset
End Sub
FORM5:
Dim db As Database
Dim rs As Recordset
rs(2) = Text2.Text
rs(3) = Combo2.Text
rs.Update
Text1.Text = ""
Text2.Text = ""
Combo1.Text = ""
Combo2.Text = ""
MsgBox "Thanx a ton for coming!!! U can find ur date an slot herewith. ROCK
ON!!!!"
Form6.Show
Me.Hide
End Sub
Private Sub Form_Load()
Set db = OpenDatabase("E:\ooad lab\my stuff\partidetails.mdb")
Set rs = db.OpenRecordset("thesis_details")
End Sub
FORM6:
Dim db As Database
Dim rs As Recordset
FORM7:
Dim db As Database
Dim rs As Recordset
CLASS PARTICIPANT1:
Option Base 0
Option Explicit
'##ModelId=4D7D9DA302CE
191
Private name As Variant
'##ModelId=4D7D9DA603A9
Private contact_no As Variant
'##ModelId=4D7DA0210128
Private regid As Variant
'##ModelId=4D7D9FE0031C
Private thesis_title As Variant
'##ModelId=4D7D9FE60167
Private thesis_stream As Variant
'##ModelId=4D7D9FF50242
Private references As Variant
'##ModelId=4D7D9E3C030D
Public Sub sign_in()
End Sub
'##ModelId=4D7D9E4202BF
Public Sub sign_up()
rs.MoveLast
rs.AddNew
rs(0) = Form3.tname.Text
rs(1) = Form3.tnum.Text
rs(2) = Form3.tid.Text
rs.Update
MsgBox "Welcome on board!!"
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
End Sub
'##ModelId=4D7D9E4600AB
Public Sub enter_thesis_details()
End Sub
'##ModelId=4D7D9EB8036B
192
Public Sub attach_thesis()
End Sub
'##ModelId=4D7D9EC9035B
Public Sub logout() End Sub
RESULT :
Thus the mini project for Conference management system has
beensuccessfully executed and codes are generate.
193
EX.NO : 14
BPO Management System
DATE :
AIM :
To implement a software for BPO management system
PRODUCT PERSPECTIVE
The BPOS acts as an interface between the 'client' and the
'administrator'. This system tries to make the interface as simple as possible
and at the same time not risking the security of data stored in. This
minimizes the time duration in which the user receives the documents.
SOFTWARE INTERFACE
• Front End Client - The applicant and Administrator online interface
is built using CSS and HTML. The Administrators's local interface is
built using VBscript.
• Web Server - Glassfish application server (SQL Corporation).
• Back End - MySQL database.
HARDWARE INTERFACE
The BPO system’s server is directly connected to the client systems
194
via ftp. The client systems have access to the database in the server.
197
Fig.5.2COLLABRATION DIAGRAM
198
(VI)PARTIAL LAYERD LOGICAL ARCHITECTURE DIAGRAM:
UI
Swing Text
BPOS Recruitment
Form
Domain
BPOS Admin
Client
Upload Feedback
Technical Services
Persistence Log4J
SOAP
DBFacade
199
(VIII) DEPLOYMENT DIAGRAM AND COMPONENT DIAGRAM
Deployment diagrams are used to visualize the topology of the physical
components of a system where the software components are deployed.
<<database>>
<<client
:SQL
workstation>>:
GenericPC
SQL FTP
<<server>>
Fig.9.1.DEPLOYMENT DIAGRAM
Component Diagram
Component diagrams are used to visualize the organization and
relationships among components in a system.
200
CODE :
LOGIN FORM
ORDER FORM
Private Sub Command1_Click()
Adodc1.Recordset.AddNew
MsgBox " orderd", vbkonly
End Sub
202
RESULT :
Thus the mini project for BPO management system has been
successfully executed and codes are generated.
203
Ex.No:15 LIBRARY MANAGEMENT SYSTEM
Date:
AIM
To design an object oriented model for Library Management System using
Rational Rose software and to implement it using VBscript.
PROBLEM STATEMENT
The library management system is a software system that issues books and
magazines to registered students only. The student has to login after getting
registered to the system. The borrower of the book can perform various
functions such as searching for desired book, get the issued book and return
the book.
CLASS DIAGRAM
A class diagram in the unified modeling language is a type of static structure
diagram that describes the structure of a system by showing the system’s
classes, their attributes, operations and the relationships among objects. The
library management system makes use of the following classes user,
204
librarian, system and DBA.
login
<<actor>>
projection of
user
issue book
return book
DBA
205
DEPLOYMENT DIAGRAM
COMPONENT DIAGRAM
206
library management
system
STATECHART DIAGRAM
COLLABORATION DIAGRAM
Like sequence diagram collaboration diagrams are also called as interaction
diagram. Collaboration diagram convey the same informations as sequence
diagram but focus on the object roles instead of the times that messages are
sent. Here the actions between various classes are represented by number
format for the case of identification.
207
SEQUENCE DIAGRAM
A sequence diagram represent the sequence and interactions of a given use
case or scenario. Sequence diagram capture most of the information about the
system. It is also represent in order by which they occur and have the object
in the system send message to one another. Here the sequence starts with
interaction between user and the system followed by database. Once the book
have been selected the next half of sequence starts between librarian and user
followed by database.
208
ACTIVITY DIAGRAM
Activity diagram are graphical representation of workflows of stepwise
activities and actions with support for choice, iteration and concurrency. Here
in the activity diagram the user login to the system and perform some main
activity which is the main key element to the system.
209
CODE :
Dim library
Set library = CreateObject("Scripting.Dictionary")
Sub SearchBook(title)
If library.Exists(title) Then
Dim bookDetails
Set bookDetails = library(title)
MsgBox "Title: " & bookDetails("Title") & vbCrLf & _
"Author: " & bookDetails("Author") & vbCrLf & _
"Year: " & bookDetails("Year")
Else
MsgBox "Book not found in the library."
End If
End Sub
Sub DisplayLibrary()
Dim bookTitle
Dim bookList
bookList = "Library Inventory:" & vbCrLf & vbCrLf
For Each bookTitle In library.Keys
Dim bookDetails
210
Set bookDetails = library(bookTitle)
bookList = bookList & "Title: " & bookDetails("Title") & vbCrLf & _
"Author: " & bookDetails("Author") & vbCrLf & _
"Year: " & bookDetails("Year") & vbCrLf & vbCrLf
Next
MsgBox bookList
End Sub
RESULT
Thus the various UML diagrams for library management system was drawn
and the code was generated successfully.
211
Ex.No:16 STUDENT INFORMATION SYSTEM
Date:
AIM
To design an object oriented model for Student information system using
Rational Rose software.
PROBLEM STATEMENT
The student must register by entering the name and password to login the
form. The admin select the particular student to view the details about that
student and maintaining the student details. This process of student
information system is described sequentially through following steps. The
student registers the system. The admin login to the student information
system. He/she search for the list of students. Then select the particular
student. Then view the details of that student. After displaying the student
details then logout.
CLASS DIAGRAM
The class diagram is the graphical representation of all classes used in the
system. The class diagram is drawn as rectangular box with three components
or compartments like class name, attributes and operations. The student
information system makes use of the following classes like student, staff,
system, DBA and server.
212
COLLABORATION DIAGRAM
A Collaboration diagram represents the collaboration in which is a set of
objects related to achieve a desired outcome. In collaboration, the sequence
is indicated by numbering the message several numbering schemes are
available. Login, request access, allow access, display, view details, logout,
login, request access, allow access, display, enter profile, enter mark, provide
data, logout, store data, update data.
213
SEQUENCE DIAGRAM
214
by database. The student first login to the system and then view
the details of the details. Staff login to the system enter mark and
enter the details of the student. DBA store and update the details
of the student.
COMPONENT DIAGRAM
215
structural relationship between components of the system.The main
component of the system is student information system and the
other components of the system are student, staff and DBA.
student information
216
DEPLOYMENT DIAGRAM
217
STATE CHART DIAGRAM
A State chart diagram is also called as state machine diagram. The state chart
contains the states in the rectangular boxes and the states are indicated by the
dot enclosed. The state chart diagram describes the behavior of the system.
The state chart involves six stages such as login, enter mark, enter profile,
view details, provide details, update details, store details and logout.
marks
view details
details details
ACTIVITY DIAGRAM
218
activities and actions with support for choice, interaction and
concurrency. Here in the activity diagram the student login to the
system and view the details of the student. The staff login to the
system for entering the student details and update the details in the
database. The final interaction is the DBA store the details of the
student.
219
CODE :
Dim studentName
Dim studentID
Dim studentGrade
RESULT
Thus the various UML diagrams for student informationsystem
were drawn and code was generated successfully.
221