library management project
Embed Size (px)
TRANSCRIPT

Library Management System
CONTENTS
CHAPTERS PAGES1. INTRODUCTION 3 – 4
1.1. INTRODUCTION
1.2 OBJECTIVE OF THE PROJECT
1.3 PERSONAL OBJECTIVES
2. METHODOLOGY 5 – 8
2.1 WHAT IS A METHODOLOGY
2.2 SELECTION OF A METHODOLOGY
2.3 PHASES OF SSADM
3. DESCRIPTION ABOUT THE ORGANIZATION 9 –10
4. SOFTWARE PROCESS MODEL 11 – 12
5. REQUIREMENT ANALYSIS 13 – 19
4.1 PRELIMINARY SURVEY
4.2 REQUIREMENT SPECIFICATIONS
4.3 PERFORMANCE CRITERIA
VOLUME OF TRANSACTION (DATA HANDLING)
CONTROL ASPECTS
TIMELINESS
ARCHIVAL
4.4 SYSTEM HARDWARE & SOFTWARE REQUIRED
6. FEASIBILITY STUDY 20 – 23
5.1 TECHNICAL FEASIBILITY
5.2 ECONOMICAL FEASIBILITY
5.3 OPERATIONAL FEASIBILITY
7. SYSTEM ANALYSIS 24 – 27
6.1 SYSTEM ANALYSIS
6.2 STRUCTURED ANALYSIS
8. SYSTEM DESIGN 28 -- 32
7.1 INTRODUCTION
______________________________________________________________________________1
1

Library Management System
7.2 INPUT DESIGN
7.3 OUTPUT DESIGN
7.4 FORM DESIGN
7.5 DATABASE DESIGN
9. SYSTEM TESTING & IMPLEMENTATION 33 – 37
8. 1 INTRODUCTION.
8. 2 CODING
8.3. SYSTEM TESTING & IMPLEMENTATION
10. USER MANUAL 38 – 53
11. CONCLUSION 54
12. ANNEXURE 55 – 56
13. DATA DICTIONARY 57 – 59
14. BIBLIOGRAPHY 60 – 61
______________________________________________________________________________2
2

Library Management System
Chapter 1
Introduction
Objective of the Project
Personal Objective
______________________________________________________________________________3
3

Library Management System
1.1 Introduction
The Library Management System is designed & developed for a receipt and issuance of
books in the library along with the student’s details. The books received in the library
are entered in Books Entry form and the new student is entered in the student entry
form. When the student wants to get the desired book the same is issued on the
availability basis to the student. The issuance and due date for the returning of the book
is also entered into the Book Issue form under third menu Book Issue. The student has
to pay the fine if any on the basis of no. of days delayed deposit of the book in the
library.
1.2 Objectives:
The objective of the project is to deliver a working system which solves the problem
regarding library system. Here we are going to design a standalone Library
Management System which provides the following facilities:
Create and maintain category, course etc
Entered details about book, librarian, student etc.
Issue book.
Find book outstanding.
Find book over due.
1.3 Personal objectives
Gaining experience in project management a software life cycle form start to
finish.
To apply knowledge acquired over the duration of the degree course.
To gain reward from the developing a system of my invention and creation.
______________________________________________________________________________4
4

Library Management System
Chapter 2
WHAT IS A METHODOLOGY
SELECTION OF A METHODOLOGY
PHASES OF SSADM
______________________________________________________________________________5
5

Library Management System
2.1 What is a Methodology?
A method is an integrated set of procedures and techniques which, when applied in a
certain sequence, result in the specification or generation of an information system.
2.1 Selection of a Methodology
Many methodologies are available for systems development, but it is not a simple task
to choose the best of the ‘lot’ for a project. A methodology which worked well for one
organization may not necessarily work for some other organization. This is so, because,
methodologies are strong in some aspects and weak in others. For example, Soft
System Methodology (SSM) has more relevance to a project where the problem
situation is ill structured and there is no clear vision of the problem area.SSM covers
mainly the analysis stage of the systems life cycle, and may be used with some other
methodology to complete the design and implementation stage, for example Structured
System Analysis Design Methodology (SSADM) or Information Engineering (IE).
The organization which requested the development of this project, has well known, clear
problem areas to be analyzed. Therefore, SSM is eliminated in the very outset. The
choice has to be made between SSADM and IE. The methodology has to be one which
has the ability to depict all the design information in a clear and consistent way. It also
needs to have facilities which could deal with graphical user interfaces, because these
are important part of my system. The methodology has to suit the programming
language I am using which is ASP.net.It also needs the ability to refine design
information without losing any information through the various models and stages. It has
to be easy to make amendments as I come up with new ideas for the system. The
methodology also needs to cater equally for technical documents and graphical
______________________________________________________________________________6
6

