Você está na página 1de 52

BOOK SHOP AUTOMATION SYSTEM

Project report Submitted in partial fulfilment of the requirement


For the award of the degree of

Bachelor of Computer Applications


To
Mahatma Gandhi University, Kottayam
Guided by
SANTO CHERIAN
Submitted by

1. ANAND S 130021070031
2. MATHEW THOMAS T 130021070068

Department of Computer Application (UG)


Marian College Kuttikkanam
November 2015

Book Shop Automation System

DECLARATION

We, ANAND S (130021070031) and MATHEW THOMAS T (130021070068) certify that


the Minor project titled BOOK SHOP AUTOMATION SYSTEM is done by us and it
is an authentic work carried by us at Marian College Kuttikkanam. The matter
embodied in this project work has not been submitted earlier for the award of any
degree or diploma to the best of our knowledge and belief.

Signature of the students:

1. ANAND S
2. MATHEW THOMAS T

Date:

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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.

Signature of the guide:

Name of the guide:

Signature of the HOD:

Department Seal:

Internal Exam Date:

Signature of the Internal


Examiner

External Exam Date:

Signature of the External


Examiner

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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.

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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

3.1 Database Design........................................................................................

32

3.1.2 Normalization.

36

3.2 User Interface Design.................................................................................

36

3.2.1 Input Design..................................................................................

37

3.2.2 Output Design................................................................................

38

4. System Design-Detailed .................................................................................

39

4.1 Introduction..

39

4.2 Exception Handling..

39

4.3 Security....

39

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

5. Coding Testing and Implementation................................................................

40

5.1 Coding

40

6.1.1 Naming Conventions

40

6.1.2 Comments.

40

5.2 Testing

40

5.2.1 Walkthroughs and Inspections.

40

5.2.2 Unit Testing..

41

5.2.3 Validation Testing

41

6. Implementation..

41

7. Summary ..........................................................................................

42

7.1 Conclusion....................................................................................................

42

7.2 Foreseeable Enhancement...........................................................................

42

8. Bibliography.........................................................................................................

43

9. Appendix D -

44

Sample Screens...

1. INTRODUCTION
7

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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

ABOUT THE ORGANIZATION


The organization selected for the project is a bookshop (Shas Book shop Mundakayam).
Through this project BOOKSHOP AUTOMATION SYTEM we are planning to automate
the different aspects of a bookshop where all works are currently done manually. In the
bookshop, Administrator is the head of bookshop and he administrates all the operations of
the bookshop.

ABOUT THE PROJECT


8

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

The project aims at the computerized functioning of Shas Bookshop


Mundakayam the advantages of computerization are, it reduces the
workload, avoid errors involved in keeping records like stock details, book
details, sales details, customer details etc... The system is expected to be
easier for usage and other operational independency. It is an application
to keep all record related to book shop.
Visual basic 6.0 is used as the development tool and Microsoft SQL server
Management Studio as data base

2. SYSTEM STUDY AND ANALYSIS

2.1. Existing System


In order to elicit the requirements of the system and to identify the elements, inputs,
outputs, subsystems and procedures, the existing system was to be analyzed and examined in
details. This constitutes the system study. The existing system is analyzed by the complete cooperation of the staff of the agency. In the existing system all the data processing are done
manually. What is done in the project is the computerization of the manual system, which is
prevailing.
Limitation of existing system
Time delay
Manual work is time consuming. Service details will not get update with respect to
time. As data entry process is done manually, a lot of time and effort is needed for
proper functioning of the system.
Inaccuracy
Since there is a large volume of data, and human does all the calculations stand
alone, they are prone to errors.
Updation
Current updating of the records is not possible with the existing manual system.
Storage
9

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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.

To solve the above issues we go for our new proposed system


2.2. Proposed system
The goal of the system is to bring down the work load with the increased efficiency and to
speed up the activities. The BOOKSHOP AUTOMATION SYSTEM is a software
application which avoids manual effort needed in record keeping and generating reports.
Maintaining of book details is complex in manual system. This all have to be maintained in
ledgers or books.

Easy search of book in the book shop.

Avoid the manual work.

Advantages of proposed system-an overview


High Speed
The proposed system is very fast in processing the information. Since retrieving and
storing of information is fast, the speed is also high.
Accuracy
Since all the transactions are done by the software it is less error-prone, leading to
high accuracy.
Timeliness
The proposed system takes less time so that more retrieval of information can be
made easier. The reports can be produced with less time consumption.
10

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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.

2.3.4.0 Processing Environments


