Escolar Documentos
Profissional Documentos
Cultura Documentos
1. ANAND S 130021070031
2. MATHEW THOMAS T 130021070068
DECLARATION
1. ANAND S
2. MATHEW THOMAS T
Date:
Marian
CERTIFICATE
Certify that the project report entitled BOOK SHOP AUTOMATION SYSTEM done
by ANAND S and MATHEW THOMAS T is completed under my guidance. The matter
embodied in this project work has not been submitted earlier for the award of any
degree or diploma to the best of my knowledge and belief.
Department Seal:
Marian
ACKNOWLEDGEMENT
Gratitude is a feeling which is more eloquent than words, more silent than silence. In
undertaking this project work we need the direction, assistance and cooperation of various
individuals and organizations, which is received in abundance with the grace of God. Without
their unconstrained support, the project could not have been completed.
We express our sincere gratitude to our Internal Guide Santo Cherian he has shown keen
interest in helping us to complete the project and provide valuable suggestions and guidance
throughout the project. Next we express our heartiest thanks to Dr Rajimol A, Head,
Department of Computer Applications, Marian College, Kuttikkanam for her valuable
suggestions and guidance throughout the project. We express our sincere gratitude to our
Manager, Rev. Fr. Ruban J Thannickal and Principal, Rev. Dr(Fr) Roy Abraham P, for
permitting us to do the project.
It is with great delight that we express our profound thanks to Ms. Juby George, Asst.
Professor in the Department of Computer Applications, Marian College, Kuttikkanam, for
contributing a never-ending stream of help and suggestions.
With great enthusiasm, we express our thanks to all the teachers in the Department of
Computer Applications for the support given throughout the project. We would also like to
thank the non-teaching staff for their support. We express our thanks to all our friends who
supported and helped us in many ways.
Without the support of our family it was not possible for us to do anything. So we express our
sincere gratitude to our family for their support, encouragements and prayers for the
completion of our project successfully.
Anand S
Mathew Thomas T
Marian
ABSTRACT
Book Shop Automation System is a fully automated System for Book shop.
It supports the general requirements of Book Shop like Purchase details,
Stock details, Book details, Edition details, Sales invoice details.
The project Book Shop Automation System gives us the complete
information about the Books. The purpose of the system is mainly to
provide automation to the Book Shop. We can enter the Book information
and retrieve the details of Book available. This give a better solution for
the difficulty that may occur while storing all the records manually. By
computerizing, we will be able to store each and every details including
the very minute ones. The project has input screens that makes it possible
to enter information that are to be stored. It uses master forms and data
reports. Only the administrator is allowed to access the system, in order to
ensure security. The objective of computerization in any field is to make
the manual job involved in that particular field where it has been
developed more efficient and easier.
The Bookshop Automation System has been developed for Shas Bookshop,
Mundakayam. The main aim of this project is to provide flexibility and user friendliness.
The main advantage of this computerized bookshop automation system is that the stored data
will not be lost and all the data will be secure.
The project Bookshop Automation System is developed using Visual Basic 6.0 and SQL
Server.
Marian
Table of Contents
Title
pg. no
AKNOWLEDGEMENT
ABSTRACT
1. Introduction......................................................................................................
1.1. About the Organization.........................................................................
1.2. About the Project..
2. System Study and Analysis.............................................................................
2.1. Existing System...................................................................................
2.2. Proposed System..................................................................................
2.3. System Requirements..........................................................................
2.3.1. Function to be provided............................................................
2.3.2. Product Definition....................................................................
2.3.3. Problem Statement....................................................................
2.3.4. Processing Environment
2.3.4.1. Hardware Requirements
2.3.4.2. Software Requirements
2.4. Feasibility Analysis...............................................................................
2.4.1. Economic Feasibility..
2.4.2. Technical Feasibility
2.4.3. Operational Feasibility...
2.5 Programming Languages and Development Tools...............................
2.6 System Analysis.....................................................................................
2.6.1 DFD..............................................................................................
2.6.2 Data Dictionary.............................................................................
8
9
9
9
9
10
11
11
12
12
12
12
13
14
14
15
16
17
23
24
30
3. System Design.................................................................................................
30
32
3.1.2 Normalization.
36
36
37
38
39
4.1 Introduction..
39
39
4.3 Security....
39
Marian
40
5.1 Coding
40
40
6.1.2 Comments.
40
5.2 Testing
40
40
41
41
6. Implementation..
41
7. Summary ..........................................................................................
42
7.1 Conclusion....................................................................................................
42
42
8. Bibliography.........................................................................................................
43
9. Appendix D -
44
Sample Screens...
1. INTRODUCTION
7
Marian
To solve the problems of manual systems, there are two ways. One is to appoint more
employees and the other is computerization. By analyzing these situations, it was identified
that the first is not cost effective. So we took second option - computerization of the existing
system.
The main objective of the proposed system is to eliminate the limitations of the existing
manual system. Computers are fast tireless machines that are provides computation of large
amount of data quickly and give the output in the required format effectively. Cost
effectiveness is one of the main objectives of the existing system.
The project aims at the computerized functioning of a book shop at Mundakayam. The
advantages of the computerization are reduction in the workload, avoidance of the errors in
keeping records. This system is expected to be easier for usage and other operational
independency. The following are the activities carried out in the concern.
Purchase books
Record keeping of sales, stock, order, complaint
Search books
Sales
Billing
Company details
Customer details
Adding new Publishers
Marian
Marian
Each detail is entered in different records and large storage space is needed.
Data Retrieval
Data retrieval is a difficult task.
Data Redundancy
Since the datas are stored in different registers the same data is repeated.
Report Displays
Before making reports regarding the transactions the manager has to make searching
with former records.
Error Prone
Since the system is manual, the chances for mistakes are high.
Registers may be destroyed easily
The chances of registers getting destroyed due to fire or water, time etc. is high.
Marian
Easy to Operate
Insertion and updating of the records will become easier and the number of records
can also be reduced.
Interactive User Interface
The proposed system provides Graphical User Interface similar to that of windows.
The user friendly interface helps the admin to work with the environment more
effectively.
Safe Data Storage
The data can be stored for long period of time and backup can be maintained to ensure
further security of data. It does not consume large physical storage space. Therefore
data storage becomes more efficient.
Data Redundancy
Data redundancy can be reduced
Further References Are Ease
Since the proposed system is automated, further references to the details are very
easy. By including search option it is even possible to get details of a particular
transaction and account details.
2.3 System Requirements
2.3.1 Function to be provided
The software developed must provide all the facilities for functioning of a Book shop. The
operations include purchase books, sales details entry, search books in book shop, complaints
entry, Companies details, discount information etc. This must happen without delay. Also all
the activities are managed by the Administrator of the Book shop.
2.3.2 Product Definition
This software is to automate the different aspects of the system .The package has a user
interface to enter all the data required for evaluating all records of Book shop operations. The
interface also includes giving overall operations done in a Book shop.
2.3.3 Problem Statement
11
Marian
Before starting to design software, we have to understand the problems faced by existing
system. This is the most crucial phase of the system development life cycle, because if one
doesnt comprehend the problem at hand, the end product will be wastage.
The objective of the product is to develop software that is used to manage all the registers of
the book shop. This software has to overcome all the disadvantages of existing system listed
before.
HARDWARE
Processor
Memory
: 512 MB or above
Cache Memory
: 512 KB or above
Hard Disk
: 10.2 GB or above
Keyboard
CD Drive
Monitor
: VGA
Mouse
: A PS2/USB mouse
Display Adaptor
: Super VGA
Printer
: Dot Matrix/Inkjet/Laser
12
Marian
accuracy.
Cost avoidance: It includes early detection of problems and ability to extend
operations.
Scope
The scope of the project is identified to end of initial investigation. Then the system benefits
are stated and are translated into measurable objectives, These objectives are effective in
comparing The performance of the candidate system with that if the current system .From the
comparison it is found that the candidate system which is designed by using visual basic 6.0
as front end and Microsoft SQL Server as Backend is many times effective than the existing
procedures manual procedure.
Operating System
Front End
Back End
: MS-SQL-Server
Marian
Feasibility analysis is a test of system proposed according to work ability, impact of the
organization and effective uses of resources. It also evaluates the resources. It evaluate the
existing systems and it procedures develop a candidate systems which are suitable to solve
the problem. A feasibility test finds answers to the following questions.
Marian
Marian
16
Marian
Marian
Templates Available
Standard EXE:
Creates a stand-alone program that we can copy, give away, or sell to others. Examples of
stand-alone programs are MS Word, Netscape Navigator etc. Stand-alone programs have
an .EXE extension
ActiveX DLL:
Create a file that has .DLL extension. ActiveX DLL files are not meant to be used by them.
Instead, these types of files contain subprograms designed to be used as building block when
creating a stand-alone program.
ActiveX EXE:
Create a file that has an .EXE file extension. Unlike a stand-alone EXE file, an ActiveX EXE
file is designed to work as an OLE server, which is nothing more than a program designed to
share information with another program.
ActiveX Control:
Create a file that has an .OCX file extension. Unlike an ActiveX DLL or ActiveX EXE file,
an ActiveX Control usually provides both subprograms and a user interface that we can reuse
in other programs.
ActiveX Document DLL:
Create a file with a .DLL file extension. An ActiveX Document DLL file is design to help us
to run programs on internet.
ActiveX Document EXE:
18
Marian
Create a file that has an .EXE file extension. An ActiveX Document EXE files can display a
VB form within an internet Web browser.
AddIn:
Enable us to create an AddIn program specially designed to work with the VB user interface.
VB Application Wizard:
The VB friendly guide to help us to create a skeleton VB stand-alone EXE program quickly
and easily.
IIS Application:
An IIS application is a VB application that lives on a Web Server and responds to request
from the browser. An IIS application uses HTML to present its user interface and uses
complied VB code to process requests and responds to event in the browser. IIS application
can be used on the internet or an intranet. End users of an IIS application do not need a
specific operating system or browser. IIS application uses the Active Server Pages (ASP)
object model.
DHTML Application:
A DHTML application to also respond to events in an HTML page. DHTML applications are
intended for use on intranet, and are dependent on Internet Explorer 4.0 or later .DHTML
application use the dynamic HTML objects.
Integrated Development Environment
The working environment in Visual Basic is referred to as the integrated development or
IDE because it integrates much different function. Such as design, editing, compiling and
debunking within a Common environment. In most traditional development tools each of
this function would operate as separate programming, each with its own interface. The
Visual Basic integrated environment (IDE) consists of the following elements.
Menu bar:
19
Marian
20
Marian
database .for security and authorization, for defining integrity constraints, and for specifying
transaction controls.
SQL is an ANSI standard computer language for accessing and manipulating database
system. SQL statements are used to retrieve and update data in a database. SQL works with
database programs like MS ACCESS, DB2, Informix, MS SQL server, Oracle etc.
SQL Database Tables
Tables are in basic building block in any relational database management system. They
contain the rows and columns of your data. You can create modify and delete table using the
data definition language commands(DDL).The table consist of a row of columns heading
together with zero or more rows of data values. A database most often contains one or more
tables. Each table is identified by a name. Tables contain rows with data.
SQL Data Manipulation Language (DDL)
SQL is syntax for executing queries. But the SQL language also includes syntax to update,
insert and delete records. These queries and update commands together form the Data
Manipulation Language part of SQL:
21
Marian
Connection used
OLE DB
Ole an acronym for object linking and embedding, a somewhat older communications and
data-sharing protocol for Windows application. The term Ole has been largely replaced by
ActiveX, a Broad collection of communication methods for Windows applications.
Ole DB introduces a universal data access paradigm that is not restricted to jet, ISAM, or
even relational data sources. OLE DB is capable of dealing with any type of data regardless
of its storage method or format. This access even includes an ADO data provider into o
ODBC so that you can use it with your ODBC data sources. It is important to note that Ole
DB doesnt replace ODBC because they each feature completely independent APIs.
Report used
Crystal report is used to produce reports from Visual Basic program, which is an integral
feature of Visual Basic. It is a powerful program for creating custom reports, lists, and labels
from the data in our application database. When Crystal Reports connect to the database, it
reads the values from the fields you selected and place them into a report, either as-is or as
part of a formula that generates more complex values.
Crystal Reports connects to almost any database system available today. Actually, there are
two unique methods used to connect a data base: Data Files and SQL/ODBC. The data file
method is designed for the smaller PC-based database, such as dBase and Microsoft Access.
The SQL/ODBC method uses an ODBC (Open Database Connectivity) Connection, Which
connects to any database that supports it. Some database in these groups is Microsoft Access,
Oracle, Sybase & Microsoft SQL server.
22
Marian
The Microsofts most popular operating system Windows XP is used in the development
cycle. Windows XP, released in October 2001, has several attractive features than the older
version of Windows. Most important one is its enhanced GUI and added security.
2.6 SYSTEM ANALYSIS
2.6.1 Data Flow Diagrams
Data flow diagram is a way of representing system requirements in a graphic form. A DFD is
also known as bubble chart has the purpose of clarifying system requirements and identify
major transformations that will become program in system design. So it is the starting point
of design phase that functionally decomposes the requirements specifications down to the
lowest level of details. A DFD consists of series of bubbles joined by lines. The bubbles
represent data transformation and the lines represent data flows in the system.
DFD Symbols
In a DFD, there are four symbols
1. A square defines a source or destination of system data.
3. A circle or a bubble represents a process that transforms incoming data flows into
outgoing data flows.
23
Marian
DFD
CONTEX DIAGRAM
24
Marian
DFD Level 1
DFD Level 2
25
Marian
26
Marian
DFD Level 3
27
Marian
DFD Level 4
28
Marian
Description
Administrator can login and can access the
2.Purchase
data available
New books added and company details are
3.Sales
stored
Soled book details and customer details are
4.search
stored.
Administrator can search for the availability
of book by title, ISBN no, author and id
provided by the book shop
5.complaint
6.reports
reported by customers
Report keeping of purchase ,sale, books
available and complaints
3. SYSTEM DESIGN
The most creative and challenging phase of the system life cycle is system design. The term
design, describes a final system and the process by which it is developed. It refers to the
technical specification that will be applied in implementing the candidate system. It also
includes the construction of programs and program testing. The key question here is: How
should the problem is solved? The first step is to determine how the output is to be produced
and in what format. Second, input data and master files have to be designed to meet the
requirements of the proposed output.
29
Marian
The final report prior to the implementation phase includes procedural flowchart, record
layout, and workable plan for implementing the candidate system.
The design phase focuses on the detailed implementing procedural flowchart of the system
recommended in the feasibility study. Emphasis is in translating performance specification
into design specification. The design phase is a translation from a user-oriented document to a
document oriented to the programmers or database personal.
System design goes through the phase of development: logical and physical design. When
analysis prepares the logical system design they specify the user needs at a level of details
that virtually determines the information flow into and out of system and the required data
resources.
The most creative and overwhelming part of system development lifecycle is system design.
The design phase focuses on the detailed implementation of the system recommended in the
feasibility study. System design is a transition from user-oriented document to a documentoriented to a programmer or database personal. It includes logical flow of the system. The
physical design draws out of the details of the physical plan and specifies to learn the
software requirements.
A well-designed system should provide for controls to eliminate errors and ensure systems
integrity. The design activity is often divided into system design and detailed design. System
design aims to identify the modules and how they interact with each other to produce desired
results. At the end of system design all the data structures, file formats, output formats as well
as the major modules in the system and their specifications are desired.
Marian
Logical
Physical
2.
3.
4.
5.
2.
3.
Devise a test and implementation plan and specify any new hardware and software.
4.
31
Marian
Tables
A table is a collection of data about a specific topic. It makes data more efficient and reduces
data entry errors. There are several tables used in this project.
Type
Integer
Varchar
Varchar
Varchar
Length
20
20
20
Description
Vender id
Vender name
Vender place
Contact number
Marian
Type
Integer
Integer
Varchar
Varchar
Varchar
Varchar
Length
20
20
20
20
Description
Book id
Vender id
Book title
Category
Language
Publisher
Table name:Edition
This table is to store all the data of the books available.
Primary Key:isbn
Field Name
Isbn
Bid
Edition
Price
Qty
Sprice
Type
Varchar
Integer
Integer
Integer
Integer
integer
Length
20
10
20
20
20
Description
Isbn number
Book id
Edition
Unit price
Quantity
Sales price
Type
Integer
Integer
Integer
Varchar
Integer
Varchar
Length
20
20
Nil
20
Description
Book_id
Type
Rate
Date of purchase
Quantity of books
Isbn number
Marian
Type
Float
Varchar
Integer
Integer
integer
Varchar
Integer
Integer
Integer
Integer
Integer
Integer
Length
Nil
60
Nil
Nil
Nil
20
Nil
Nil
20
20
20
Nil
Description
Bill no
Book name
Quantity
Unit prize
Total prize
Date of sale
Serial number
Book number
Rate
Net amount
Discount
Grand total
Type
Integer
Varchar
Varchar
Varchar
Varchar
Length
Nil
20
20
50
20
Description
Bill no
Customer name
Address
Place
Contact
Marian
Field Name
Cmplid
Cmpid
Custname
Bookname
Billid
Cmpldis
Type
Varchar
Integer
varchar
Varchar
Integer
Varchar
Length
20
20
40
20
Nil
100
Description
Complaint id
Vender id
Customer name
Book title
Bill id
Complaintdescri
ption
Type
Varchar
varchar
Length
20
20
Description
User name
Password
3.1.2 Normalization
BCNF was developed by Boyce and Codd. It was designed to overcome the drawback of
Third Normal Form. Numerous normal forms have been designed, First, Second and Third
Normal Forms. Some First Normal Form relations are also in Second Normal Form, and
some Second Normal Form relations are also in Third Normal Form.
Codds original definition of Third Normal Form suffered from certain problems.
A stronger definition due to Boyce and Codd was developed to overcome these problems and
was called the BCNF. Subsequently Fagin defined a new Fourth Normal Form and more
recently another Normal Form which is called Fifth Normal Form or Projection joint Normal
Form.
With the use of different normal forms in the database design, the problem of storing
redundant data in different tables is avoided. The use of normal forms permits storage of data
only once in the database, thereby saving space and avoiding the problem of redundant data
storage.
3.2 User Interface Design
35
Marian
It involves input design and output design. Input design is the processing of converting the
user-oriented inputs into the computer based format. The input details are selected and
processed in the computer accessible from then entered. The goal of input design is to make
data entry easy and fast. The input forms are designed to enter the input data.
Output design involves preparing reports for producing a hardcopy output from a computer
based information system. Reports are also used for display information about different
details.
3.2.1 Input Design
Input Design
Input design converts user-oriented inputs to computer-based format, which requires Careful
attention. The collection of input data is the most expensive part of the system in terms of the
equipment used and the number of people involved. In input design, data is accepted for
computer processing and input to the system is done through mapping via some map
supportor links. Inaccurate input data is the most common cause of errors in data
processing.The input screens need to be designed very carefully and logically. A set of
menus is provided which help for better application navigation. While entering data in the
input forms, proper validation checks are done and messages will be generated by
the system if incorrect data has been entered.
Marian
37
Marian
4.3 SECURITY:
For data to remain secure measures must be taken to prevent unauthorized access. Security
means that data are protected from various forms of destruction. The system security problem
can be divided into four related issues: security, integrity, privacy and confidentiality. Thus
security is critical in system development. The amount of protection depends on the
sensitivity of the data, the reliability of the user and the complexity of the system. The
motives behind security are to keep the organization running protect data as an asset and seek
management support for more installations.
Marian
5.1.2 Comments:
The symbol (') tells the Visual Basic compiler to ignore the text following it, or the comment.
Comments are brief explanatory notes added to code for the benefit of those reading it.
It is good programming practice to begin all procedures with a brief comment describing the
functional characteristics of the procedure (what it does). This is for your own benefit and the
benefit of anyone else who examines the code. You should separate the implementation
details (how the procedure does it) from comments that describe the functional
characteristics. When you include implementation details in the description, remember to
update them when you update the function
Start comment text with an uppercase letter, and end comment text with a period.
Insert one space between the comment delimiter (') and the comment text.
5.2 TESTING:
5.2.1 Walkthroughs and Inspections:
An approach that doesnt make use of a computer at all in trying to eradicate faults in a
program is called inspection or a walkthrough.
A walk through is an evaluation process which is an informal meeting, which does not require
preparation. The product is described by the produced and queries for the comments of
participants. The results are the information to the participants about the product instead of
correcting it.
Inspection is deserving method with careful consideration of an organization, which concerns
about the quality of the product. The process is being done by the quality control department.
Inspection is a disciplined practice for correcting defects in software artefacts.
5.2.2 Unit Testing:
39
Marian
In computer programming, a unit test is a procedure used to validate that particular module of
source code is working properly. The procedure is to write test cases for all functions and
methods so that whenever a change causes a regression, it can be quickly identified and fixed.
Ideally, each test case is separated from the others; construct such a mock objects can assist in
separating unit tests. This type of testing is mostly done by the developers and not by endusers. Unit testing is testing changes made in existing or new program. Unit test cases
embody characteristics that are critical to the success of the unit.
5.2.3. Validation Testing:
Validation is the process of determining if the system complies with the requirements and
performs functions for which it is intended and meets the organizations goals and user needs.
It is a High level activity. Validation is done at the end of the development process and takes
place after verifications are completed. Validation Testing ensures that the product actually
meets the client's needs. It can also be defined as to demonstrate that the product fulfils its
intended use when deployed on appropriate environment
6. IMPLEMENTATION:
Proper implementation is necessary for reliable system to meet organization requirements.
The process of putting the developed system into actual use is called as system
implementation. The most crucial stage is achieving a new successful system and giving
confidence to user that it will work efficiently and effectively. It involves careful planning,
investigation of needs and its constraints on implementation and design of methods to
achieve changeover.
Book shop automation system was implemented over Visual Basic and SQL. All the
applications were working well when run with dummy data. All the transactions were faster
than manual system and we overcame most of the constraints of existing system.
7. SUMMARY
40
Marian
7.1 CONCLUSION
In this project, first an attempt has been made to find the need for the system. To fulfill the
needs, a detailed study has been designed in such a way that the system is user friendly and
easy to use. This particular system has been designed in an attractive manner, so that even a
user with minimum knowledge can be able to operate the system easily.
The system is developed with scalability in mind. All modules in this have been tested
separately and put together to form the system. Finally the system is tested with real data and
everything work successfully. Thus the system has fulfilled all the objectives identified and is
able to replace the existing manual system.
The advantage of this system is that, the package can be easily being incorporated with any
other package. In future the package can be developed further to act as virtual manager caring
out all the operation.
7.2 FORESSEEABLE ENHANCEMENT
In future, this system can be implemented in web. The main advantage is that the
administrator of the system can easily purchase, sale and update books.
The system has been developed as versatile and user friendly as possible keeping in mind the
advanced features in this technology. The System provides flexibility for incorporating new
features, which may be necessary in the future. The software now designed can be modified
for more complex applications using visual basic and SQL Server.
8. BIBILIOGRAPHY
1. Elements of System Analysis and Design, Marvin Gore, 4th edition, Tata McGraw-Hill
publication, 1993.
2. www.systemdesign.com
3. System Analysis and Design, Elias M.Awad
41
Marian
42
Marian
Home page
43
Marian
SEARCH
44
Marian
Search by price
Search by author
45
Marian
Search by language
46
Marian
Sales
Bill
47
Marian
Stock Summary
48
Marian
Reports
49
Marian
Sales report
50
Marian
Complaint
Complaint report
51
Marian
52
Marian