Library Management System
representations, and most importantly, it has to be easy to understand. Having analyzed
the principles, advantages and disadvantages of methodologies available, SSADM is
selected for this project.
The reasons for this decision are:
The methodology is more structured, which means it is easy to follow from one
stage to another.
Following the methodological form of SSADM, the goals and objectives of the
system can be easily determined.
SSADM suggests the use of three major conceptual tools for constructing the
system models: data flow diagrams (DFDs), a data dictionary (DD) and
structured English, which are the most appropriate tools for this project as the
problem areas of the organization are well defined and clear.
SSADM allows the use various techniques which check the integrity of each
other.
SSADM suggests the specification of the requirements of the system by having
continuous user involvement throughout the project.
SSADM is not only a very popular methodology but also proved its success in
many information systems analysis and design cases.
2.3 Phases of SSADM
The six phase of the methodology have been classified into two areas, three phases of
system analysis and three phases of system design. Sometimes systems analysts not
following a methodology like SSADM might find it difficult to decide on the level of detail
being sought when reviewing the current system. This can cause ‘paralysis by analysis’,
where vast amount of information can be gathered but no conclusion ever reached. By
separating the system analysis activities from the system design activities, SSADM
makes it easier to judge the proportion of time spent on analysis.
______________________________________________________________________________7
7

Library Management System
Stage 1 – Feasibility study and analysis of the system.
Stage 2 – Specification of the required system.
Stage 3 – User selection of the service levels, including technical options.
Stage 4 – Detailed data design
Stage 5 – Detailed Procedure design
Stage 6 – Physical design control
The above mentioned six phases are implemented in various ways, so as to satisfy both
the requirements and the complexity of the realization process of the requirements.
According to these ways we have various process models. The next chapter deals with
the selection of the process model for this project.
______________________________________________________________________________8
8

Library Management System
Chapter 3
______________________________________________________________________________9
9

Library Management System
DESCRIPTION ABOUT THE ORGANIZATION
The University Law College library, with a collection of 7,752 Text Books, 830 Journals
and periodicals and 916 reference Books, is a prime source for legal research for both
the faculty as well as the students. The library with adequate reading room facility offers
a fully integrated, dynamic environment for conducting legal and law-related research.
Housed in the southern corner of the RCC building of the College, the library provides
an optimum study environment wherein students can conduct their research and study
in solitude and comfort. A student can borrow two books at a time as per Borrower’s
Card system. In addition to the College Library, the students are also entitled to use the
university library which is known as K.K.H. Library, and the library of Post Graduate
Department of Law as per terms and conditions as laid down by the University from time
to time.
______________________________________________________________________________10
10

Library Management System
Chapter 4
______________________________________________________________________________11
11

Library Management System
SOFTWARE PROCESS MODEL
A software process model is a development strategy we incorporate to describe how a
set of activities (the six phases of SSADM) must be performed and in which order to get
the desired output. We already have a few process models defined and described.
These are:
1. Code and Fix Model
2. Waterfall Model
3. Evolutionary Model
4. Transformation Model
5. Spiral Model
The Code and Fix Model can actually be considered no model at all as there is nothing
rigid and the developer has to follow his inspirations.
The Evolutionary model is increment driven and a kind of trial and error method.
The Transformation model can be called specification driven, as the development
process occurs through iterative refinement of formal specifications.
Spiral model is a met model that may be called risk driven.
Although, the Waterfall model has its share of disadvantages like being not flexible and
monolithic, yet for a small and quite simple project like this, the model’s rigid and
documentation driven approach is best suited. Also, since there is already a manual
system available, the requirements are clear. For such a situation, the Waterfall model
is the best choice.
______________________________________________________________________________12
12

Library Management System
Chapter 5
PRELIMINARY SURVEY
REQUIREMENT SPECIFICATIONS
PERFORMANCE CRITERIA
VOLUME OF TRANSACTION (DATA HANDLING)
CONTROL ASPECTS
TIMELINESS
ARCHIVAL
SYSTEM HARDWARE & SOFTWARE REQUIRED
______________________________________________________________________________13
13

Library Management System
4.1 Preliminary Survey
The problem forwarded by the client is actually to upgrade their already existing Library
Management System. The client already had a set system which was computerized.
This computerized system was although efficient, but very time consuming. Also, the
different modules were not fully integrated and needed an absolute understanding of the
whole system to give the desired results. The main problems found out were
bottlenecks at the user end because of slow data flow rate in that system. So, a
preliminary survey was done to check whether any simple modification could actually
stimulate the system.
The only problem is the development of software which is both feasible and efficient.
This proves to be a good scope to implement my knowledge and develop a worthy final
semester project.
4.2 Requirement Specifications
After the preliminary survey and listening to the client’s requirements following
requirements were listed:
Create and maintain different accounts like saving account, current
account etc.
Maintaining deposit and withdraw of each account securely.
Balance Enquiry
Proper help to be provided as and when requested by the user.
Enables the user to successfully log in to the system.
Enables to add new user, branch, create account, modify account, deposit
and withdrawal amount, etc to the database.
Enables users to check transaction status.
Make a provision of tracking of each user who is log in to the system.
Enables user to log out of the system.
4.3 Performance Criteria
After the initial investigation of the present system and the client’s requirements some
performance criteria were deduced. These criteria cover both the software and the
______________________________________________________________________________14
14

