0% found this document useful (0 votes)
22 views25 pages

Project

Uploaded by

Tamizh Ms
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views25 pages

Project

Uploaded by

Tamizh Ms
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

lOMoARcPSD|20607427

BOOK BANK Management System

software engineering (Anna University)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by Tamizh Ms ([email protected])
lOMoARcPSD|20607427

BOOK BANK MANAGEMENT SYSTEM

AIM
To develop a project of Book bank management system using Rational Rose
Software and to implement the software in Visual Basic.

PROBLEM ANALYSIS AND PROJECT DESIGN


The book bank management system is an software in which a member can
register themselves and then he can borrow books from the book bank. It mainly concentrates
on providing books for engineering students.

PROBLEM STATEMENT
The main objective of the system are was to design an online book-bank 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

ALGORITHM
The process of members registering and purchasing books from the book bank
are described sequentially through following steps:
1. First the member registers himself if he was new to the book bank.
2. Old members will directly select old member button..
3. They select their corresponding year.
4. After selecting the year they fill the necessary details and select the book and he
will be directed towards administrator
5. The administrator will verify the status and issue the book.

HARDWARE REQUIREMENTS:

Processor : Intel Dual core


Ram : 1GB
Hard Disk : 160 GB

SOFTWARE REQUIREMENTS:

Front End : VISUAL BASIC 6.0


UML Diagram : Rational Rose S/w

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

Back End : MS ACCESS


OS : WINDOWS XP

ANALYSIS PHASE

MODULE OF PROJECT:
The software development analysis describes the modules present in the project.
The following modules are present in the project

1. Registration
2. Authentication
3. Year Selection
4. Book Selection
5. DB Updation

GLOSSARY

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

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

Workflow

Member login:

Brief description:
This use case allows the members to register onto the system and purchase books from the bank.

Basic workflow:
Member registers himself and provided with the member ID and password to login in to the system.

Alternative workflow:
Member enters the wrong username or password then the he is asked to register to the system.

Pre condition:
Member must have username and password allotted for him to access the system.

Post condition:
The Member is allowed to search for books and submit a request for the available books.

Administrator login:

Brief description:
This use case allows the admin to log onto the system to verify the availability of book and issue the same.

Basic workflow:
Administrator is provided with the login ID and password to login in to the system.

Alternative workflow:
Nil

Pre condition:
Administrator must have Login ID and password allotted for him to access the system.

Post condition:
The Administrator is allowed to search verify the availability of book and issue.

DESIGN PHASE

UML DIAGRAMS
The following UML diagrams describe the process involved in the online recruitment
system
• Use case diagram
• Class diagram
• Sequence diagram
• State chart diagram

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

• Component diagram
• Deployment diagram

USE CASE DIAGRAM


A use case is a methodology used in system analysis to identify, clarify, and organize
system requirements. The use case is made up of a set of possible sequences of interactions
between systems and users in a particular environment and related to a particular goal. It is
represented using ellipse.

Actor is any external entity that makes use of the system being modeled. It is
represented using stick figure.

registration

student1
year selection

select books

updation

issues

DOCUMENTATION OF USE CASE DIAGRAM


The actors in this use case diagram are member and database. The use cases are the

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

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 and the books will be given.

CLASS DIAGRAM

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

A class diagram in the unified modeling language (UML) is a type of static structure diagram
that describes the structure of a system by showing the system's classes, their attributes, and
the relationships between the classes. It is represented using a rectangle with three
compartments. Top compartment have the class name, middle compartments the attributes
and the bottom compartment with operations.

http://csetube.tk
/

DOCU`MENTATION OF CLASS DIAGRAM


This class diagram has 8 classes:
 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 1 st 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

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

 Issue for 2nd year-is the class name. Its attributes are member code, member name,
book code, book name, and quantity. Its operation is issue
 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
A sequence diagram in Unified Modeling Language (UML) is a kind of interaction
diagram that shows how processes operate with one another and in what order. It is a
construct of a Message Sequence Chart. There are two dimensions.
1. Veritcal dimension-represent time.
2. Horizontal dimension-represent different objects.

http://csetube.tk
student
/ database
database administrators
administrators

year

updation

authentication
verification

issue the book

DOCUMENTATION OF SEQUENCE DIAGRAM

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

The sequence diagram describes the sequence of steps to show


 The member registers himself in book bank
 He will select the year
 He select the books given and the database will update the status of book.
 Then administrator will log in and verify the status of books.
 If the book is available he will issue the book.

STATE CHART DIAGRAM


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. An
final state is represented as circle surrounding a small dot.

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

DOCUMENTATION OF STATE CHART DIAGRAM


This state diagram describes the behavior of the system.
 http://csetube.tk
In the first state the member registers himself in book bank
 After that he will select the year in next state.
 /
In the next state he will select the books.
 In the next state database will update the status of book.
 In the next state administrator will log in.
 After authentication he will verify the availability of book.
 If available he will issue the book.

COMPONENT DIAGRAM
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

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

details
member
1st year
issue for

book bank managem...


2nd year
issue for
3rd year
issue for

issue for 4th year

http://csetube.tk
/
DOCUMENTATION OF COMPONENT DIAGRAM
The main component in this component diagram is online book bank management systems.
And member details, issue for first year, issue for second year issue for third year and issue
for fourth year are components comes under the main component

DEPLOYMENT DIAGRAM
A deployment diagram in the unified modeling language serves to model the physical
deployment of artifacts on deployment targets. Deployment diagrams show "the allocation of
artifacts to nodes according to the Deployments defined between them. It is represented by 3-
dimentional box. Dependencies are represented by communication association.

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

BOOK BANK

issue for issue for issue for issue for member


1st year 2nd year 3rd year 4th year details

http://csetube.tk
DOCUMENTATION OF DEPLOYMENT DIAGRAM
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.

FORMS
FORM 1

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

http://csetube.tk
/

FORM 2

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

FORM 3

tk/

FORM 4

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

FORM 5

tk/

FORM 6

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

FORM 7

tk/

FORM 8

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

FORM 9

tk/

FORM 10

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

FORM 11

tk/

SOURCE CODE:

Administrator. class

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

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...
http://csetube.tk
If Form10.Text1.Text = "admin" And Form10.Text2.Text = "1234" Then
MsgBox "login successfully"
Form9.Show
Else /
MsgBox "invalid password"
End If
Exit Sub
ErrorHandler:
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

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

'##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
http://csetube.tk
'##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

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

'##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 http://csetube.tk
Option
/
Issue for second year class

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
ErrorHandler:
Call RaiseError(MyUnhandledError, "issue_for_second Sub")
End Sub

Issue for third year class

Option Explicit

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

'##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
http://csetube.tk
ErrorHandler:
/
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

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

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
http://csetube.tk
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

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

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

tk/

Downloaded by Tamizh Ms ([email protected])


lOMoARcPSD|20607427

Downloaded by Tamizh Ms ([email protected])

You might also like