2.3.4.1 Hardware Requirement
Hardware is a set of physical components, which performs the functions of applying
appropriate, predefined instructions. In other words, one can say that electronic and
mechanical parts of computer constitute hardware
This package is designed on a powerful programming language Visual Basic. It is a Powerful
Graphical User Interface. The backend is Access, which is used to maintain database. It can
run on almost all the microcomputers.

HARDWARE
Processor

: Intel Pentium 3 or higher

Memory

: 512 MB or above

Cache Memory

: 512 KB or above

Hard Disk

: 10.2 GB or above

Keyboard

CD Drive

: Any CD/DVD Drive

Monitor

: VGA

Standard keyboard with 104 keys

Mouse

: A PS2/USB mouse

Display Adaptor

: Super VGA

Printer

: Dot Matrix/Inkjet/Laser

12

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

2.3.4.2 Software requirements


A major element in building systems in compatible software .The system analyst has to
determine what software package is best for the candidate system. It begins with
requirements Analysis, followed by a request for proposal and vendor evaluation.
Purpose
There are several factors to consider prior to the proposed system:

Cost reduction: It includes reduction of savings on space and improved ability.


Improved efficiency: It emphasizes quick availability of information and improved

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

: Windows XP, Windows 7, Windows 8 or 8.1

Front End

: Microsoft Visual Basic 6.0

Back End

: MS-SQL-Server

2.4 Feasibility Analysis


13

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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.

What are the needs of the user?


How the candidate systems meet the needs?
Whether the problem is worth solving?
What are the resources available?
How the system works in the proposed organization?

2.4.1 Economic Feasibility


Economic analysis is the most frequently used method for evaluating the effectiveness of a
candidate system. The procedure is to determine the benefits and savings that are accepted
from a candidate system and compare them with cost. If benefits outweigh costs then the
decision is made to design and implement the system. The proposed system is more economic
than the existing system, since it uses GUI that reduces the operating time of the system and
also it is interactive and user-friendly, so the chance of error is low and cost needed to correct
the error is reduced.
In the new system the expense is only at the time of initial installation and hence
the proposed system is considered to be economically feasible, it also reduces the amount
spend on buying papers and other stationary items and also it reduces the manual work. So
the proposed system is supposed to be economically feasible.

2.4.2 Technical Feasibility


This is a study of resource availability that may affect the ability to achieve an acceptable
System. This evaluation determines whether the technology needed for the proposed System
is available or not.
Can the work for the project be done with current equipment, existing software, Technology
and available personal?
14

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

Can the system be upgraded if developed?


If new technology is needed then what can be developed?
This is concerned with specifying equipment and software that will successfully satisfy the
user requirement. The technical needs of the system may include:
Front-end and back-end selection
An important issue for the development of a project is the selection of suitable front-end and
back-end. When we decided to develop the project we went through an extensive study to
determine the most suitable platform that suits the needs of the organization as well as helps
in development of the project.
The aspects of our study included the following factors.
Front-end selection:
1. It must have a graphical user interface that assists users that are not from IT Background.
2. Scalability and extensibility.
3. Flexibility.
4. Robustness.
5. Platform independent.
6. Easy to debug and maintain.
7. Event driven programming facility.
8. Front end must support some popular back end like SQL or MS Access
According to the above stated features we selected VB6.0 as the front-end for developing our
project.
Back-end Selection:
15

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

1. Multiple user support.


2. Efficient data handling.
3. Provide inherent features for security.

4. Efficient data retrieval and maintenance.


5. Stored procedures.
6. Operating System compatible.
7. Easy to install.
8. Easy to implant with the Front-end.
According to above stated features we selected SQL as the backend. The technical feasibility
is frequently the most difficult area encountered at this stage. It is essential that the process of
analysis and definition be conducted in parallel with an assessment to technical feasibility. It
centers on the existing computer system (Hardware, software etc.)And to what extent it can
support the proposed system.
2.4.3 Operational feasibility
The system must be operationally feasible so that End users can operate it easily. It only
needs basic information about Windows platform. The proposed system is user friendly and
easy to use, the workload is reduced and efficiency is improved. In this automation, Librarian
is the administrator and others can only use the system if he permits. We can enter a user id
either by just pressing a button. This improves the easiness of the system used .Since the
software used is so simple; chance of technical assistance is also rare.

2.5 Programming Languages and development tools

16

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

Microsoft Visual Basic