Library Management System
hardware aspect of the project. The performance criteria for the proposed system are
categorically given below:
Volume of Transaction (Data Handling)
The volume of transaction for a system is the maximum data that could be passed in a
given unit time. After the preliminary examination of the system the following transaction
volumes and information were noticed:
Peak number of new employees recruited in a single day in the past: 6(Six)
Peak number of employees issued pay – slip in a single day in the past:
11(Eleven).
Peak number of employees giving attendance at a time in a single day in the
past: 20(Twenty).
Peak number of attendance report generated in a single day: 2(Two).
Peak amount paid as a salary in a single day in the past: Rs 70,000.00(Seventy
Thousand only)
Control Aspects
The major decision making subsystem that controls the pattern of activities governing
input, processing and output is called the control aspect of the whole system.
Timeliness
Timeliness is a major performance criterion for the Library Management System. It is
actually a major flaw in the present system.
Archival
Data in the present system is stored in paper files and updated to computerized form
afterwards. This not only is time consuming but also error prone. But at least the fear of
data loss is not there as, data is stored both as soft copy and a back-up hard copy.
4.4 System Hardware and Software Required
Hardware Constraints
1. Monitors: 800x600 minimum resolutions at 16 colors minimum.
2. Memory: Approximately 8 megabytes of on board memory.
3. I/O: One or two button mouse and standard 101-key keyboard.
4. MHz: At least 166 MHz should be on the computer
______________________________________________________________________________15
15

Library Management System
Then, to choose the language various alternatives were checked.Programing languages
such as C or COBOL (Common Business Oriented Language) was mainly used in
business management controls systems. But since the main aspects of the required
system required the use of a database, Oracle, SQL, or MS Access seemed to be the
perfect alternatives. But the final semester project was to be in RDBMS which would
have a good scope in the market in the future. Since, MS Access is used for large
databases it was chosen.
Dot net Framework
The .NET Framework is Microsoft's comprehensive and consistent programming model
for building applications that have visually stunning user experiences, seamless and
secure communication, and the ability to model a range of business processes.
We can make use .Net Framework as a development environment or a platform for
developing user friendly web-based applications that can allow seamless access by
users from any where in the world and from any type of client machines. You can apply
the open standards such as XML (extensible Markup Language), SOAP (Simple Object
Access Protocol) and HTTP (Hypertext Transfer Protocol) for developing your web-
applications and web applications created with such open standards can interact well
with other applications of other platforms.
We can use different programming languages such as C#, VBScript, VB.NET, Managed
C++ for developing your applications in .NET Framework, as the .NET Framework is not
dependent on one particular language or platform and can support many kinds of
platforms and programming languages that are in use today. Further, you can use .NET
Framework for running your applications in almost all platforms such as Linux,
Macintosh and UNIX without any hitches.
The presence of many off-the-shelf libraries in .NET Framework can assist you in
developing your applications in a faster, cheaper and easier manner. The most
recent .Net Framework version is capable of supporting over 20 different programming
languages today.
______________________________________________________________________________16
16

Library Management System
The functionality of .Net Framework supporting many programming languages is due to
the use of the powerful CLR, the Common Language Runtime engine. The application
programming codes are first compiled by CLR into a Microsoft Intermediate Language
(MSIL) code instead of native codes and the MSIL, which is nothing but an instruction
set, in turn creates the native code for running the application.
The main advantage of language and platform independent feature of .NET Framework
can be attributed to CLR and the same CLR also takes care of run-time services such
as memory processes, security enforcement, integration of language, and thread
management. Hence, you can make use of the various infrastructures that have been
provided in .NET Framework for creating your web-applications.
As per the classification by the Microsoft, there are two categories of .NET Framework
and they are CLR and .Net Framework class library.
Common Language Runtime: The CLR is responsible for providing a common runtime
environment or services with which all .NET applications can run. Further, the various
capabilities of CLR can enable any developer to write even big applications with ease
using the features such as strong type naming, life-cycle management, dynamic binding
that is capable of making any business logic into re-usable component and finally the
cross-language exception handling.
.Net Framework class library: This class library constitutes various predefined functional
sets that are very useful while developing the applications by developers. There are
three main components in this class library and they are:
Asp.net Windows Forms
Dotnet
______________________________________________________________________________17
17

Library Management System
ABOUT SQL SERVER 2005 express edition
SQL Server 2005 Express is much improved over its MSDE predecessor in that visual
tools are provided along with the database engine. These tools enable you to manage
services, networking protocols, and configurations. The tools also provide the ability to
manage databases and their objects, such as tables, views, stored procedures,
functions, and more.
It is a relational SQL DBMS. In other words, it is a DBMS that is based on the relational
model of database management, and influenced by the ANSI SQL-92 language
standard.
______________________________________________________________________________18
18

Library Management System
Crystal Report
Crystal Reports is a business intelligence application used to design and generate
reports from a wide range of data sources. Several other applications, such as Microsoft
Visual Studio, bundle an OEM version of Crystal Reports as a general purpose
reporting tool. Crystal Reports became the de facto report writer when Microsoft
released it with Visual Basic.
Crystal Reports is used to design a report that enables users to drill down on a chart
and filter information, in accordance with their needs. That report has been included in a
VB.NET project, and then displayed in a Web Form with a Crystal Report Viewer control
that is bound to that report. The report can be interacted with by use of the Report
Document object model.
______________________________________________________________________________19
19

Library Management System
Chapter 6
TECHNICAL FEASIBILITY
ECONOMICAL FEASIBILITY
OPERATIONAL FEASIBILITY
______________________________________________________________________________20
20

