CCS356 OOSE LAB (3)
CCS356 OOSE LAB (3)
STUDY OF UML
DESCRIPTION
At the center of the UML are its nine kinds of modeling diagrams, which
we describe here.
• Use case
diagrams
• Class diagrams
• Sequence
diagrams
• Collaboration
diagrams
• State chart
diagrams
• Activity diagrams
• Component
diagrams
• Deployment
diagrams
GRAPHICAL NOTATION
The basic components of Use Case diagrams are,
• Actor
• Use Case
• Association.
ACTOR
An Actor, as mentioned, is a user of the system, and is depicted using a
stick figure. The role of the user is written beneath the icon. Actors are not
limited to humans. If a system communicates with another application, and
expects input or delivers output, then that application can also be considered
an actor.
USE CASE
A Use Case is functionality provided by the system, typically described
as verb + object (e.g. Register Car, Delete User). Use Cases are depicted with
an ellipse. The name of the use case is written within the ellipse.
ASSOCIATION
Associations are used to link Actors with Use Cases, and indicate that
an Actor participates in the Use Case in some form. Associations are depicted
by a line connecting the Actor and the Use Case.
The following image shows how these three basic elements work
together to form a use case diagram.
Use case diagrams describe what a system does from the standpoint
of an external observer. The emphasis is on what a system does rather than
how.
SEQUENCE DIAGRAM
Actor
Actors can also communicate with objects, so they too can be listed as a column.
An Actor is modeled using the ubiquitous symbol, the stick figure.
LIFELINE
The Lifeline identifies the existence of the object over time. The
notation for a Lifeline is a vertical dotted line extending from an object.
ACTIVATION
Activations, modeled as rectangular boxes on the lifeline, indicate when
the object is performing an action.
MESSAGE
Messages, modeled as horizontal arrows between Activations, indicate
the communications between objects.
ACTIVITY DIAGRAM
Activity diagrams are used to document workflows in a system, from the
business level down to the operational level. When looking at an Activity
diagram, you'll notice elements from State diagrams. In fact, the Activity
diagram is a variation of the state diagram where the "states" represent
operations, and the transitions represent the activities that happen when the
operation is complete. The general purpose of Activity diagrams is to focus on
flows driven by internal processing vs. external events.
ACTIVITY STATES
Activity states mark an action by an object. The notations for these
states are rounded rectangles, the same notation as found in State chart
diagrams.
TRANSITION
When an Activity State is completed, processing moves to another Activity State.
Transitions are used to mark this movement. Transitions are modeled using
arrows.
SWIM LANE
Swim lanes divide activities according to objects by arranging objects in
column format and placing activities by that object within that column.
Objects are listed at the top of the column, and vertical bars separate the
columns to form the swim lanes.
INITIAL STATE
The Initial State marks the entry point and the initial Activity State. The
notation for the Initial State is the same as in State chart diagrams, a solid
circle. There can only be one Initial State on a diagram.
FINAL STATE
Final States mark the end of the modeled workflow. There can be
multiple Final States on a diagram, and these states are modeled using a solid
circle surrounded by another circle.
SYNCHRONIZATION BAR
Activities often can be done in parallel. To split processing ("fork"), or
to resume processing when multiple activities have been completed ("join"),
Synchronization Bars are used. These are modeled as solid rectangles, with
multiple transitions going in and/or out.
COMPONENT DIAGRAM
Component diagrams fall under the category of an implementation
diagram, a kind of diagram that models the implementation and deployment
of the system. A Component Diagram, in particular, is used to describe the
dependencies between various software components such as the dependency
between executable files and source files. This information is similar to that
within make files, which describe source code dependencies and can be used
to properly compile an application.
COMPONENT
A component represents a software entity in a system. Examples
include source code files, programs, documents, and resource files. A
component is represented using a rectangular box, with two rectangles
protruding from the left side, as seen in the image to the right.
DEPENDENCY
A Dependency is used to model the relationship between two
components. The notation for a dependency relationship is a dotted arrow,
pointing from a component to the component it depends on.
CLASS DIAGRAM
Multiplicities Meaning
This small class diagram shows that a university Department can contain
lots of other Departments.
COLLABORATION DIAGRAMS
The object-role rectangles are labeled with either class or object names
(or both). Class names are preceded by colons ( : ).
Objects have behaviors and state. The state of an object depends on its
current activity or condition. A statechart diagram shows the possible
states of the object and the transitions that cause a change in state.
States are rounded rectangles. Transitions are arrows from one state to
another. Events or conditions that trigger transitions are written beside the
arrows. Our diagram has two self-transition, one on Getting SSN and
another on Getting PIN.
The initial state (black circle) is a dummy to start the action. Final
states are also dummy states that terminate the action.
COMPONENT AND DEPLOYMENT DIAGRAMS
AIM
PROBLEM STATEMENT
SCOPE
The system provides an online interface to the user where they can fill
their personal details and submit the necessary documents(may be by
scanning).
• The authority concerned with the issue of passport can use this system
to reduce his workload and process the application in a speedy manner.
• Transfer of data between the passport issuing authority and the local
police for the verification of applicant’s information.
SOFTWARE REQUIREMENTS SPECIFICATION
S.NO Content
1.0 Introduction
1.1 Purpose
1.2 Scope
1.3 Definition, Acronyms and Abbreviations
1.4 Reference
1.5 Technology to be used
1.6 Tools to be used
1.7 Overview
2.0 Overall description
2.1 Productive description
2.2 Software interface
2.3 Hardware interface
2.4 System function
2.5 User Characteristic
2.6 Constraints
2.7 Assumption and Dependences
1.0 Introduction
Passport Automation System is an interface between the Applicant and the
Authority responsible for the Issue of Passport. It aims at improving the efficiency
in the Issue of Passport and reduces the complexities involved in it to the
maximum possible extent.
1.1 Purpose
If the entire process of 'Issue of Passport' is done in a manual manner then
it would take several months for the passport to reach the applicant. Considering
the fact that the number of applicants for passport is increasing every year, an
Automated System becomes essential to meet the demand. So this system uses
several programming and database techniques to elucidate the work involved in
this process. As this is a matter of National Security, the system has been carefully
verified and validated in order to satisfy it.
1.2 Scope
• The System provides an online interface to the user where they can fill in
their personal details
• The authority concerned with the issue of passport can use this system to
reduce his workload and process the application in a speedy manner.
• Provide a communication platform between the applicant and the
administrator
• Transfer of data between the Passport Issuing Authority and the Local
Police for verification of applicant's information.
1.3 Definitions, Acronyms and the Abbreviations
• Administrator - Refers to the super user who is the Central
Authority who has been vested with the privilege to manage
the entire system. It can be any higher official in the
Regional Passport Office of Ministry of External Affairs.
• Applicant - One who wishes to obtain the Passport. ™
PAS - Refers to this Passport Automation System.
1.4 References
IEEE Software Requirement Specification format.
1.7 Overview
SRS includes two sections overall description and specific requirements -
Overall description will describe major role of the system components and inter-
connections. Specific requirements will describe roles & functions of the actors.
2.0 Overall Description
2.6 Constraints
The applicants require a computer to submit their information.
Although the security is given high importance, there is always a chance of
intrusion in the web world which requires constant monitoring.
The user has to be careful while submitting the information. Much care is
required.
UML DIAGRAMS
The following UML diagrams describe the process involved in the passport
automation system
COLLABORATION DIAGRAM
ACTIVITY DIAGRAM
COMPONENT DIAGRAM
Passport Automation
System
DEPLOYMENT DIAGRAM
Passport
Automation system
End Sub
End Sub
SNAPSHOTS
WELCOME FORM
The System provides an online interface to the user where they can fill in their
personal details and submit the necessary documents (may be by
scanning).The authority concerned with the issue of passport can use this
system to reduce his workload and process the application in a speedy
manner. It provide a communication platform between the applicant and the
administrator. It transfers data between the Passport Issuing Authority and
the Local Police for verification of applicant's information. Users/Applicants
will come to know their status of application and the date in which they must
subject themselves for manual document verification.
Ex.No: 03
BOOK BANK MANAGEMENT SYSTEM
AIM
To develop a project of Book bank management system using Argo
UML software, MySql Software and to implement the software in Netbeans
8.2.
PROBLEM STATEMENT
First the member registers himself if he was new to the book bank.
Old members will directly select old member button..
They select their corresponding year.
After selecting the year they fill the necessary details and select the
book and he will be directed towards administrator
The administrator will verify the status and issue the book.
1.1 Objective
The main objective of the system was to design an online book-bank
monitoring system to enable a central monitoring mechanism of the book-
bank be more faster and less error prone. Apart from this,
To help the students acquire the right books for the syllabus at the right
time.
To ensure availability of basic textbooks to students against limited
funds and To develop students ability to handle property loaned to
them
1.2 Overview
The overview of this project is to design a tool for book bank so that it
can be used by any book banks to lend their books as well as colleges.
1.3 Glossary
TERMS DESCRIPTION
MEMBER The one who registers himself and
purchase books from the bank.
DATABASE Database is used to store the details
of members and books.
ADMINISTRATOR The one who verifies the availability
of book and issue them
USER Member
This software specification
SOFTWARE documents full set of features and
REQUIREMENT function for online
SPECIFICATION recruitment system that is
performed in company website.
1.4 Purpose
The purpose of the book bank management system is to reduce the
manual intervention .
1.5 Scope
The scope of this book bank management system is to act as a tool for
book bank administrator for quick reference, availability of the books.
1.6 Functionality
Many members will be waiting to take the book from the book bank at a
single day. To serve all the members
1.7 Usability
1.8 Performance
1.9 Reliability
UML DIAGRAMS
The following UML diagrams describe the process involved in the online
recruitment system
Use case diagram
Class diagram
Sequence diagram
Collaboration diagram
State chart diagram
Activity diagram
Component diagram
Deployment diagram
Package diagram
registration
select books
database1
updation
authentications
administrator
verification
issues
The actors in this use case diagram are member and database. The use cases
are the activities performed by actors.
The member will register himself in the book bank.
After registration he will select the year to which he belongs
After selecting he will select books
Database will verify the status of book will be given.
CLASS DIAGRAM
Member details class- is the class name. Its attributes are name, father
name, date of birth, address, phone number, member id, college,
degree, course and semester.
Its operations are registration, authentication, and year selection.
Administrator- is the class name. Its attributes are name, address,
phone, mail id. Its operations are authentication, verification and issue
books.
Year-is the class name. Its attribute is year selection. Its operations are
1st year,2nd year, 3rd year,4th year.
Issue for 1st year-is the class name. Its attributes are member code,
member name, book code, book name, and quantity.
Its operation is issue for 2nd year-is the class name. Its attributes are
member code, member name, book code, book name, and quantity.
Issue for 3rd year-is the class name. Its attributes are member code,
member name, book code, book name, and quantity. Its operation is
issue
SEQUENCE DIAGRAM
registration
year selection
book selection
updation
authentication
verification
COLLABRATION DIAGRAM
2: year selection
Student
1: registration 4: updation
3: book selection
database
5: authent ication
6: verif ication
administrator
COMPONENT DIAGRAM
member
details
year
DEPLOYMENT DIAGRAM
Book Bank
member
details
year
issue for 2nd issue for 3rd year issue for 4th year
issue for 1st year
year year
The processor in this deployment diagram is the book bank which is the
main part and which are the some of the main activities performed in the
system. And issue for first year, issue for second year issue for third year and
issue for fourth year are some activities performed in this system.
CODINGS
Administrator. Class
Option Explicit
'##Model Id=4D5A2FC4038A
Private name As Variant
'##Model Id=4D6CB83B006D
Private address As Variant
'##Model Id=4D6CB84902DE
Private phone As Variant
'##Model Id=4D6CB8510000
Private mail id As Variant
'##Model Id=4D5A34780280
Public New Property As year
'##Model Id=4D5A348B0290
Public NewProperty2 As database
'##Model Id=4D5A31B30119
Public Sub authentication ()
On Error Go To Error
Handler '## your code goes
here...
If Form10.Text1.Text = "admin" And Form10.Text2.Text = "1234" Then
MsgBox "login successfully"
Form9.Show
Else
MsgBox "invalid password"
End If
Exit Sub
ErrorHa
ndler:
Call Raise Error (My Unhandled Error, "authentication Sub")
End Sub
'##Model Id=4D5A31E402BF
Public Sub verification ()
On Error Go To Error
Handler '## your code goes
here...
Exit Sub
Error
Handler:
Call Raise Error (My Unhandled Error , "verification Sub")
End Sub
'##Model Id=4D6CB8E403B9
Public Sub issue_books()
On Error Go To Error
Handler '## your code goes
here...
Exit Sub
Error
Handler:
Call Raise Error (My Unhandled Error, "issue_books Sub")
End Sub
Database .class
Option Explicit
'##Model Id=4D5A2FB00128
Private name As Variant
'##Model Id=4D51082601C5
Public Sub update () On
Error Go To Error
Handler '## your code
goes here...
Exit Sub
Error
Handler:
Call Raise Error (My Unhandled Error , "update Sub")
End Sub
Year . Class
Option Explicit
'##Model Id=4D5A317F00DA
Private year_selection As Variant
'##Model Id=4D5A319B0128
Public Sub 1styear()
On Error GoTo
ErrorHandler '## your
code goes here... Exit
Sub ErrorHandler:
Call RaiseError(MyUnhandledError, "styear Sub")
End Sub
'##ModelId=4D5A319F00CB
Public Sub 2nd_year()
On Error GoTo
ErrorHandler '## your
code goes here... Exit
Sub ErrorHandler:
Call RaiseError(MyUnhandledError, "nd_year Sub")
End Sub
'##ModelId=4D5A31A2032C
Public Sub 3rd_year()
On Error GoTo
ErrorHandler '## your
code goes here... Exit
Sub ErrorHandler:
Call RaiseError(MyUnhandledError, "rd_year Sub")
End Sub
Issue for first year. class
Option Explicit
'##ModelId=4D5A3381006F
Private member_code As Variant
'##ModelId=4D5A33810070
Private member_name As Variant
'##ModelId=4D5A33810072
Private book_name As Variant
'##ModelId=4D5A347B03B9
Public NewProperty As year
'##ModelId=4D5A3381006E
Public Sub issue_for_first()
On Error GoTo
ErrorHandler '## your
code goes here...
Form6.Data1.Recordset.AddNew
Form6.Text5.Text = Form6.Text5.Text + 1
Form6.Text4.Text = Form6.Text4.Text - 1
If (Form6.Text4.Text <= 0) Then
MsgBox "only four books can be selected"
Form8.Show
End If
Exit Sub
ErrorHandler:
Call RaiseError(MyUnhandledError, "issue_for_first Sub")
End Sub
Issue for second year class
Option Explicit
'##ModelId=4D5A33D902EE
Private member_code As Variant
'##ModelId=4D5A33DC03D8
Private member_name As Variant
'##ModelId=4D5A33E30167
Private book_name As Variant
'##ModelId=4D5A347C03D8
Public NewProperty As year
'##ModelId=4D5A33ED00BB
Public Sub
issue_for_second() On
Error GoTo ErrorHandler
'## your code goes here...
Data1.Recordset.AddNew
Form7.Text5.Text = Form7.Text5.Text + 1
Form7.Text4.Text = Text4.Text - 1
If (Form7.Text4.Text <= 0) Then
MsgBox "only four books can be selected"
Form8.Show
End If
Exit Sub
ErrorHa
ndler:
Call RaiseError(MyUnhandledError, "issue_for_second Sub")
End Sub
Issue for third year class
Option Explicit
'##ModelId=4D5A33F2036B
Private member_code As Variant
'##ModelId=4D5A33FA00EA
Private member_name As Variant
'##ModelId=4D5A34010399
Private book_name As Variant
'##ModelId=4D5A347E0138
Public NewProperty As year
'##ModelId=4D5A340F01B5
Public Sub issue_for_third()
On Error GoTo
ErrorHandler '## your
code goes here...
Form8.Data1.Recordset.AddNew
Form8.Text5.Text = Form8.Text5.Text + 1
Form8.Text4.Text = Form8.Text4.Text - 1
If (Form8.Text4.Text <= 0) Then
MsgBox "only four books can be selected"
Form8.Show
End If
Exit Sub
ErrorHa
ndler:
Call RaiseError(MyUnhandledError, "issue_for_third Sub")
End Sub
Form 1
Private Sub Command1_Click()
Form1.Show
End Sub
Private Sub Command2_Click()
Form9.Show
End Sub
Private Sub Command3_Click()
Form5.Show
End Sub
Form 2
Private Sub Command1_Click()
Data1.Recordset.AddNew
End Sub
Private Sub Command2_Click()
Data1.Recordset.update
Form2.Show
End Sub
Form 3
Private Sub Command1_Click()
Form4.Show
End Sub
Private Sub Command2_Click()
Form6.Show
End Sub
Private Sub Command3_Click()
Form7.Show
End Sub
Form 4
Private Sub Command2_Click()
Dim fi As Issue for first
year Set fi =new Issue for
first year fi.issue_for_first
End Sub
Private Sub Command3_Click()
Data1.Recordset.update
End Sub
Private Sub Form_Load()
Text4.Text = 5
Text5.Text = 0
End Sub
Private Sub List1_Click()
Text3.Text = List1.Text
End Sub
Form 5
Private Sub Command2_Click()
Dim se As Issue for second
year Set se =new Issue for
second year
se.issue_for_second End
Sub
Private Sub Command3_Click()
Data1.Recordset.update
End Sub
Private Sub Form_Load()
Text4.Text = 5
Text5.Text = 0
End Sub
Private Sub List1_Click()
Text3.Text = List1.Text
End Sub
Form 6
Private Sub Command2_Click()
Dim th As Issue for third
year Set th =new Issue
for third year
th.issue_for_third End
Sub
Private Sub Command3_Click()
Data1.Recordset.update
End Sub
Private Sub Form_Load()
Text4.Text = 5
Text5.Text = 0
End Sub
Private Sub List1_Click()
Text3.Text = List1.Text
End Sub Form 7 private
Sub Command1_Click()
Dim au As Administrator
Set au =new
Administrator au.
authentication End Sub
Private Sub Command2_Click()
Unload Me
End Sub
SNAPSHOTS
HOME PAGE
MEMBERSHIP FORM
YEAR SELECTION
ISSUE FORM – I YEAR
ADMINISTRATOR LOGIN
MEMBER DETAILS
BOOK DETAILS
CONCLUSION
Thus the project to develop book bank management system using Argo
UML software, MySql Software and to implement the software in Netbeans
8.2 was done successfully.
Ex.No: 04
EXAM REGISTRATION SYSTEM
AIM
To develop a project on Conference management system using Argo
UML software, MySql
Software and to implement the project in Netbeans 8.2
PROBLEM STATEMENT
To create an online exam registration system that will meet the needs
of the applicant and help them in registering for the exam, cancellation for the
registered exam, viewing the schedule and result.
OVERALL DESCRIPTION
™ REGISTRATION FOR THE EXAM
In this module, the candidate can register for the exam. It is
provided for both UG and PG courses. They can register by selecting the
subject. The ID is generated for each candidate who hava been
registered.
S.No Contents
1.0 INTRODUCTION
1.1 OBJECTIVE
1.2 OVERVIEW
1.3 GLOSSARY
1.4 PURPOSE
1.5 SCOPE
1.6 FUNCTIONALITY
1.7 USABILITY
1.8 PERFORMANCE
1.9 RELIABILITY
2.0 FUNCTIONAL REQUIREMENTS
2.1 EXTERNAL INTERFACE REQUIREMENTS
1.0 INTRODUCTION
1.1 OBJECTIVE
1.2 OVERVIEW
The overview of the project is to design an exam registration tool for the
registration process which makes the work easy for the applicant as well as the
Authorities of Exam. Authorities of the exam can keep track of and maintain
the database of the registered applicants for the exams.
1.3 GLOSSARY
Terms Description
APPLICANT OR Applicant can register himself by filling out the
STUDENT registration form and finally paying the payment for
attending the exam.
DATABASE Database is used to maintain and store the details of
registered applicants
SOFTWARE This software specification documents full set of
REQUIREMENT features and function for online recruitment system
SPECIFICATION that is performed in company website.
1.4 PURPOSE
The purpose of exam registration system is to register for the exam in
an easier way and to maintain the registered details in an effective manner.
1.5 SCOPE
1.6 FUNCTIONALITY
1.8 PERFORMANCE
1.9 RELIABILITY
SOFTWARE REQUIREMENTS
HARDWARE REQUIREMENTS
Processor : pentium 4.
RAM : 256 mb
Operating syatem : Microsoft windows xp.
Free disk space : 1GB
UML DIAGRAMS
The following UML diagrams describe the process involved in the Exam
Registration System
login
display form
register
STUDENT
REGISTER
generate reg no
PG
view shedule
UG
view results
display results
CLASS DIAGRAM
SEQUENCE DIAGRAM
stud:student reg:register db
login
validate
login
validate
display form
register
generate register no
COLLABORATION DIAGRAM
6: register
stud:stu reg:regis
dent ter
5: display form
7: generate register no
1: login
9: view the shcedule 3: login
11: view the results 8: maintain exam schedule
10: display the results
2: validate
4: validate
db
ACTIVITY DIAGRAM
maintain
register candidate details
generate
regno
display
results
view
results
COMPONENT DIAGRAM
exam registration
system
Codings
Form1: Login
Form3: Registrar
Private Sub
Command4_Click()
con.Execute "select *from
ug1" rs.MoveFirst Do
While Not rs.EOF
If rs.Fields(0) = Text1.Text Then
Text4.Text = rs.Fields(4)
End If
rs.MoveNext
Loop
End Sub
Form9: Cancellation of UG
Form7: Cancellation of PG
MSFlexGrid1.ColWidth(0) = 1000
MSFlexGrid1.ColWidth(1) = 1000
MSFlexGrid1.ColWidth(2) = 1000
MSFlexGrid1.ColWidth(3) = 2000
MSFlexGrid1.TextMatrix(0, 0) = "sno"
MSFlexGrid1.TextMatrix(0, 1) = "date"
MSFlexGrid1.TextMatrix(0, 2) = "session"
MSFlexGrid1.TextMatrix(0, 3) = "subject"
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.FixedCol
s=3
MSFlexGrid1.Text =
rs(3) r = r + 1
rs.MoveNext
Loop
End Sub
MSFlexGrid1.TextMatrix(0, 0) = "sno"
MSFlexGrid1.TextMatrix(0, 1) = "date"
MSFlexGrid1.TextMatrix(0, 2) =
"session"
MSFlexGrid1.TextMatrix(0, 3) =
"subject" 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.FixedCol
s=3
MSFlexGrid1.Text =
rs(3) r = r + 1
rs.MoveNext
Loop
End Sub
Form5: Result
MSFlexGrid1.TextMatrix(0, 0) = "Name"
MSFlexGrid1.TextMatrix(0, 1) = "ID"
MSFlexGrid1.TextMatrix(0, 2) =
"Percentage" 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.FixedCol
s=2
MSFlexGrid1.Text =
rs(2) r = r + 1
rs.MoveNext
Loop
End Sub
Form11:
TABLE DESIGN
Table :ug1
Table:pgg
Table:scheug
Table:ug3
Name Null? Type
----------------------------------------------------- -------- -----------------------
NAME VARCHAR2(20)
DOB VARCHAR2(20)
AGE NUMBER
SUBJECT VARCHAR2(20)
ID NUMBER
ANOTHERSUB VARCHAR2(20)
SNAPSHOTS
LOGIN FORM
STUDENT LOGIN
RESULT FORM
CONCLUSION
Thus Exam Registration System is one which enables the registration who
wishes to register for exam through online. This helps the candidate to reduce
time delays by waiting in queues while registering for the exam. The candidate
can also view the exam schedule. They can also cancel the registered exam. In
older days, all the registration details were maintained in files which were
tedious to maintain. It also occupies lot of space. All these problems can be
easily eliminated by the use of software. Thus, the software is implemented
for the Exam Registration System.
Ex.No: 05
STOCK MAINTENANCE SYSTEM
AIM
PROBLEM STATEMENT
SOFTWARE REQUIREMENT
SPECIFICATION
S.No Contents
1.0 INTRODUCTION
1.1 OBJECTIVE
1.2 OVERVIEW
1.3 GLOSSARY
1.4 PURPOSE
1.5 SCOPE
1.6 FUNCTIONALITY
1.7 USABILITY
1.8 PERFORMANCE
1.9 RELIABILITY
2.0 FUNCTIONAL REQUIREMENTS
1. 0 INTRODUCTION
1.1 OBJECTIVE
1.2 OVERVIEW
1.3 GLOSSARY
TERMS DESCRIPTION
CUSTOMER The customer can have the username and password
after login to the system. After login they directed to
fill the customer details. And the customer places
their order. After placing orders they lead to verify all
the details in a single form. Then they places the
order successfully.
VENDOR Vendor has the login id. After login vendor verify the
customer details and orders. And maintain the stocks.
DATABASE Database is used to verify the customer details and
orders.
SOFTWARE REQUIREMENT This software specification documents full set of
SPECIFICATION features and function for stock maintenance system
that is performed in company website.
1.4 PURPOSE
1.5 SCOPE
1.7 USABILITY
1.8 PERFORMANCE
1.9 RELIABILITY
UML DIAGRAMS
The following UML diagrams describe the process involved in the Stock
Maintenance System
USECASE DIAGRAM:
purchase
stock reports
CLASS DIAGRAM
Administrator
Product
Enquiry
INTERACTION DIAGRAM
Interaction diagrams capture the behavior of a single use-case,
showing the pattern of the interaction among the objects. There are two
kinds of interaction models:
Sequence diagram
Collaboration diagram
SEQUENCE DIAGRAM
A sequence diagram shows an interaction arranged in a time
sequence. It shows the objects participating in the interaction by their life
lines and the messages they exchange ,arranged in a time sequence.
Vertical dimensions :life line
Horizontal dimensions :message
customer admin DB server
2: enter into DB
COLLABORATION DIAGRAM
2: enter into DB
5: enter the stock
8: again place thing into stock
DB
server
STATE CHART DIAGRAM
stock maintenance
system
customer administr DB
ator server
DEPLOYMENT DIAGRAM
stock
maint...
adminstrato DB server
customer
r
CODINGS
Form1:
Dim c as new custom
Private Sub
Command1_click()
c.enquiry
End Sub
Private Sub Command2_click()
Form5.show
End Sub
Form2:
Private Sub Command_Click( )
Data1.Recordset.Fields(0)=Text1.Text
Data1.Recordset.Fields(1)=Val(Text2.Text)
Data1.Recordset.Fields(2)=Val(Text3.Text)
Data1.Recordset.Update
Form3.Show
End Sub
Private Sub Command2_Click()
Form1.Show
End Sub
Private Sub Command3_Click()
Data1.Recordset.AddNew
End Sub
Form3.Show
End Sub
Private Sub Command2_Click()
Form1.Show
End Sub
Private Sub Command3_Click()
Data1.Recordset.AddNew
End Sub
Form 3:
Dim c As New customer
Private Sub
Command1_Click()
c.purchaseing
End Sub Private Sub
Command2_Click()
c.cancelling
End Sub
Private Sub Command3_Click()
Form6.Show
End Sub
Private Sub Command4_Click()
Form1.Show
End Sub
Form 4:
Dim c As New administator
Private Sub Command1_Click()
Text4.Text = Val(Text2.Text) * Val(Text3.Text)
'MsgBox ("The product is purchased
successfully") c.stock_detail
Me.Hide
Form2.Show
End Sub
Private Sub Command2_Click()
MsgBox ("Your purchase is cancelled")
Form2.Text2.Text = Form2.Text1.Text + Val(Form4.Text3.Text)
Me.Hide
Form2.Show
End Sub
Private Sub Command3_Click()
Form3.Show
End Sub
Private Sub Command4_Click()
Form6.Show
End Sub
Private Sub Text1_Change()
Data1.Recordset.MoveFirst
While Data1.Recordset.EOF = False
If Trim(Data1.Recordset.Fields(0)) = Trim(Text1.Text) Then
Text2.Text = Data1.Recordset.Fields(1)
Exit Sub
Else
Data1.Recordset.MoveNext
End If
Wend
End Sub
Private Sub Text3_LostFocus()
Text4.Text = Val(Text3.Text) * Val(Text2.Text)
End Sub
Form 5:
Private Sub Command1_Click()
If Text1.Text = Text2.Text Then
Form7.Show
Else
MsgBox ("invalild password")
End If
End Sub
Form6:
Private Sub Command1_Click()
Form8.Show
End Sub
Private Sub Command2_Click()
Text1.Text = Form4.Text1.Text
Text2.Text = Val(Form4.Text2.Text)
Text3.Text = Val(Form4.Text3.Text)
Text4.Text = Val(Form4.Text4.Text)
End Sub
Private Sub Command3_Click()
Form1.Show
End Sub
Form 7:
Dim a As New administator
Dim p As New DB_server
Private Sub Command1_Click()
Data1.Recordset.AddNew
End Sub
Private Sub Command2_Click()
Form1.Show
End Sub
Private Sub Command3_Click()
Data1.Recordset.Update
End Sub
Form 8:
Private Sub Command1_Click()
Text2.Text = Val(Text2.Text) - Val(Form6.Text4.Text)
Data1.Recordset.MoveFirst
While Data1.Recordset.EOF = False
If Data1.Recordset.Fields(0) = Trim(Text1.Text) Then
Data1.Recordset.Edit
Data1.Recordset.Fields(1) = Val(Text2.Text)
Data1.Recordset.Update
Exit Sub
Else
Data1.Recordset.MoveNext
End If
Wend
End Sub
Private Sub Command2_Click()
Form1.Show
End Sub
Private Sub Command3_Click()
Data1.Recordset.AddNew
Data1.Recordset.Fields(0) = Text1.Text
Data1.Recordset.Fields(1) = Val(Text2.Text)
Data1.Recordset.Update
End Sub
Class Module:
Administrator:
Option Explicit
'##ModelId=4B31D12400EA
'Implements DB_server
'##ModelId=4B31D0370128
Public name As Variant
'##ModelId=4B31D03A01C5
Public address As Variant
'##ModelId=4B31D39103B9
Private mDB_serverObject As New DB_server
'##ModelId=4B31D13702EE
Public NewProperty As DB_server
'##ModelId=4B31E71B0138
Public NewProperty2 As customer
'##ModelId=4B31E7260000
Public NewProperty3 As customer
'##ModelId=4B31D08401F4
Public Sub stock_detail()
Form4.Data1.Recordset.MoveFirst
While Form4.Data1.Recordset.EOF = False
If Form4.Data1.Recordset.Fields(0) = Trim(Form4.Text1) And
Form4.Data1.Recordset.Fields(2) < Val(Form4.Text3.Text) Then
MsgBox ("Out of stock")
Exit Sub
ElseIf Form4.Data1.Recordset.Fields(0) = Trim(Form4.Text1) And
Form4.Data1.Recordset.Fields(2) >= Val(Form4.Text3.Text) Then
Form4.Data1.Recordset.Edit
Form4.Data1.Recordset.Fields(2) = Form4.Data1.Recordset.Fields(2) -
Val(Form4.Text3.Text)
Form4.Data1.Recordset.Update
MsgBox ("Purchased")
Exit Sub
Else
Form4.Data1.Recordset.MoveNext
End If
Wend
End Sub
'##ModelId=4B31D39103D8
Private Sub DB_server_availabity()
End Sub
'##ModelId=4B31D39103D9
Private Property Get DB_server_name() As Variant
End Property
'##ModelId=4B31D3920001
Private Property Let DB_server_name(RHS As Variant)
End Property
'##ModelId=4B31D392002E
Private Property Get DB_server_pdt_name() As Variant
End Property
'##ModelId=4B31D392003E
Private Property Let DB_server_pdt_name(RHS As Variant) End Property
'##ModelId=4B31D392005D
Private Property Get DB_server_quantity() As Variant
End Property
'##ModelId=4B31D392007D
Private Property Let DB_server_quantity(RHS As Variant)
End Property
Customer:
Option Explicit
'##ModelId=4B31D01703D8
Public c_name As Variant
'##ModelId=4B31D029006D
Public address As Variant
'##ModelId=4B31D02D03D8
Public ph_no As Variant
'##ModelId=4B31D13F035B
Public NewProperty As administator
'##ModelId=4B31D14902CE
Public NewProperty2 As administator
'##ModelId=4B31D31F036B
Public NewProperty3 As administator
'##ModelId=4B31D32D035B
Public NewProperty4 As administator
'##ModelId=4B31D056003E
Public Sub login()
End Sub
'##ModelId=4B31D05B004E
Public Sub enquiry()
Form2.Show
End Sub
'##ModelId=4B31D061030D
SNAPSHOTS
FORM 1:
FORM 2
FORM 3
FORM 4:
FORM 5
FORM 6
FORM 7
FORM 8
CONCLUSION
The stock maintenance system software has been developed using
Rational Software with Netbeans 8.2 successfully.
Ex.No: 06
ONLINE COURSE RESERVATION
AIM
PROBLEM STATEMENT
One who check for the information of the college and availability
of the seats in the specified college.
™ Administrator
GLOSSARY
DEFINITIONS
The glossary contain the working definition for the key concept in the
course registration system
COURSE
The course which are offered by the institution
COURSE CATALOG
The un a bridged for all the course offered by the institution.
GRADE
The ranking of a particular student for a particular course offered
PROFESSOR
A person who reaches the course
CERTIFICATE
It is the proof for the completion the course
REGISTER
One who register the course for the student
OBJECTIVES
It tells the users about the reliability defined in use case specification
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
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
USER OPTION
™ BRIEF DESCRIPTION
This use case allows the user to know the information and the
guidance provided to the students.
™ BASIC WORKFLOW
Student request the system for gathering the facility that is
provided by the university to the user.
™ ALTERNATE WORKFLOW
NIL
™ PRE CONDITION
The system must display the list of options available in the
university to the user.
™ POST CONDITION
User can check for their provided options.
ADMIN LOGIN
™ BRIEF DESCRIPTION
This use case allows the administrator to login on to the system
for maintaining the course allocation.
™ BASIC WORKFLOW
Administrator is provided with the username and password to
login in to the system.
™ ALTERNATE WORKFLOW
If the administrator enters the wrong username or password
then the admin is blocked by the system.
™ PRE CONDITION
The administrator must have username and password allotted for
him to access the system.
™ POST CONDITION
The administrator is allowed to allocate the course to the eligible
candidates specified by the universities.
COURSE RESERVATION
™ BRIEF DESCRIPTION
This use case allows the administrator to allocate the course for
the candidates according to their wish and maintains the clear database
of them.
™ BASIC WORKFLOW
Administrator has a control of allocating the seats to the eligible
candidates according to their marks and maintains their details in the
clear database.
ALTERNATE WORKFLOW
No seats had been selected by the student.
PRE CONDITION
The administrator must log on to the system.
™ POST CONDITION
The seats had been allocated to the students.
AVAILABILITY
™ BRIEF DESCRIPTION
This use case allows the user to check for the availability of seats
in accordance with the groups, colleges and community.
™ BASIC WORKFLOW
User had specified the college name and search for the seats in
accordance with groups and community.
ALTERNATE WORKFLOW
NIL.
PRE CONDITION
The user must logged on and access the system.
™ POST CONDITION
The user comes to know the availability of the seats.
INFORMATION
™ BRIEF DESCRIPTION
This use case allows the user to know the information of the
college which they specified.
™ BASIC WORKFLOW
User specifies the college name and the system shows the
respective details of the college such as address, phone number etc..,
ALTERNATE WORKFLOW
NIL.
PRE CONDITION
The user must logged on and access the system.
POST CONDITION
The system shows the information of the college specified by the user.
UML DIAGRAMS
USECASES
Draw and drop the actors and usecases from browser window into
the diagram window.
CLASS DIAGRAM
A class diagram describes the type of objectrs in the system the various
kinds of static relationship that exist among them.
SEQUENCE DIAGRAM
Create a new package from the database and name it as a
sequence diagram.
From the toolbar, select the required tools and make
corresponding connections.
STATE CHART DIAGRAM
if valid if seat available
ACTIVITY DIAGRAM
The activity diagram describes the sequencing of activities,with support
for both conditional and parallel behavior.
The various controls are placed into the diagram window to create
activity diagram
DEPLOYMENT DIAGRAM
online course
reservation
CODING
COURSE FORM
COLLEGE FORM
LOGIN FORM
Private Sub
Command2_Click()
recordset.MoveFirst If
Not recordset.EOF Then
a = recordset.Fields(3) If
a > 0 Then
recordset.Fields(3) = recordset.Fields(3) - 1
MsgBox "The CSE course has been allocated to the student"
Else
MsgBox "no CSE course available"
End If
recordset.MoveFirs
t End If
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text1.SetFocus
End Sub
Private Sub
Command3_Click()
recordset.MoveFirst If
Not recordset.EOF Then
a = recordset.Fields(3)
If a > 0 Then
MsgBox "The ECE course has been allocated to the student"
Else
MsgBox "no EEE course available"
End If
recordset.MoveFirs
t End If
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text1.SetFocus
End Sub
Private Sub
Command4_Click()
recordset.MoveFirst If
Not recordset.EOF Then
a = recordset.Fields(3)
If a > 0 Then
MsgBox "The IT course has been allocated to the student"
Else
MsgBox "no IT course available"
End If
recordset.MoveFirs
t End If
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text1.SetFocus
End Sub
SNAPSHOTS
COURSE FORM
COLLEGE FORM
CONCLUSION
After we have completed the project we are sure the problems in
the existing system would overcome.The “ONLINE COURSE
RESERVATION” process made computerised to reduce human errors and
to increase the efficiency. The maintanence of the record is made
efficient as all the records are stored in the ORACLE database . Our aim
of the project is to get the product deatails clearly and calculate the
total amount. The problems in the earlier system have been removed to
a large extent.And it is expected that this project will go a long way in
satisfying user requirements.The computerisation of this system will not
only improves the efficiency but will also reduce human stress thereby
indirectly improving human resources.
Ex.No: 07
E-TICKETING
AIM
PROBLEM STATEMENT
SOFTWARE REQUIREMENT
SPECIFICATION
1 INTRODUCTION
1.1 Purpose
1.2 1Scope
1.3 References
1.6 Overview
2
OVERALL DESCRIPTION
2.1 Functionality
2.2 Usability
2.3 Performance
2.4
Reliability
1.0 INTRODUCTION
1.1 Purpose
The applicant should login to the database for reserving the ticket.
1.2 Scope
In the specification use define about the system requirements that are
part from the functionality of the system. It tells the usability, reliability
defined in the use case specification.
1.3 References
IEEE Software Requirement Specification format.
1.6 Overview
SRS includes two sections overall description and specific requirements
- Overall description will describe major role of the system components and
inter-connections. Specific requirements will describe roles & functions of the
actors.
2.1 Functionality
The database should be act as an main role of the e-ticketing system it can
be booking the ticket in easy way.
2.2 Usability
The User interface makes the Credit Card Processing System to be
efficient.
2.3 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.
2.4 Reliability
The system should be able to process the user for their corresponding
request.
UML DIAGRAMS
PROBLEM ANALYSIS
ACTOR
Passenger
Railway db
Railway clerk
USECASES
PASSENGER
Login
Check for availabity of tickets
Seats
RAILWAY DATABASE
Payment
Update details
Cancel the ticket
RAILWAY CLERK
Issue form
Fill and submit form
Issue ticket
Return payment
USE CASE DIAGRAM
CLASS DIAGRAM
SEQUENCE DIAGRAM
COLLOBORATION DIAGRAM
10: request form
11: fill form
12: submit
13: issue ticket
pass:pass clerk:railway
enger clerk
1: login
3: check for availability
4: seat
5: payement
6: print a ticket
7: update details
8: cancellation
9: payement returns
14: update
2: check
railway:railwa
y db
COMPONENT DIAGRAM
E-ticket
E-ticket
TABLE DESIGN
TABLE : et1
TABLE :ett1
Name Null? Type
----------------------------------------------------- -------- ---------------
SOURCE VARCHAR2(20)
DEST VARCHAR2(20)
TRNAME VARCHAR2(20)
TRNO VARCHAR2(20)
COST NUMBER(20)
TICKETS VARCHAR2(20)
TABLE :ett2
CODING
LOGIN FORM
AVAILABILITY FORM
RESERVATION FORM
CANCELLATION FORM
SNAPSHOTS
LOGIN FORM
AVAILABILITY FORM
RESEVATION FORM
CANCELLATION FORM
CONCLUSION
The project for “E-TICKETING” was created and the ticket was reserved
successfully. If we want to cancel the ticket means that also available in this
project. Before reserve ticket we check the availability of tickets using some
source and destination place.
Ex.no: 08
AIM
PROBLEM STATEMENT
To compute the gross pay of a person using the software personnel
management system software and to add new details to the existing database
and update it, using Netbeans 8.2 6.0 and ORACLE.
OVERALL DESCRIPTION
The three modules are
™ Entry form
The employee details, edit details and exit command buttons are
present. We can choose the required command button. ™ Pay slip
form
Fill in the form with details such as employee id, employee
name, department, experience, and basic pay in the text boxes and
submit using CALCULATE command button Update it in the
database using UPDATE command button.
™ Database form
Updated database would be present. We can search for the
required Pay details using SEARCH command button
SOFTWARE REQUIREMENT
SPECIFICATION
S. NO Table of Contents
1.0 INTRODUCTION
1.1 Purpose
1.2 Scope
1.3 References
2.1 Functionality
2.2 Usability
2.3 Performance
2.4
Reliability
1.1 Purpose
The main purpose of creating the document about the software is to know
about the list of requirements that is to be developed.
1.2Scope
It specifies the requirements to develop a processing software part that
complete the set of requirements. In this specification, we define about the
system requirements that are apart from the functionality of system
1.3 References
IEEE Software Requirement Specification format.
1.6 Overview
SRS includes two sections overall description and specific requirements
- Overall description will describe major role of the system components and
inter-connections. Specific requirements will describe roles & functions of the
actors.
2. 0 OVERALL DESCRIPTION
2.1 Functionality
The database should be act as an main role of the e-ticketing system it can
be booking the ticket in easy way.
2.2 Usability
The User interface makes the Credit Card Processing System to be
efficient.
2.3 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.
2.4 Reliability
The system should be able to process the user for their corresponding
request.
UML DIAGRAMS
USECASES
Draw and drop the actors and usecases from browser window into
the diagram window.
employee database
personal details
salary
bpay
controller1 netpay
deduction allowance
ploan
hra
da
CLASS DIAGRAM
A class diagram describes the type of objectrs in the system the various
kinds of static relationship that exist among them.
SEQUENCE DIAGRAM
Create a new package from the database and name it as a
sequence diagram.
From the toolbar, select the required tools and make
corresponding connections.
employee2 : allowance : db1 : db controller3 :
employee1 department controller2
calculate
calcutate netpay
saves salary
issue payslip
COLLOBORATION DIAGRAM
allowance :
department
employee2 :
employee1
5: issue payslip
3: calcutate netpay
db1 : db controller3 :
controller2
4: saves salary
ACTIVITY DIAGRAM
The activity diagram describes the sequencing of activities,with support
for both conditional and parallel behavior.
The various controls are placed into the diagram window to create
activity diagram.
COMPONENT DIAGRAM
<stand>
<ard >
emp <stand>
exe
loye <ard >
con
e exe
troll
er
DEPLOYMENT DIAGRAM
hardware:RAM:1gb,ha
rddisk:80gb
STRUCTURE OF DATABASE:
Create a table “conf” using Microsoft access with the following attributes:
S.NO FIELD TYPE SIZE
1. Employe ID number 10 2.
Employee name varchar 30
3. Department varchar 10
4. Experience number 2
5. Basic pay number 5
6. HRA number 5
7. DA number 5
8. MA number 5
9. PF number 4
10. GPAY number 8
CODINGS
FORM1
Dim loginname As String, password As String
Dim flag As Boolean
Dim ctr As Integer
FORM2
Private Sub Command1_Click()
Form5.Show
End Sub
Private Sub command2_Click()
Form4.Show
End Sub
Private Sub Command3_Click()
Me.Hide
End Sub
FORM3
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub
Command1_Click()
con.Execute "select * from
user1" Do While Not rs.EOF
If (rs.Fields(0) = Text1.Text) Then
If (rs.Fields(1) = Text2.Text) Then
MsgBox "success"
Form3.Hide
Form6.Show
Text1.Text = ""
Text2.Text = ""
End If
Exit Sub
End If
rs.Move
Next
Loop
End Sub
Private Sub command2_Click()
Me.Hide
End Sub
FORM4
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub
command5_Click()
rs.MoveFirst Text1.Text
= rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Text4.Text = rs(3)
Text5.Text = rs(4)
End Sub
Private Sub
Command6_Click()
rs.MovePrevious If Not
rs.BOF Then
Text1.Text = rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Text4.Text = rs(3)
Text5.Text = rs(4)
Else
MsgBox "Record pointer is in the first record"
End If
End Sub
Private Sub
Command7_Click()
rs.MoveNext If rs.EOF
Then
MsgBox "Record pointer is in the last
record" rs.MoveFirst Else
Text1.Text = rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Text4.Text = rs(3)
Text5.Text = rs(4)
End If
End Sub
Private Sub
Command8_Click()
rs.MoveLast Text1.Text =
rs(0)
Text2.Text = rs(1)
Text3.Text = rs(2)
Text4.Text = rs(3)
Text5.Text = rs(4)
End Sub
FORM5:
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim con1 As New ADODB.Connection
Dim rs1 As New ADODB.Recordset
Text2.Text = rs(1)
Text3.Text = rs(2)
Text4.Text = rs(3)
Text5.Text =
rs(4) End If
rs.MoveNext
Loop
End Sub
FORM6:
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
CALCULATE
INSERT FORM
EMPLOYEE LOGIN
EMPLOYEE SEARCH DETAILS FORM
CONCLUSION
After we have completed the project we are sure the problems in
the existing system would overcome.The “ONLINE COURSE
RESERVATION” process made computerised to reduce human errors and
to increase the efficiency. The maintanence of the record is made
efficient as all the records are stored in the ORACLE database . Our aim
of the project is to get the product deatails clearly and calculate the
total amount. The problems in the earlier system have been removed to
a large extent.And it is expected that this project will go a long way in
satisfying user requirements.The computerisation of this system will not
only improves the efficiency but will also reduce human stress thereby
indirectly improving human resources.
Ex.No: 09
CREDIT CARD PROCESSING
AIM
To develop a project credit card system using the Argo UML software,
MySql Software from the UML diagram and to implement the software in
Netbeans 8.2
PROBLEM STATEMENT
The System queries the customer for the type of account either S.B
Account or Credit. After getting the type of account the system shows
the amount left.
The System then queries the customer for required amount. The user
enters the amount to be purchased and it is debited from his account.
SOFTWARE REQUIREMENT
SPECIFICATION
S.No Contents
1.0 INTRODUCTION
1.1 PURPOSE
1.2 OVERVIEW
1.3 REFERENCES
1.4 TECHNOLOGY TO BE USED
1.5 TOOLS TO BE USED
2.1 PRODUCT PERSPECTIVE
2.2 FUNCTIONALITY
2.3 USABILITY
2.4 PERFORMANCE
2.5 RELIABILITY
2.6 ASSUMPTION AND DEPENDENCIES
1.0 INTRODUCTION
1.1 PURPOSE
The customer should purchase an item from the shop by using credit
card payment then the vendor should give response to the customers view
while a purchasing item from the shop and required processing of transaction
should be done by the vendor by using a credit card reader.
In the specification use define about the system requirements that are
part from the functionality of the system. It tells the usability, reliability
defined in the use case specification.
1.2 OVERVIEW
1.3 REFERENCES
IEEE Software Requirement Specification format.
The CCP acts as an interface between the 'Customer' and the 'Card
Reader'. This system tries to make the transaction as simple as possible and at
the same time not risking the security of data transaction process. This
minimizes the time duration in which the user receives the item.
2.2 FUNCTIONALITY
Many members of the process lives to checking for the occurrence and
transaction we all have to carry over sometimes user interface to make the
transaction to be efficient.
2.3 USABILITY
The User interface makes the Credit Card Processing System to be
efficient.
2.4 PERFORMANCE
If, in the Basic flow, the actor enters an invalid name and/or
password, the system displays an error message. The actor choose to
either return to the beginning of the Basic flow or cancel the login, at
which point the use case ends.
Special Requirements None
Pre-
Conditio
ns None
Post-
Conditio
ns
If the use case was successful, the actor is now logged into the
system. If not, the system State is unchanged.
Extension Points
None
3.2 FLOW OF EVENTS
Basic Flow
The Actor enters into the system by entering Credit card no followed
by Pin Number. The System validates and gives access to the system
if credit card no and pin number is valid
The System shows the customer about the amount left in his
account and queries the customer the amount he/she needed.
The System checks for the minimum balance and returns the
money.
Alternative Flow
If Customer wants to take amount more than minimum amount
left in his Account error message will be displayed.
Post-Condition
If the use case was successful, the customer will receive the
amount
UML DIAGRAMS
The following UML diagrams describe the process involved in the Credit Card
Management System
Use case diagram
Class diagram
Sequence diagram
Collaboration diagram
State chart diagram
Activity diagram
Component diagram
Deployment diagram
Package diagram
USE CASE DIAGRAM
Draw and drop the actors and use case from browser window into the
diagram window.
Associate the use cases and actors.
purchase
shop keeper
scatrching the card
user
validate
ATM machine
receipt
CLASS DIAGRAM
SEQUENCE DIAGRAM
Create a new package from the database and name it as a sequence
diagram.
From the toolbar, select the required tools and make corresponding
connections.
use : user1 shop : shop mac : db : admin
keeper1 machine1
purchase
validate( )
recepit( )
sign( )
validate( )
update( )
recepit( )
COLLABORATION DIAGRAM
2 scatrching the)
: 5card(
enter the )
7
: amount( )
use : sign( shop :
user keepe
shop
:
1 6 ) r1
: recepit
(
8 insert the )
:9card(
15
enter the)
: remove
pin( the)
: card( 3 )
12 collect and ) : validate
14
: update( ) 4 (
: recepit 11
:
( :
10 )
:13validate
)
mac : (update db
machin
: ( admi
:
e1 n
ACTIVITY DIAGRAM
COMPONENT DIAGRAM
User Shop Machine
keeper
Admin
DEPLOYMENT DIAGRAM
Admin
CODING
Dim db As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim db1 As New ADODB.Connection
Dim rs1 As New ADODB.Recordset
Dim db2 As New ADODB.Connection
Dim rs2 As New ADODB.Recordset
Dim a As Integer
Private Sub
Command1_Click()
db1.Execute "select *from
credit456" rs1.MoveFirst Do
While Not rs.EOF
If Text1.Text = rs1.Fields(0)
Then a = rs1.Fields(2) End
If
Loop
If Text3.Text < Text4.Text Then
db2.Execute "insert into credit789 values('" & Text1.Text & "','" & Text4.Text &
"'-'" & Text3.Text & "')"
MsgBox "transacation successful"
db1.Execute "update credit456 set LIMIT='" & Text4.Text & "' - '" & Text3.Text
& "' where cc='" & Text1.Text & "'"
db1.Execute "update credit456 set CBAL='" & Text3.Text & "' + '" & a & "'
where cc='"
& Text1.Text & "'"
ElseIf Text3.Text > rs1.Fields(1) Then
MsgBox "transaction failed"
End If
End Sub
SNAPSHOTS
PURCHASE DETAILS
TRANSACTION DETAILS
PURCHASE DETAILS
CONCLUSION
AIM
To develop a project E-Book Management system using Argo UML
software, MySql Software and to implement the software in Netbeans 8.2 6.0.
PROBLEM STATEMENT
This E-BOOK should contain index of the topics. When the main page is
visited index of the topics is displayed. Select the required topic and double
click on it. Then the page with the contents of the selected topic will be
displayed. A certain option is also present in that page to go back to main page
and search for other topics.
OVERALL DESCRIPTION
• Create a main page.
• Main page contains index of certain topics.
• When a particular topic is required double click on it.
• It displays a page with the contents of that topic.
• A separate option is present to go back to main page.
S.No Contents
1.0 INTRODUCTION
1.1 OBJECTIVE
1.2 OVERVIEW
1.3 GLOSSARY
1.4 PURPOSE
1.5 SCOPE
1.6 FUNCTIONALITY
1.7 USABILITY
1.8 PERFORMANCE
1.9 RELIABILITY
2.0 FUNCTIONAL REQUIREMENTS
1. 0 INTRODUCTION
E-book management gives an idea about how e-books are maintained in
the particular concern. The e-books that are to be purchased, the e-books that
are to be sold are maintained here. Further some additional details of the
current e-book list that is available in the website is also given. E-book
management in this project is done in an authorized way.
1.1 OBJECTIVE
The main objective of this project is to overcome the work load and time
consumption which makes the maintenance of the e-book in an organization
as a tedious process. This project provides complete information about the
details of the e-book to the customers. This project identifies the amount of
book available, Separate modules have been created for purchasing, viewing
book details, and delivery details
1.2 OVERVIEW
The overview of the project is to Storing of information about the e-
books and updating the e-book list for each organization which is using this
system, keeps track of all the information about the e-books purchased that
are made by the customers, having registration feature of adding up new
customers to the organization are provided in this system.
1.3 GLOSSARY
TERMS DESCRIPTION
CUSTOMER Customer will purchase the books from the Website
DATABASE Database is used to store the books and details of books.
ADMIN Handles all the support features and the technical works
in the application.
SOFTWARE This software specification documents full set of features
REQUIREMENT and function for e-book management system that is
SPECIFICATION performed in application.
1.4 PURPOSE
The purpose of e-book management system is to store and sell the
books in a website effectively.
1.5 SCOPE
The scope of this e-book management is to maintain the book details
after the purchase and list of reaming books available in the same book type.
1.6 FUNCTIONALITY
The main functionality of e-book maintenance system is to store and
sell e-books for a website.
1.7 USABILITY
User interface makes the e-book management system to be efficient.
That is the system will help the admin to maintain stock details easily and
helps the store to handle the stocks effectively. The system should be user
friendly.
1.8 PERFORMANCE
It describes the capability of the system to perform the e-book
management system of the store without any error and performing it
efficiently.
1.9 RELIABILITY
The e-book management system should be able to serve the customer
with correct information and day-to-day update of e-book list details.
2.0 FUNCTIONAL REQUIREMENTS
Functional requirements are those refer to the functionality of the
system. That is the services that are provided to the website which maintains
e-books in online database.
UML DIAGRAMS
USE-CASE DIAGRAM
DESCRIPTION
Use case diagrams describe what a system does from the stand point of an external
observer. The emphasis is an;
“What a system does rather than how it does” Use case diagram
are helpful in 3 cases:
• Use case often generates new requirement as the system is analyzed
and the system is analyzed and the design takes shape.
• Communication with clients.
• Generating test cases.
CLASS DIAGRAM
ACTIVITY DIAGRAM
DESCRIPTION
• Activity diagram focus on the flow of activity involved in the single
process.
• Activity diagram shows how the activities depend on the another.
• It is essentially a FANCY diagram.
• Activity diagram is closely related with State chart.
SEQUENCE DIAGRAM
DESCRIPTION
Sequence diagram is an interaction diagram which is dynamic.
Sequence diagram gives information such as:
• How operations are carried out.
• What messages are sent?
• When sequence diagrams are organized according to time.
The objects involved in the operation are listed from left to right according to
when they take part in the message sequenc
COLLABORATION DIAGRAM
DESCRIPTION
• Collaboration diagram are interaction diagram which are
dynamic.
• Collaboration diagram focuses on object role instead of times
that message are sent.
• Each message in the collaboration diagram has a sequence
number.
COMPONENT DIAGRAM
Book
dbs
User Admin
DEPLOYMENT DIAGRAM
Book dbs
User Admin
DESCRIPTION
• Deployment diagram is also called as component diagram.
CODING:
FORM 1:
Private Sub Command1_Click()
Form3.Show
End Sub
Private Sub Command2_Click()
Form2.Show
End Sub
FORM 2:
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Command1_Click()
con.Execute "select * from
members"
rs.MoveFirst Do
While Not
rs.EOF
If rs.Fields(0) = Text1.Text And rs.Fields(1) = Text2.Text Then
Form6.Show
Form2.Hid
e End If
rs.MoveNex
t Loop
End Sub
Private Sub ee_Click()
Form1.Show
End Sub
FORM 3:
Dim con As New ADODB.Connection
Dim rs As New Recordset
Private Sub
Command1_Click()
con.Execute "select *
from eb1" rs.MoveFirst
Do While Not rs.EOF
If (rs.Fields(0) = Text1.Text()) Then
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
MsgBox "search scccecfully"
End If
rs.MoveNext
Loop
End Sub
Private Sub Command2_Click()
Form4.Show
End Sub
Private Sub Command3_Click()
Form3.Hide
End Sub
Private Sub Command4_Click()
Form5.Show
End Sub
Private Sub Command5_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text4.Text = " "
End Sub
FORM 4:
Private Sub Command2_Click()
Form5.Show
End Sub
Private Sub Command3_Click()
Form3.Show
End Sub
Private Sub Form_Load()
WebBrowser1.Navigate2 ("Z:\WT LAB\JAVA1.html")
End Sub
FORM 5:
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim con1 As New ADODB.Connection
Dim rs1 As New ADODB.Recordset
Private Sub c_Click()
Text3.Text = " "
End Sub
Private Sub Command1_Click()
If (Text3.Text = rs1.Fields(0)) Then
MsgBox "the book has been downloaded "
Else
MsgBox "credit no wrong"
End If
End Sub
Private Sub Command2_Click()
Form3.Show
End Sub
Private Sub Form_Load()
con.Open "Provider=MSDAORA.1;Password=tiger;User
ID=scott;Data Source=orcl8i;Persist Security Info=True"
rs.Open "select * from eb1", con, adOpenDynamic
con1.Open "Provider=MSDAORA.1;Password=tiger;User
ID=scott;Data Source=orcl8i;Persist Security Info=True"
rs1.Open "select * from ct", con, adOpenDynamic
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(3)
End Sub
FROM 6:
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
Private Sub Command1_Click()
con.Execute "insert into eb1 values('" & Text1.Text & "','" & Text2.Text & "','" &
Text3.Text & "','" & Text4.Text & "')"
con.Execute "commit"
MsgBox "insert
sucessfully"
MsgBox "updated"
End Sub
Private Sub Command2_Click()
con.Execute "delete from eb1 where bid=" & Text3.Text & " "
MsgBox "successfully deleted"
End Sub
Private Sub Command3_Click()
Form2.Show
End Sub
Private Sub Form_Load()
con.Open "Provider=MSDAORA.1;Password=tiger;User
ID=scott;Data Source=orcl8i;Persist Security Info=True"
rs.Open "select * from eb1", con, adOpenDynamic End Sub
SNAPSHOTS
HOME PAGE
BOOK DETAILS
BOOK DESCRIPTION
ADMINISTRATION LOGIN
DETAILS FORM
CONCLUSION
After we have completed the project we are sure the problems in the existing
system would overcome. The “E-BOOK MANAGEMENT SYSTEM” process made
computerized to reduce human errors and to increase the efficiency. The
maintenance of the record is made efficient as all the records are stored in the
ORACLE database . Our aim of the project is to get the product details clearly and
calculate the total amount. The problems in the earlier system have been removed
to a large extent. And it is expected that this project will go a long way in satisfying
user requirements.