As the name implies, programming with VB is accomplished virtually. While writing the
program you are able to see how your program will look during run time. This is the great
advantage over other programming language. You are able to change and experiment with
your design until you are satisfied with features like colour, size, images that are included in
the program. Visual Basic is an ideal programming language for developing sophisticated
professional application for Microsoft Windows. It makes use of graphical user interface for
creating robust and powerful application. Features such as easier comprehension, user
friendliness, and faster application development and may other aspects such as introducing
Active X technology and internal features make Visual Basic environment makes it easy to
perform the basic takes necessary to create Windows Application.
Its features include:
Event-driven programming language.
Power tools to create windows based applications.
Tools to create application with graphical user interface for creating

Robust and Powerful applications.


Supports procedural and event driven programming application.
Greater flexibility on accessing RDBMS.
Easier to comprehend things in a quicker and easier way.
Faster application development.
Provides Integrated Development Environment.
Programming control of cursor.
Ability to set multiple results set from a single query.
Flexibility to work with existing database technology.
Excellent error trapping.

Visual Basic Edition


Visual basic is available in three versions each geared to meet a specific set of
development requirements. The visual basic learning edition allows programmers to
easily create powerful application. The professional edition provides computer
professionals with a full-featured set of tools for developing solution for other. The
enterprise edition allows professional to create robust distributed application in team
setting it includes all the features of the professional edition, plus the automation
manager, component manager database.
17

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

Provide access to every available VB commands.


Toolbar:
Display icons that represent most commonly used VB commands.
Toolbox:
Display the type of object that can be drawn on a form.
Project Explorer:
List all the file that make up a single VB program.
Properties Window:
Display the properties of the currently selected form or object.
Form Layout Window:
Enable us to arrange the location where our forms appear on the screen
Form:
Provides a window where we can draw object to design our programs user interface.
Immediate Window:
Enable us to debug our VB programs.
Microsoft SQL Server:
The SQL language may be considered as one of the major reason for the commercial success
of relational database. It became a standard for relational database. Users were less concerned
about migrating their database application from other types of data base systems. SQL is a
comprehensive database language. It has statement for data definitions, queries, and
update .Hence it is both DDL and DML. In addition it has facilities for defining views on the

20

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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:

SELECT -extract data from a database table


UPDATE -Update data in a database table.
DELETE -delete data from a database table.
INSERT INTO insert row data into a database table.

SQL Data Definition Language (DML)


The Data Definition Language part of SQL permits database tables to be created or deleted.
We can also define indexes, specify links between tables, and impose constraints between
database tables. The most important DDL statements in SQL are:

21

CREATE TABLE create a new database table.


ALTER TABLE -alter a database table.
DROP TABLE
delete a database table.
CREATE INDEX -create an index.
DROP INDEX
-drop an index.
Department of Computer Applications|
College Kuttikkanam

Marian

Book Shop Automation System

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.

Operating system used

22

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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.

2. An arrow identifies data flow or data in motion. It is a pipeline through which


information flows.

3. A circle or a bubble represents a process that transforms incoming data flows into
outgoing data flows.

23

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

4. An open rectangle is a data source or data at rest or a temporary storage of data


constructing the DFD.

Several rules used in drawing DFDs:


1. Process should be named and numbered for easy reference.
2. The direction of flow is from top to bottom and from left to right. Data traditionally
flow from source to destination, although they may flow back to source.
3. When a process is exploded into lower details, they are numbered.
4. The names of dta stores, sources and destination are written in capital letters. Process
and data flow names have the first letter of each word capital.

DFD
CONTEX DIAGRAM

24

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

DFD Level 1

DFD Level 2

25

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

26

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

DFD Level 3

27

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

DFD Level 4

28

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

2.6.2 Data Dictionary


Process
1.Login

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

Administrator can enter the complaints

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

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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.

Basic design Approach


The basic phase focuses on the detailed implementation of the system recommended in the
feasibility study. Emphasis is on translating performance specifications into design
specifications. The design phase is a transition from a user-oriented to the programmers or
database personnel.
System design goes through two phases of development.
30

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

Logical

Physical

Logical design covers the following:


1.

Review the current physical system.

2.

Prepare output and input specifications.

3.

Prepare edit, security, and control specifications.

4.

Specifies the implementation plan.

5.

Review benefits, costs, target dates, and system constraints.

Physical design covers the following:


1.

Design the physical system.

2.

Specify input/output media.


Design the database and specify backup procedure.
Plan system implementation

Prepare a conversion schedule and target date.

Determine training procedure, courses, and timetable.

3.

Devise a test and implementation plan and specify any new hardware and software.

4.

Update benefits, costs, and conversion date and system constraints.

31

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

3.1 Database Design