Library Management System
FEASIBILITY STUDY
The objective of this feasibility study was to analyze whether the company could
improve its working practices, speed up the time to make a sale and generate more
business. To carry on with further analysis the main feasibility issues were examined.
These are as follows:
Technical feasibility
Economical feasibility
Operational feasibility
Following feasibility report was developed after the completion of the feasibility study.
5.1 Technical feasibility
The technical feasibility usually centers on the computer system. It is actually to
test how sound the company is technically; whether the candidate system is a
good answer to the problems etc. During this test we got the following results:
Since the company was already dealing with IT enabled services, it had the
required hardware.
The volumes of transaction expected for the candidate system were well within
the capacity of the computers the company had.
If any new requirements were to crop up during or after the development or
installation of the software, the system could also be expanded.
The system was to be tested for accuracy and reliability. So, those two features
were guaranteed.
Development does not worth a rare task. In my project I choose the most
effective modules of the whole system like payroll, attendance, employee
management etc. So, the tasks were going to be repetitive and there was an
absolute need of computerization.
In my project I had broken complex task down to small tasks or modules to allow
easy automation.
______________________________________________________________________________21
21

Library Management System
Computer system gives fast responses if required and are designed to do so.
This project certainly had speed a requirement. A high speed network with large
RAM in each PC is going to fulfill this requirement.
5.2 Economical Feasibility
To check this feasibility, first of all the prices of the software to be used were surveyed.
The company already had the required hardware and operating system. What required
were MS Office and MS Visual Studio 2005? The estimated cost were
MS Visual Studio 2005 = Rs.40, 000.00
MS Office = Rs.30, 000.00
Total cost of the implementation of the system was Rest. 70,000.00.
Although in my case cost was not a matter, yet to complete the development life cycle
this feasibility was done. And, it was deduced that any amount above Rs.70, 000.00
was a flat profit for the developers.
5.3 Operational feasibility
Peoples’ inherent resistance to change is tested in this study. The employees’ behavior
towards a new system, their zest to learn and work in a new environment and their
willingness to adapt to the change are some important aspects in making a system
successful.
After the operational feasibility study what was found out were the following:
All the employees are experts in their domains in the field of computers. So,
training was never going to be a problem as they could easily cope with this new
software.
The management was more than willing to help and support to make the project
a success.
The end users were of the option that the new system was going to lighten the
burden on them. They had full support for the system as that would make their
own ambience hi-tech.
______________________________________________________________________________22
22

Library Management System
Although the current system is very much acceptable to the users, they definitely
have a wish to work in a more efficient and automated system.
The users were thoroughly involved in the planning and development process.
They gave full assistance and showed no sign of resistance.
______________________________________________________________________________23
23

Library Management System
Chapter 7
SYSTEM ANALYSIS
STRUCTURED ANALYSIS
______________________________________________________________________________24
24

Library Management System
6.1 System Analysis
System analysis is a detailed study of the various operations performed by a system
and their relationships within and outside of the system. This involves gathering
information and using structured tools for analysis. One aspect of analysis is defining
the boundaries of the system and whether or not a candidate system should consider
other related systems. During analysis, data are collected on the available files, decision
points and transactions handled by the present system. Once analysis is completed, the
analyst has a firm understanding of what is to be done. The next step is to decide how
the problem might be solved.
6.2 STRUCTURED ANALYSIS
Structured analysis is a set of techniques and graphical tools that allow the analyst to
develop a new kind of system specifications that are easily understandable to the user.
The basic tools for structured analysis are:-
a) Context diagram
b) Data flow diagram
c) Data dictionary
d) Decision tree
e) Decision table
CONTEXT DIAGRAM:-The context diagram is the starting point of this analysis and is
used to show the highest level in the model of the system. They are used to pictorially
represent the scope as well as the boundaries of the system.
DATA FLOW DIAGRAM: - A DFD has the purpose of clarifying the system
requirements and identifying major transformations that will be become programs in
system design. So it is the starting point of the design phase that functionally
decomposes the requirements specifications down to the lowest level of detail.
Moreover, DFD is a graphical representation of the system that shows data flows to,
from and within the system, processing functions that change the data in the same
manner and the storage of this data. They are constructed using the context diagram as
a top level guide. Data can be organized in several ways:
______________________________________________________________________________25
25

Library Management System
1. stored in data repositories
2. flow in data flows
In the DFD, there are four symbols
1. A square defines a source or destination of system data.
2. An arrow identifies data flow- data in motion. It is a pipeline through
which information flows.
3. A circle represents a process that transforms incoming data flows
into outgoing data flows.
4. An open rectangle is a data store- data at rest, or a temporary
repository of data. A DFD describes what data flow rather than how
they are processed, so it does not depend on hardware, software, data
structure or file organization.
Following are the basic elements of a DFD which are used in the DFD of the project:
______________________________________________________________________________
Library Management
System0
Student Book info
Request book
Issue book
Book Details
Context Diagram or O level DFD
26
26

Library Management System
______________________________________________________________________________
StudentMembershipManagement
1
Member
Book IssueManagement
2
Request for Membership
Send Membership Details
Request for non continuing
Send No Dues
Member Details
StudentRequest for book issue
Book issue Details
Return book/Penalty Rpt
Reminder for book returnWith penalty
BookDetails and status of Book
PenaltyPenalty Amount
ReportManagement
3
Issue Details
Management
Req for report
Send Report
1st level DFD for Library Management System
27
27

Library Management System
Chapter 8
INTRODUCTION
INPUT DESIGN
OUTPUT DESIGN
FORM DESIGN
DATABASE DESIGN
______________________________________________________________________________28
28

