Documente Academic
Documente Profesional
Documente Cultură
1. SYNOPSIS
MODULES
Registration
Stock Entry
Issue Management
PALTFORMS
2. INTRODUCTION
3. SYSTEM ANALYSIS
The system we have currently in manual library system. There is a lot of book in
library but they have no serial number. Different writers have different books but no chart
about them. All the details of books are maintained in a single record and searching is very
time consuming and difficult. So searching and upgrading the details is a tedious task. In
order to overcome the disadvantages, the system is computerized.
DISADVANTAGES :
members who have membership in library and stores the details of each and every members
automatically. It includes a searching facility to find all the details of members and books.
ADVANTAGES :
MODULE DESCRIPTION
1) Registration
Suppose a staff or a student wish to take books from the library, you must
register otherwise you will not be allowed to access library. The admin can register the details
of new member such as name, register no, class, etc… Also the admin can update and delete
the records of members as per requirements.
2) Stock entry
In this module we can understand the details of books about author’s name, book
name, publisher’s name, type of book, etc… It also includes stock details of books.
3) Issue management
i. Book issue
Here the admin can check the membership details, book availability and also
how many books are issued for each member. There must be two books will issue for
students and six books for staffs.
When you are done reading your book, you can return it at the specified time
(14 days).
Economic Feasibility
Technical Feasibility
Behavioural Feasibility
Since our system works as a computer based system, it reduces a lot of manual
recording and man power. From the system study, we understood that several works were
done in records. It is very time consuming and manual effort. The proposed system will
reduce the manual effort and make it easier to store the book details and member details.
Here involves financial consideration, in this case of a new computer system. After
development of the proposed system it does not require a high cost for maintenance and
updation. Therefore the system is economically feasible.
As the library is not having a computer, first we should have money for
purchasing the required hardware and software. The proposed system is technically feasible,
since the proposed system can be developed in a computer with minimum expenditure and
specifications. The data stored in manual records are converted to databases. We can strongly
say that it is technically feasible, since there will not be much difficulty in getting the
required resources and data for development and maintenance of the system.
Behavioural feasibility includes how strong the reaction of the staff towards the
development of new system that involves computer’s use in their daily work. People are not
interested in changing from one system to another system. Computer have been known to
facilitate changes.
An estimate should be made to know the interest of the staff in the library
towards the department of the proposed system. Reaction of the staff was very encouraging.
So the system’s behavioural feasibility is alright.
4.REQUIREMENT ANALYSIS
Problem recognition.
Problem evaluation and synthesis.
Modeling
Time consuming.
More man power is wasted.
Less accuracy, and data may be lost.
In this step analyst must define all externally observable object, evaluating flow
and control of step of information, define and elaborate all software function, understand the
software behavior and design constraints etc. Evaluation and synthesis continues until both
analyst and customer felt confident about the project. Once the problem identified, the
evaluation process begins. After evaluation of current problem and the desired information,
the analyst may synthesis one or more solution.
Cost effectiveness.
Faster and records are accurate.
More secure and easy retrieval of data.
4.3 MODELING
A DFD, also known as the bubble chart has the purpose of clarifying system
requirements and identifying major information that will become programs in system design.
A DFD is a pictorial representation of network that describes the flow of data through a
system. The symbols used in Data Flow Diagram are :
5.SYSTEM SPECIFICATION
6.SYSTEM DESIGN
The main objective of the system design is to use the package easily by any computer
operator. System design is the creative act of invention, developing new inputs, a database,
offline files, method, procedure and output for processing business to meet an organization
objective. System design builds information gathered during the system analysis.
Architectural design is a comprehensive frame work that describes its form and
how they fit together. The properties of components interact with other components.
Architectural design focuses on the representation of the structure of the software.
Procedural design or component level design occurs after data, architectural and
interface design must be translated into operational software. The procedural design for each
component, represented in graphical, tabular or text based notation, is the primary work
product produced during component level design.
7. CODING
Expandable: Codes must provide space for additional entries that may be required.
Precise: The code must identify the specific item.
Concise: The code must be brief, yet it should adequately describe the item.
Meaningful: The code must be useful to that people dealing with it. If possible, it
should indicate some characteristics of the item.
Operable: The code should be compatible with present and anticipated methods of
data processing.
A code dictionary is often developed to make it easier for human to work with
the codes. It is a listening of code and their corresponding data items. The dictionary allows
one to translate the code into identification of the data or to determine the code for a
particular item.
8.SYSTEM TESTING
Testing is the process of executing the program with the intent of findings errors.
System testing is the stage of implementation, which is aimed at ensuring that the system
works accurately and efficiently before the live operation commences. Testing is vital to the
success of system. System testing makes a logical assumption that if at the part of the system
is correct the goal will be success achieved. The candidate system is subject to variety of
tests, online, response, volume, stress, recovery and usability rests. A series of tests
performed for the proposed system is ready for the user acceptance testing.
Unit testing
Integration testing
Validation testing
An elaborate testing of data is prepared and system is tested using this test data.
While testing error noted and correction are made. A series of testing are performed for the
proposed system before the system is ready for the user acceptance testing.
Module interface is tested to ensure that information properly flows into and put of
the program under test.
Local data structure are examined to ensure that data stored temporarily maintains its
integrity during al steps in algorithm execution.
Boundary condition is tested to ensure that the module operates properly at
boundaries established to limited or restrict processing.
All independent paths through the control structures are executed at least once.
Error handling paths are also tested.
• Bottom up integration
Validation testing is done to ensure complete assembly of the error free software.
Validation can be is termed successfully if it functions in manner that is reasonably expected
by the customer.
9.SYSTEM IMPLEMENTATION
After the system is implemented successfully, training of the user is one of the
most important subtasks of the developer. Even well designed and technically elegant system
an succeed or fail, because of the way they are used and operated. For this purpose user
manually are prepared and handled over to the user to operate the developed systems
successfully in future. In order to put new application system into use the following activities
were taken care of:
• Test run for some period to ensure smooth switching over the system.
10.SOFTWARE MAINTENANCE
Any system developer should be secured and protected against possible hazards.
Security measures are provided to prevent unauthorized access of the data base at various
levels. An uninterrupted power supply should be that the power failure or voltage fluctuations
will not erase the files.
11.CONCLUSION
Using Visual Basic 6.0 as the front end and SQL Server 2000 as back end. the
system was developed and tested with all possible samples of data. The performance of the
system is provided to be efficient. The system provides flexibility for incorporating new
features which may be necessary in future.
12.APPENDIX
CONTEXT LEVEL
FIRST LEVEL
SECOND LEVEL
SECOND LEVEL
Tables are also called grid charts because they are made up of intersecting
horizontal and vertical lines that form rows and columns. Tables are the convenient method
for expressing in summary form the relationships between two or more complex factors.
Table No : 1
Table No : 2
Table No : 3
Table No : 4
Table No : 5
Table No : 6
Table No : 7
Table No : 8
Table No : 9
Table No : 10
ForeignKey : Sub_id
Table No : 11
Table No : 12
Table No : 13
Table No : 14
LOADING FORM
LOGIN FORM
MDI FORM
DEPARTMENT FORM
DESIGNATION FORM
COURSE FORM
UNIQUE FORM
CATEGORY FORM
SUBCATAGORY FORM
ISSUE FORM
REPORT FORM
ISSUE REPORT
STOCK REPORT
FINE REPORT
LOGIN FORM
Unload Me
End Sub
CONNECT
End Sub
Me.Hide
MDI1.Show
Else
username = ""
password = ""
username.SetFocus
End If
End Sub
MDI FORM
DEPARTMENT.Show
End Sub
DESIGNATION.Show
End Sub
COURSE.Show
End Sub
CATEGORY.Show
End Sub
ISSUE.Show
End Sub
BOOKLOSS.Show
End Sub
BSEARCH.Show
End Sub
LFINE.Show
End Sub
FMEMTYPE.Show
End Sub
MEMSEARCH.Show
End Sub
STOCKENTRY.Show
End Sub
REPORT.Show
End Sub
RSTAFF.Show
End Sub
LSTUDENT.Show
End Sub
With RS
memtid.Caption = .Fields(0)
MEMTYPE.Text = .Fields(1)
mlimit.Text = .Fields(2)
End With
End Sub
Unload Me
End Sub
X = MEMTYPE.Text
RS.Open "select * from Member where mem_type='" & X & "'", con, adOpenKeyset,
adLockOptimistic
display
End If
End Sub
Dim I As Integer
TMP = y - mlimit.Text
Else
RS.Fields(2) = y
RS.UPDATE
mlimit.Text = y
I = 12
Else
I = 10
End If
RS1.UPDATE
RS1.MoveNext
Wend
Me.Hide
End If
End Sub
CONNECT
MEMTYPE.AddItem RS.Fields(1)
RS.MoveNext
Wend
End Sub
With RS
Option1.Value = False
Option2.Value = False
MTYPE.Caption = .Fields(0)
SID.Caption = .Fields(1)
FNAME.Text = .Fields(2)
LNAME.Text = .Fields(3)
ADMIN.Text = .Fields(4)
RS1.Open "select * from Course where prog_id='" & .Fields(5) & "'", con, adOpenKeyset,
adLockOptimistic
PROGNAME.Text = RS1.Fields(1)
Option1.Value = True
Else
Option2.Value = True
End If
REGDATE.Value = .Fields(7)
YOS.Text = .Fields(8)
STATUS.Text = .Fields(9)
LIMIT.Caption = .Fields(10)
End With
End Sub
flag = 0
Dim X As Integer
SID.Caption = "ST1"
Else
RS.MoveLast
str = RS.Fields(1)
X = Val(Mid(str, 3))
End If
Else
RS.AddNew
RS1.Open "select * from Member where mem_type='" & MTYPE.Caption & "'", con,
adOpenKeyset, adLockOptimistic
RS.Fields(0) = RS1.Fields(0)
RS.Fields(1) = SID.Caption
RS.Fields(2) = FNAME.Text
RS.Fields(3) = LNAME.Text
RS.Fields(4) = ADMIN.Text
RS1.Open "select * from Course where prog_name='" & PROGNAME.Text & "'", con,
adOpenKeyset, adLockOptimistic
RS.Fields(5) = RS1.Fields(0)
RS.Fields(6) = Option1.Caption
Else
RS.Fields(6) = Option2.Caption
End If
REGDATE.Format = dtpShortDate
RS.Fields(7) = REGDATE.Value
RS.Fields(8) = YOS.Text
RS.Fields(9) = STATUS.Text
RS.Fields(10) = LIMIT.Caption
RS.UPDATE
flag = 1
End If
End Sub
SID.Caption = ""
FNAME.Text = ""
LNAME.Text = ""
ADMIN.Text = ""
YOS.Text = ""
Option1.Value = False
Option2.Value = False
End Sub
Unload Me
End Sub
CrystalReport1.Action = 1
End Sub
If flag = 1 Then
RS.DELETE
SID.Caption = ""
FNAME.Text = ""
LNAME.Text = ""
ADMIN.Text = ""
YOS.Text = ""
LIMIT.Caption = ""
Option1.Value = False
Option2.Value = False
flag = 0
Else
End If
End Sub
CONNECT
flag = 0
STATUS.AddItem "STUDYING"
STATUS.AddItem "NOT-STUDYING"
Option1.Value = False
Option2.Value = False
PROGNAME.AddItem RS.Fields(1)
RS.MoveNext
Wend
LIMIT.Caption = RS.Fields(2)
End If
End Sub
RS.Open "select * from Student_Details where stud_firstname='" & X & "' and
stud_lastname='" & y & "'", con, adOpenKeyset, adLockOptimistic
flag = 0
Else
flag = 1
display
MsgBox ("FOUND!")
End If
End Sub
If flag = 1 Then
RS.Fields(2) = FNAME.Text
RS.Fields(3) = LNAME.Text
RS.Fields(4) = ADMIN.Text
RS1.Open "select * from Course where prog_name='" & PROGNAME.Text & "'", con,
adOpenKeyset, adLockOptimistic
RS.Fields(5) = RS1.Fields(0)
RS.Fields(6) = Option1.Caption
Else
RS.Fields(6) = Option2.Caption
End If
REGDATE.Format = dtpShortDate
RS.Fields(7) = REGDATE.Value
RS.Fields(8) = YOS.Text
RS.Fields(9) = STATUS.Text
RS.Fields(10) = LIMIT.Caption
RS.UPDATE
flag = 0
Else
End If
End Sub
With RS
BID.Caption = .Fields(0)
RS1.Open "select * from Book_Category where cat_id='" & .Fields(1) & "'", con,
adOpenKeyset, adLockOptimistic
CATNAME.Text = RS1.Fields(1)
RS1.Open "select * from Sub_Category where sub_id='" & .Fields(2) & "'", con,
adOpenKeyset, adLockOptimistic
SUBCATNAME.Text = RS1.Fields(1)
BNAME.Text = .Fields(3)
AUTHOR.Text = .Fields(4)
COPIES.Text = .Fields(5)
PUBLISHER.Text = .Fields(6)
ADDRESS.Text = .Fields(7)
PYEAR.Text = .Fields(8)
PAGES.Text = .Fields(9)
VOLNO.Text = .Fields(10)
ENO.Text = .Fields(11)
REGDATE.Value = .Fields(12)
PRICE.Text = .Fields(13)
End With
End Sub
Unload Me
End Sub
If flag = 1 Then
RS.DELETE
BID.Caption = ""
ACCNO.Text = ""
VOLNO.Text = ""
ENO.Text = ""
PRICE.Text = ""
BNAME.Text = ""
COPIES.Text = ""
PAGES.Text = ""
CALLNO.Text = ""
REGDATE.Value = ""
AUTHOR.Text = ""
ISBN.Text = ""
BSTATUS.Text = ""
CATNAME.Text = ""
SUBCATNAME.Text = ""
PUBLISHER.Text = ""
ADDRESS.Text = ""
PYEAR.Text = ""
flag = 0
Else
End If
End Sub
CONNECT
flag = 0
CATNAME.AddItem RS1.Fields(1)
RS1.MoveNext
Wend
SUBCATNAME.AddItem RS1.Fields(1)
RS1.MoveNext
Wend
End Sub
flag = 0
BID.Caption = ""
VOLNO.Text = ""
ENO.Text = ""
PRICE.Text = ""
BNAME.Text = ""
COPIES.Text = ""
PAGES.Text = ""
AUTHOR.Text = ""
CATNAME.Text = ""
SUBCATNAME.Text = ""
PUBLISHER.Text = ""
ADDRESS.Text = ""
PYEAR.Text = ""
End Sub
K=0
Dim X As Integer
BID.Caption = "B1"
Else
RS.MoveLast
str = RS.Fields(0)
X = Val(Mid(str, 2))
End If
RS.AddNew
RS.Fields(0) = BID.Caption
RS1.Open "select * from Book_Category where cat_name='" & CATNAME.Text & "'", con,
adOpenKeyset, adLockOptimistic
RS.Fields(1) = RS1.Fields(0)
RS1.Open "select * from Sub_Category where sub_name='" & SUBCATNAME.Text & "'",
con, adOpenKeyset, adLockOptimistic
RS.Fields(2) = RS1.Fields(0)
RS.Fields(3) = BNAME.Text
RS.Fields(4) = AUTHOR.Text
RS.Fields(5) = COPIES.Text
RS.Fields(6) = PUBLISHER.Text
RS.Fields(7) = ADDRESS.Text
RS.Fields(8) = PYEAR.Text
RS.Fields(9) = PAGES.Text
RS.Fields(10) = VOLNO.Text
RS.Fields(11) = ENO.Text
RS.Fields(12) = REGDATE.Value
RS.Fields(13) = PRICE.Text
RS.UPDATE
BUNIQUE.Show
flag = 1
End Sub
RS.Open "select * from Stock_Entry where b_name='" & X & "'", con, adOpenKeyset,
adLockOptimistic
flag = 0
Else
display
MsgBox ("FOUND!")
flag = 1
End If
SAVE.Enabled = False
End Sub
BUNIQUE.Show
End Sub
If flag = 1 Then
RS1.Open "select * from Book_Category where cat_name='" & CATNAME.Text & "'", con,
adOpenKeyset, adLockOptimistic
RS.Fields(1) = RS1.Fields(0)
RS1.Open "select * from Sub_Category where sub_name='" & SUBCATNAME.Text & "'",
con, adOpenKeyset, adLockOptimistic
RS.Fields(2) = RS1.Fields(0)
RS.Fields(3) = BNAME.Text
RS.Fields(4) = AUTHOR.Text
RS.Fields(5) = COPIES.Text
RS.Fields(6) = PUBLISHER.Text
RS.Fields(7) = ADDRESS.Text
RS.Fields(8) = PYEAR.Text
RS.Fields(9) = PAGES.Text
RS.Fields(10) = VOLNO.Text
RS.Fields(11) = ENO.Text
RS.Fields(12) = REGDATE.Value
RS.Fields(13) = PRICE.Text
RS.UPDATE
flag = 1
Else
End If
End Sub
Else
y = AUTHOR.Text
RS.Open "select
b_name,author,no_of_copies,publisher,pub_address,pub_year,no_of_pages,vol_no,edition_n
o,price from Stock_Entry where author like '" & y & "%'", con, adOpenKeyset,
adLockOptimistic
Set DataGrid1.DataSource = RS
End If
End Sub
Else
X = BNAME.Text
RS.Open "select
b_name,author,no_of_copies,publisher,pub_address,pub_year,no_of_pages,vol_no,edition_n
o,price from Stock_Entry where b_name like '" & X & "%'", con, adOpenKeyset,
adLockOptimistic
Set DataGrid1.DataSource = RS
End If
End Sub
CONNECT
End Sub
ISSUE FORM
Public K As String
Public J As Integer
RS.AddNew
RS.Fields(0) = BISSUEID.Caption
RS.Fields(1) = K & J
RS.Fields(2) = ACCNO.Text
RS.Fields(3) = ISSUEDATE.Value
'RS.Fields(4) = RETURNDATE.Value
'RS.Fields(5) = RENEWDATE.Value
RS.Fields(6) = NO.Caption
RS.UPDATE
End Sub
BISSUEID.Caption = ""
BNAME.Caption = ""
ACCNO.Text = ""
MEMID.Text = ""
YES.Value = False
NO.Value = False
End Sub
Unload Me
End Sub
RS11.Open "SELECT * FROM Book_Issue WHERE ACC_NO='" & ACCNO.Text & "'
AND ISSUE_STATUS='NO'", con, adOpenKeyset, adLockOptimistic
flag = 1
BISSUEID.Caption = RS11.Fields(0)
ACCNO.Text = RS11.Fields(2)
BNAME.Caption = ""
Else
BNAME.Caption = ""
Else
RS22.Open "SELECT * FROM Stock_Entry WHERE B_ID='" & RS21.Fields(1) & "'", con,
adOpenKeyset, adLockOptimistic
BNAME.Caption = RS22.Fields(3)
End If
End If
MEMTYPE.Text = "STAFF"
Else
MEMTYPE.Text = "STUDENT"
End If
MEMID.Text = RS11.Fields(1)
ISSUEDATE.Value = RS11.Fields(3)
If IsNull(RS11.Fields(4)) Then
Else
RETURNDATE.Value = RS11.Fields(4)
End If
If IsNull(RS11.Fields(5)) Then
Else
RENEWDATE.Value = RS11.Fields(5)
End If
YES.Value = True
Else
NO.Value = True
End If
Else
BNAME.Caption = ""
Else
BNAME.Caption = ""
Else
RS12.Open "SELECT * FROM Stock_Entry WHERE B_ID='" & RS11.Fields(1) & "'", con,
adOpenKeyset, adLockOptimistic
BNAME.Caption = RS12.Fields(3)
End If
End If
End If
End Sub
CONNECT
ISSUEDATE.Value = Now
flag = 0
YES.Value = False
NO.Value = False
MEMTYPE.AddItem RS.Fields(1)
RS.MoveNext
Wend
End Sub
flag = 0
Dim X As Integer
K = "SF"
Else
K = "ST"
End If
J = Val(Mid(MEMID.Text, 3))
BISSUEID.Caption = "ISS1"
Else
RS.MoveLast
str = RS.Fields(0)
X = Val(Mid(str, 4))
End If
MsgBox ("MISSING!")
Else
RS2.Open "select * from Staff_Details where s_id='" & K & J & "'", con, adOpenKeyset,
adLockOptimistic
Else
RS2.Fields(12) = RS2.Fields(12) - 1
RS2.UPDATE
ADD
End If
Else
RS3.Open "select * from Student_Details where stud_id='" & K & J & "'", con,
adOpenKeyset, adLockOptimistic
Else
RS3.Fields(10) = RS3.Fields(10) - 1
RS3.UPDATE
ADD
End If
End If
End If
End Sub
MEMID.Text = "SF"
Else
MEMID.Text = "ST"
End If
End Sub
RENEWDATE.CheckBox = False
If flag = 1 Then
RS11.Fields(5) = RENEWDATE.Value
RS11.UPDATE
Else
End If
End Sub
RETURNDATE.CheckBox = False
If flag = 1 Then
RS11.Fields(4) = RETURNDATE.Value
RS11.Fields(6) = "YES"
YES.Value = True
RS11.UPDATE
RS31.Open "select * from Student_Details where stud_id='" & MEMID.Text & "'", con,
adOpenKeyset, adLockOptimistic
RS31.Fields(10) = RS31.Fields(10) + 1
RS31.UPDATE
Else
RS31.Open "select * from Staff_Details where s_id='" & MEMID.Text & "'", con,
adOpenKeyset, adLockOptimistic
RS31.Fields(12) = RS31.Fields(12) + 1
RS31.UPDATE
End If
Else
End If
End Sub
Dim DD As Integer
BISSUEID.Text = ""
MEMID.Text = ""
AMOUNT.Text = ""
PAID.Value = False
NPAID.Value = False
LATE.Enabled = True
End Sub
Unload Me
End Sub
PAID.Value = False
NPAID.Value = False
Else
T1 = RS1.Fields(2)
TMP = RS1.Fields(1)
Else
End If
RS2.Open "SELECT * FROM Unique_Book_Id where acc_no='" & T1 & "'", con,
adOpenKeyset, adLockOptimistic
T2 = RS2.Fields(1)
Else
End If
RS3.Open "SELECT * FROM Stock_Entry where b_id='" & T2 & "'", con, adOpenKeyset,
adLockOptimistic
If IsNull(RS1.Fields(5)) Then
Else
AMOUNT.Text = (DD - 7) * 1
End If
End If
RS4.Open "SELECT * FROM Staff_Details where s_id='" & TMP & "'", con,
adOpenKeyset, adLockOptimistic
MEMID.Text = RS4.Fields(1)
Else
End If
Else
RS4.Open "SELECT * FROM Student_Details where stud_id='" & TMP & "'", con,
adOpenKeyset, adLockOptimistic
MEMID.Text = RS4.Fields(1)
Else
End If
End If
RS5.Open "SELECT * FROM Fine where mem_typeid='" & MEMID.Text & "' and
b_issueid='" & BISSUEID.Text & "'", con, adOpenKeyset, adLockOptimistic
NPAID.Value = True
Else
PAID.Value = True
End If
AMOUNT.Text = ""
PAID.Value = False
NPAID.Value = False
LATE.Enabled = False
End If
LATE.Enabled = False
End If
End If
End Sub
CONNECT
MEMTYPE.AddItem "STAFF"
MEMTYPE.AddItem "STUDENT"
PAID.Value = False
NPAID.Value = False
End Sub
K = "SF"
Else
K = "ST"
End If
J = Val(Mid(MEMID.Text, 3))
RS.AddNew
RS.Fields(0) = BISSUEID.Text
RS.Fields(1) = K & J
RS.Fields(2) = AMOUNT.Text
RS.Fields(3) = PAID.Caption
PAID.Value = True
RS.UPDATE
RS1.Fields(6) = "YES"
RS1.UPDATE
RS31.Open "select * from Student_Details where stud_id='" & MEMID.Text & "'", con,
adOpenKeyset, adLockOptimistic
RS31.Fields(10) = RS31.Fields(10) + 1
RS31.UPDATE
Else
RS31.Open "select * from Staff_Details where s_id='" & MEMID.Text & "'", con,
adOpenKeyset, adLockOptimistic
RS31.Fields(12) = RS31.Fields(12) + 1
RS31.UPDATE
End If
LATE.Enabled = False
End Sub
13.BIBLIOGRAPHY
For SQL:
https://www.tutorialspoint.com/sql
1. https://www.vbtutor.net/vbtutor.html
2. Way to Visual Basic 6.0-By PETER NORTON
3. Experts guide to Visual Basic 6.0-By S FREEZE
4. System Analysis & Design –By AWARD E M