Personal computers provide an excellent tool for storing information in the database. It is
relational DB. Instead of relying on stops of papers, memory is used information in SQL
server.
SQL server is the powerful management system and the user can create entire application that
requires programming. The SQL server can act as back end database for VB in our project.
3.1.1Table design
Design of the file is very important factor in the system. While designing files we have to
avoid data redundancy but the same time all required data should be considered while the
designing database.

Use the singular forms of table and column name.


Select the proper data types for each column.
Use descriptive names for tables, columns and indexes.

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.

Table Name: COMPANY


This table is to store all the data about the companies.
Primary Key: cmpid
Field Name
Cmpid
Cname
Place
Contact
Table Name: BOOK
32

Type
Integer
Varchar
Varchar
Varchar

Length
20
20
20

Department of Computer Applications|


College Kuttikkanam

Description
Vender id
Vender name
Vender place
Contact number

Marian

Book Shop Automation System

This table is to store all the data of the books available.


Primary Key: bid
Field Name
Bid
Cmpid
Booktitle
Category
Lang
Publisher

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

Table name: STOCK


This table is to store the purchase details.
Primary key: Bid
Field Name
Bid
Type
Rate
Date
Qty
Isbn

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

Table name: SALES


33

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

This table is to store all the sales details.


Primary key: Billno
Field Name
Billno
Bname
Quantity
Unit
Total
Date
Slno
Bid
Rate
Net
Dis
Grand

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

Table Name: CUSTOMER


This table is to store the bill details given to customer.
Primary Key: cid
Field Name
Billid
Cname
Custaddr
Custplace
Custcont

Type
Integer
Varchar
Varchar
Varchar
Varchar

Length
Nil
20
20
50
20

Description
Bill no
Customer name
Address
Place
Contact

Table Name: COMPLAINT


This table is to store all the complaint details.
Primary key: Cmplid
34

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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

Table Name: LOGIN


This table is to store Login details
Field Name
Uname
Pwrd

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

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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.

3.2.2 Input pages


The software Book shop automation system consists of following inputs:
Welcome Form
This form is the entrance form
Login Form
This form is used for Admin .admin is allowed to sign in using his username and
password for the good running of the system.
User Creation Form
36

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

This form is used by the user to create new account.


Admin activities
This form is used by the Administrator perform different operations for the user.
Search
This form is used by the user for search for search whether a book is available or not
and details about the books
Search by id
Search the available books in the book shop by their id provided by the book shop
Search by title
This form is used by the admin to search the information about the books by title.
Search by author
This form is used by the admin to search the information about the books by author.
Search by isbn
This form is used by the admin to search the information about the books by isbn number.
Complaint
Reporting the complaints about the books and return it back to the company.

3.2.3 Output Design: Reports


Purchase report
Sales Report
Available Books Report
Complaint Report
Stock Report

4. SYSTEM DESIGN DETAILED


4.1 INTRODUCTION:
System design can be defined as the process of developing specifications for a system that
meets the criteria established in system analysis. A major step in system design is the
preparation of input and the design of output reports in a form acceptable to the user. Input
design is the process of converting user originated inputs to a computer- based format.
4.2 EXCEPTION HANDLING:
Almost all error handling routines in Visual Basic programs follow three steps
1. Trap the error and redirect program flow to the error handler

37

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

2. Handle the error


3. Direct the program flow out of the error handler back to the main body.
The VBA engine is constantly looking for problems and immediately notifies it and handles it
when something unexpected happens. Visual basic normally handles most errors. After an
error occurs, the VBA engines normal operation is suspended. Normal execution is directed
to the error handler and further error trapping within the error handler is inactive. After the
error has been managed by the code, the program flow is redirected to another location within
the procedure.

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.

5. CODING TESTING AND IMPLEMENTATION


5.1 CODING:
5.1.1 Naming Conventions:
In computer programming, a naming convention is a set of rules for choosing the character
sequence to be used for identifiers which denote variable types, functions and other entities in
source code and documentation.
38

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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

Put comments on a separate line instead of at the end of a line of code.

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

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

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

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

4. Guide to VisualBasic6.0, Peter Norton and Michael Groh, Techmedia Sams


publication, 1998

9. APPENDIX SAMPLE SCREEN SHOTS


Login page

42

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

Home page

Adding New Book

43

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

SEARCH
44

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

Search by price

Search by author

45

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

Search by language

Search by book number

46

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

Sales

Bill

47

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

Stock Summary

48

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

Reports

49

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

Sales report

50

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

Complaint

Complaint report

51

Department of Computer Applications|


College Kuttikkanam

Marian

Book Shop Automation System

52

Department of Computer Applications|


College Kuttikkanam

Marian

Você também pode gostar