Library Management System
SYSTEM DESIGN
7.1 INTRODUCTION
System design deals with the detailed concentration on the technical and the other
specifications that will make the new system operational. A major step in the design is
the preparation of input and the design of output reports in a form acceptable to the
user. System design provides the necessary understanding and the procedural details
needed to implement the system as recommended by the feasibility study.
System design goes through the following phases:-
1) Logical design phase
2) Physical design phase, which consists of the following
7.2 INPUT DESIGN
The goal of designing input data is to make data entry as easy, logical, and free from
errors as possible, in entering data, operators need to know the following:
1) The allocated space for each field.
2) Field sequence, which must match that in the source document
3) The format in which data fields are entered
7.3 OUTPUT DESIGN
Computer output is the most important and direct source of information to the user.
Efficient, intelligible output design should improve the system’s relationships with the
user and help in decision making. A major form of output is a hard copy from the printer.
Printouts should be designed around the output requirements of the user.
7.4 FORM DESIGN
Form is the physical carrier of data-of information. People read from forms, write on
forms, and spend billions of hours handling forms and filing forms. The data the forms
carry come from people, and the informational output of the system goes to people. So,
the form is a tool with a message. With this in mind, it is hard to imagine a business
operating without using forms.
______________________________________________________________________________29
29

Library Management System
Requirements of Forms Design:-
Forms design follows analyzing forms, evaluating present documents, and creating new
and improved forms. Since the purpose of a form is to communicate effectively through
forms design, there are several major requirements:-
1) Identification and wording: - The form title must clearly identify its purpose. Columns
and rows should label to avoid confusion.
2) Maximum readability and use:-The form should be easy to use and fill out. It should
be legible, intelligible, and uncomplicated. Ample writing space must provide for
inserting data.
3) Physical factors:-The form’s composition, color, layout and paper stock should lead
them to easy reading. Pages should be numbered when multiple reports are being
generated for the user.
7.5 DATABASE DESIGN
Database systems are designed to manage large amount of information. The
management includes both the definition of the structures for the storage of information
and provision for mechanism for the manipulation of information.
In addition it provides safety to the data stored in the database.
In database design, several specific objectives are considered:-
1) Controlled redundancy: - Redundant data occupies space and, therefore, is wasteful.
If versions of the same data are in different phases of updating, the system often gives
conflicting information. A unique aspect of database design is storing data only once,
which controls redundancy and improves system performance.
2) Data independence: - An important data base objective is changing hardware and
storage procedures or adding new data without having to rewrite application programs.
The database should be “tunable”to improve performance without rewriting programs.
3) More information at low cost: - Using, storing, and modifying data at low cost are
important. Although hardware prices are falling, software and programming costs are on
______________________________________________________________________________30
30

Library Management System
the rise. This means that programming and software enhancements should be kept
simple and easy to update.
4) Accuracy and integrity: - The accuracy of a database ensures that data quality and
content remain constant. Integrity controls detect data inaccuracies where they occur.
5) Recovery from failure: - With multi-user access to a database, the system must
recover quickly after it is down with no loss of transaction.
______________________________________________________________________________31
31

Library Management System
______________________________________________________________________________
Books
Book NO
ISBN
AUTHOR
Book TITLE
CATEGORYINDEX
Price
Qty Year of Published
Date_ Arrived
Barrowed
Address
Data modify
Student
St_IdName
City
Date Add
State
Pin
Phone
Course
Status of Book
Book No
Issue Date
Re_date
Delayed
Fine
Delayed
ER Diagram for Library System
Library
Contains
Issued_to
32
32

Library Management System
Chapter 9
Introduction.
Coding
System testing and implementation
______________________________________________________________________________33
33

Library Management System
8.1 INTRODUCTION
A system should be thoroughly tested before implementation. The purpose of system
testing is to identify and correct errors in the candidate system. In system testing,
performance and acceptance standards are developed. Substandard performance or
service interruptions that result in system failure are checked during the test.
8.2 CODING
Sample coding: -
ADD BOOK FORMS
Imports System.Data.SqlClientPublic Class FrmAddBooks Dim conn As New SqlConnection(str) Private Sub CmdCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdCancel.Click Me.Close() End Sub
Private Sub FrmAddBooks_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Category() txtbookNo.Text = BookNo() End Sub Public Function Category() conn.Close() Dim strSql As String strSql = "SELECT Category_Name FROM Category" Dim cmdSql As New SqlCommand(strSql, conn) Dim drTable As SqlDataReader conn.Open() drTable = cmdSql.ExecuteReader() While (drTable.Read()) cbcategory.Items.Add(drTable.GetString(0)) End While conn.Close() Return 0 End Function
Private Sub CmdSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdSave.Click
______________________________________________________________________________34
34

Library Management System
Dim sql As String = "insert into BOOKS (BOOK_NO,ISBN,AUTHOR,BOOK_TITLE,CATEGORYINDEX,YEARPUBLISHED,DATEARRIVED,PRICE,QTY,BARROWED,ADDEDBY,DATEADD,MODIFY_BY,DATEMODIFY) Values('" & txtbookNo.Text & "','" & UCase(txtISBN.Text) & "','" & UCase(TxtAuthor.Text) & "','" & UCase(TxtBooktitle.Text) & "','" & UCase(cbcategory.Text) & "','" & UCase(TxtPublished.Text) & "','" & UCase(dtparrived.Text) & "','" & UCase(txtprice.Text) & "','" & UCase(txtqty.Text) & "','', '" & UCase(Txtuserid.Text) & "','" & Now.Date & "','','')" If conn.State = ConnectionState.Closed Then conn.Open() End If If txtbookNo.Text = "" Or txtISBN.Text = "" Or TxtAuthor.Text = "" Or TxtBooktitle.Text = "" Or cbcategory.Text = "" Or TxtPublished.Text = "" Or txtprice.Text = "" Or txtqty.Text = "" Then MsgBox("Please Enter All the Filds", MsgBoxStyle.Information) Exit Sub End If Dim com As New SqlCommand com = New SqlCommand(sql, conn) com.ExecuteNonQuery() MsgBox("Book Details added Successfully", MsgBoxStyle.Information) Call clear() txtbookNo.Text = BookNo() End Sub
Function clear() txtbookNo.Text = "" txtISBN.Text = "" TxtAuthor.Text = "" TxtBooktitle.Text = "" TxtPublished.Text = "" txtprice.Text = "" txtqty.Text = "" Return 0 End Function
Public Function BookNo() As String conn.Close() Dim strSql As String strSql = "SELECT count(*),max(BOOK_NO) FROM BOOKS" Dim cmdSql As New SqlCommand(strSql, conn) Dim drTable As SqlDataReader conn.Open() drTable = cmdSql.ExecuteReader() drTable.Read() If drTable.GetInt32(0) = 0 Then BookNo = (10000) Else BookNo = drTable.GetString(1) + 1 End If conn.Close() End Function
Private Sub txtbookNo_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtbookNo.LostFocus
______________________________________________________________________________35
35

Library Management System
Dim querystring As String = "select ISBN,AUTHOR,BOOK_TITLE,CATEGORYINDEX,YEARPUBLISHED,DATEARRIVED,PRICE,QTY,BARROWED from BOOKS WHERE BOOK_NO='" & txtbookNo.Text & "'" Dim cmd As New SqlCommand(querystring, conn) Dim dr As SqlDataReader conn.Close() conn.Open() dr = cmd.ExecuteReader() If dr.Read <> 0 Then txtISBN.Text = dr.GetValue(0).ToString TxtAuthor.Text = dr.GetValue(1).ToString TxtBooktitle.Text = dr.GetValue(2).ToString cbcategory.Text = dr.GetValue(3).ToString TxtPublished.Text = dr.GetValue(4).ToString ' dtparrived.Text = CDate(dr.GetValue(5).ToString) txtprice.Text = dr.GetValue(6).ToString txtqty.Text = dr.GetValue(7).ToString dr.Close() conn.Close() Else MsgBox("Record Not Found", MsgBoxStyle.Information) Exit Sub End If End Sub
Private Sub CmdUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdUpdate.Click conn.Close() conn.Open() Dim command As New SqlCommand() With command .Connection = conn .CommandText = "UPDATE BOOKS SET [ISBN]='" & txtISBN.Text & "',[AUTHOR]='" & TxtAuthor.Text & "',[BOOK_TITLE]='" & TxtBooktitle.Text & "',[CATEGORYINDEX]='" & cbcategory.Text & "',[YEARPUBLISHED]='" & TxtPublished.Text & "',[DATEARRIVED]='" & dtparrived.Text & "',[PRICE]='" & txtprice.Text & "',[QTY]='" & txtqty.Text & "',[MODIFY_BY]='" & UCase(Txtuserid.Text) & "',[DATEMODIFY]='" & Now.Date & "' WHERE BOOK_NO='" & txtbookNo.Text & "'" .ExecuteNonQuery() End With conn.Close() MsgBox("Record Updated Successfully", MsgBoxStyle.Information) clear() End SubEnd Class
8.3 SYSTEM TESTING AND IMPLEMENTATION
System testing is designed to uncover weaknesses that were not found in
earlier tests. This includes forced system failure and validation of the total system as it
will be implemented by its users in the operational environment. Generally, it begins
with low volumes of transactions based on live data. The volume is increased until the
______________________________________________________________________________36
36

Library Management System
maximum level for each transaction type is reached. The total system is also tested for
recovery and fallback after various major failures to ensure that no data are lost during
the emergency. All this is done with the old system still in operation. After the candidate
system passes the test, the old system is discontinued.
System testing consists of the following steps:-
1. Program testing: - A program represents the logical elements of a system. For a
program to run satisfactorily, it must compile and test data correctly and tie in
properly with other programs. Achieving an error-free program is the
responsibility of the programmer. Program testing checks for two types of errors:-
syntax and logic. A syntax error is a program statement that violates one or more
of the rules of the language in which it is written. A logic error, on the other hand,
deals with incorrect data fields, out-of-range items, and invalid combinations.
2. When a program tested, the actual output is compared with expected output.
When there is a discrepancy, the sequence of instructions must be tested to
determine the problem. The process is facilitated by breaking the program down
into self-contained portions, each of which can be checked at certain key points.
3. String testing: - Programs are invariably related to one another and interact in a
total system. Each program is tested to see whether it conforms to related
programs in the system. Each portion of the system is tested against the entire
module with both test and live data before the entire system is ready to be tested.
4. User Acceptance testing: - This is the last stage of system testing. An
acceptance test has the objective of selling the user on the validity and the
reliability of the system. It verifies that the system’s procedures operate to system
specifications and that the integrity of the integrity of vital data is maintained.
Performance of an acceptance test is actually the user’s show. User motivation
and knowledge are critical for the successful performance of the system.
5. System Implementation:-After a thorough testing of different aspects of the
system as described above the system is ready for implementation. The system
______________________________________________________________________________37
37

Library Management System
is to be run in parallel with the manual system for few days until the concerned
authority become fully confident of the computer- based system.
Chapter 10
______________________________________________________________________________38
38

Library Management System
Aim and objectives of the User Manual:
Enables the user to successfully log in to the system.
Create and maintain category, course etc
Entered details about book, librarian, student etc.
Issue book.
Find book outstanding.
Find book over due.
Maintaining transaction with up to date information.
Crating different reports.
Enables users to check transaction status.
Enables user to login under different permissions.
Enables user to log out of the system.
The Library Management System a computerized system from which the functions and
operations of the business are run and data captured and stored. The system runs
within the operating system Win98 or Win XP. The Library Management System works
with the same combination of a mouse with the ‘’point click principles. The user
interface has been designed to make selections, choices and data entry as easy and
efficient as possible.
Installation of the software from the CD:
Insert the LibrarySystem software CD into the drive.
______________________________________________________________________________39
39

Library Management System
By double clicking on the LibrarySystem Installer Package which is display the following
screen:
Click on the Next > button. Following window comes automatically .Then browse the
folder for installation. Make the path as C:\ LibrarySystem…
______________________________________________________________________________40
40

Library Management System
By clicking the next button following window come.
______________________________________________________________________________41
41

Library Management System
Operational Manual:
1. On running the Library Management System the user will first see the
following flash screen.
______________________________________________________________________________42
42

Library Management System
Fig: splash screen
2. Login Screen will appear after a while as follows. This is first level of
authentication form. A user can enter into the system by providing valid user
Id and password. Default userid and password is admin
3. By providing valid user_id and password user have to press “Login” button. Then he
will be in the following main form. This is MDI Form designed for selection of the
different Menus. Following menu options have been provided in this Main Form:-
1. Master Entry
a) Category
b) Course
c) Book
______________________________________________________________________________43
43

Library Management System
d) Student
e) Librarian
2. Transaction
a) Issue book
b) Due Book
c) Return book.
3. View
a. Book
b. Student
c. Librarian
4. Reports
a) Book
b) Student
c) Librarian
4. For running this software user have to first enter the master entry part. First user has
to enter category name and description in the category form with the following form. In
______________________________________________________________________________44
44

Library Management System
addition to above different Update, Delete, Save, Search, and Cancel command buttons
have been provided in the form.
5. For entering course name and description user have to use the following form. In
addition to above different Update, Delete, Save, Search, and Cancel command buttons
have been provided in the form.
______________________________________________________________________________45
45

Library Management System
6. By clicking the Book Entry Menu of the MDI form this form can be displayed for the
entry of new books in the library. Following Text Boxes have been provided for the entry
of the books related information:-
1. Book number.
2. ISBN.
3. Author Name.
4 Book title
5. Category
6. Year Publisher
7. Date Arrived
8. Price
9. Quantity.
In addition to above different Update, Delete, Add, Search, Refresh and Exit
command buttons have been provided in the form.
6. By clicking the Student Entry Menu of the MDI form this form can be displayed
for the entry of new students books in the school. This form automatically create
student ID.
______________________________________________________________________________46
46

Library Management System
In addition to above different Update, Delete, Add, Search, Refresh and Exit
command buttons have been provided in the form.
7. By clicking the Librarian Entry Menu of the MDI form this form can be displayed
for the entry of new Librarian in the school. This form automatically creates Librarian
ID.As Librarian is the official user in the system so he have to create password for
operating the system. This form provides this facility.
______________________________________________________________________________47
47

Library Management System
9.
This form can be obtained by clicking the “Issues of Books” under the third menu
“Transaction” for issuing a particular book available in the library along with the issue
and due date. The following text boxes have been provided for entry of Issuance of the
Book.
1. Book No.
2. Student ID
______________________________________________________________________________48
48

Library Management System
3. Current No. of Copies Available
4. Issue Date
5. Due Date
In addition to above different Update, Delete, Add, Search, Refresh and Exit command
buttons have been provided in the form.
10. The Librarian can view all the due books with the following form.
11.
______________________________________________________________________________49
49

Library Management System
This form can be obtained by clicking the “Books Return” under the third menu “Issues
of Books” for returning a particular book issued to user from the library along with the
issue, due date and return date with fine if any. The following text boxes have been
provided for entry of return of the Books.
6. Book No.
7. Student ID
8. Current No. of Copies Available
9. Issue Date
10. Due Date
11. Return Date
12. Fine, if any
In addition to above different Update, Delete, Add, Search, Refresh and Exit command
buttons have been provided in the form.
12. There is different view in this software.
______________________________________________________________________________50
50

Library Management System
13. There are several reports are also generated through this software which are as
follows.
______________________________________________________________________________51
51

Library Management System
______________________________________________________________________________52
52

Library Management System
Fig: Record Delete Operation
5. For deposit amount user has to follow the following form. For each new
transaction the user have to press new button first. Then transaction ID will
automatically create.
______________________________________________________________________________53
53

Library Management System
CONCLUSION
It is difficult to summarize the multitudinous knowledge that has been acquired
throughout the life of this project, but hopefully this report and conclusion has attempted
to give the reader a full appreciation of the vast scale of learning that has been
achieved.
Many new things were learnt and full revision of what has been covered to date in the
course was also attained, resulting in a feeling of confidence for the future, and any
other project that may come my way.
My understanding of what the project was supposed to manifest was that a great deal
can be learnt through practical experience and making mistakes. I would now know
what to change if I were to repeat the same project, and where my focus of
concentration should lie. This may not have been possible simply from reading a book.
A sound awareness of the importance of hands on experience and the inevitability of
oversight and learning from them was gained and has, I believe academic improved my
all round abilities, especially relating to computing.
______________________________________________________________________________54
54

Library Management System
ANNEXURE
______________________________________________________________________________55
55

Library Management System
FUTURE SCOPE:
This application can be easily implemented under various situations. We can add new
features as and when we require. Reusability is possible as and when require in this
application. There is flexibility in all the modules.
SOFTWARE SCOPE:
Extensibility: This software is extendable in ways that its original developers may
not expect. The following principles enhance extensibility like hide data structure, avoid
traversing multiple links or methods, avoid case statements on object type and
distinguish public and private operations.
Reusability: Reusability is possible as and when require in this application. We can
update it next version. Reusable software reduces design, coding and testing cost by
amortizing effort over several designs. Reducing the amount of code also simplifies
understanding, which increases the likelihood that the code is correct. We follow up
both types of reusability: Sharing of newly written code within a project and reuse of
previously written code on new projects. Online Library Management System
Understandability: A method is understandable if someone other than the creator
of the method can understand the code (as well as the creator after a time lapse). We
use the method, which small and coherent helps to accomplish this.
Cost-effectiveness: Its cost is under the budget and make within given time period.
It is desirable to aim for a system with a minimum cost subject to the condition that it
must satisfy the entire requirement. Scope of this document is to put down the
requirements, clearly dentifying the information needed by the user, the source of the
information and outputs expected from the system.
______________________________________________________________________________56
56

Library Management System
______________________________________________________________________________57
57

Library Management System
A data dictionary is a reserved space within a database which is used to store information about
the database itself.
FIELD NAME DATATYPE SIZE DESCRIPTION
BOOK_NO NVARCHAR 6 ID OF THE BOOK
ISBN NVARCHAR 20 ISBN NO OF THE BOOK
AUTHOR NVARCHAR 30 AUTHOR OF THE BOOK
BOOK_TITLE NVARCHAR 30 TITLE OF THE BOOK
CATEGORYINDEX NVARCHAR 20 CATEGORY OF THE BOOK.
DATEARRIVED DATATIME 10 ARRIVAL OF THE BOOK
PRICE MONEY PRICE OF THE BOOK
QTY INT TOTAL QTY OF THE BOOK.
BARROWED INT TOTAL BARROWED BOOK.
ADDEDBY NVARCHAR 20 BOOK DETAILS ADDED BY.
DATAADD DATETIME 10 DATE OF ADD OF THE BOOK
MODIFY_BY NVARCHAR 20 MODIFIED BY
DATEMODIFY DATETIME 10 DATE OF THE MODIFY.
CATEGORY_NAME NVARCHAR 20 NAME OF THE CATEGORY.
DESCRIPTION NVARCHAR 20 DESCRIPTION OF THE CATEGORY
INEXCOURSE NVARCHAR 6 INDEX OF THE COURSE
COURSE_NAME NVARCHAR 20 NAME OF THE COURSE
ISSUE_DATE DATETIME 10 DATE OF ISSUE.
DUE_DATE DATETIME 10 DUE DATE OF THE BOOK
RETURN_DATE DATETIME 10 DATE OF RETURN
DELAYED_DAYS INT DAYS DELAYED TO RETURN.
FINES MONEY FINE FOR DELEY.
RETURNED BIT FLAG
LIBRARIAN_ID NVARCHAR 8 ID OF THE LIBRARIAN
FIRST_NAME NVARCHAR 15 FIRST NAME
______________________________________________________________________________58
58

Library Management System
MIDDLE _NAME NVARCHAR 15 MIDDLE NAME
LAST_NAME NVARCHAR 15 LAST NAME
ADDRESS NVARCHAR 20 ADDRESS
PIN NVARCHAR 6 PIN NUMBER
PHONE_NO NVARCHAR 10 PHONE NUMBER
EMAIL NVARCHAR 25 EMAIL ADDRESS
USER_NAME NVARCHAR 15 USER NAME
USER_PASSWORD NVARCHAR 10 PASSWORD FOR USER.
STATE NVARCHAR 20 STATE
LEVEL_NEME NVARCHAR 20 LEVEL
SCHOOL_YEAR NVARCHAR 20 SCHOOL YEAR OF THE STUDENT.
______________________________________________________________________________59
59

Library Management System
______________________________________________________________________________60
60

Library Management System
Fundamentals of Software Engineering. -----------------Prentice Hall India
By Rajib Mall.
System Analysis and Design ----------------------------Galgotia Publications.
By Elias M.Awad
Fundamental of Database System ------------------------Pearson Education.
By Elamasari Navathe.
VB.NET programming -------------------------------Black Book Publications
By Steven Holzner.
Google.co.in
______________________________________________________________________________61
61