You are on page 1of 12

OF

BOOK STORE AUTOMATION SYSTEM

Submitted in the partial fulfillment of the Degree of Bachelor of Technology


(Integrated)
In
Computer Science and Engineering

SUBMITTED BY:- GUIDED BY:


Name-ANUBHA GOYAL Miss Sukhdilpreet
Kaur
Regd. No-10802295
Rollno-R246B49

SUBMITTED TO
Department of Computer Science and Engineering Lovely Professional University
Phagwara

ACKNOWLEDGEMENT

I take this opportunity to present my votes of thanks to all those guidepost who really
acted as lightening pillars to enlighten our way throughout this project that has led to
successful and satisfactory completion of this study.
We are really grateful to our HOD Mr. Rohit Dhand for providing us with an
opportunity to undertake this project in this university and providing us with all the
facilities. We are highly thankful to Miss Sukhdilpreet Kaur for her active support,
valuable time and advice, whole-hearted guidance, sincere cooperation and pains-
taking involvement during the study and in completing the assignment of preparing
the said project within the time stipulated.
Lastly, We are thankful to all those, particularly the various friends , who have been
instrumental in creating proper, healthy and conductive environment and including
new and fresh innovative ideas for us during the project, their help, it would have
been extremely difficult for us to prepare the project in a time bound framework.

Name-ANUBHA GOYAL
Regd.No-10802295
Rollno-R246B49

TABLE OF CONTENTS

5 Introduction
6 Proposed system
7 Description
ii. System requirements
8 Requirement Analysis
9 System Design
10 Source code
11 Testing
12 Future scope of project

INTRODUCTION
In the existing system, most of the records are maintained on paper. It becomes very
inconvenient to modify the data. In the existing system, here is a possibility that the same
data in different registers may have different values which means the entries of the same
data do not match. This inconsistent state does not supply the concrete information which
poses a problem in the case information related to particular search record.
Our project is very useful. User is no longer required to check his register in search of
records, as now it can be searched over the software by choosing some options. The user
need not to type in most of the information. He/she is just required to enter the desired
options. On the whole it liberates the user from keeping lengthy manual records. In a
nutshell, it abates the work load of an organization.
In today’s world, no one likes to perform calculations on calculator or manually when
computer is there. Every one wants his/her work to be done by computer automatically
and displaying the result for further manipulations.
A book shop uses a personal computer to maintain the inventory of books that are being
sold at the shop. The list includes details such as author, title, price, publisher, stock
position,etc. Whenever a customer wants a book, the shopkeeper inputs the title and
author of the book and the system replies whether it is in the list or not. If it is not, an
appropriate message s displayed. If book is in the list, then the system displays the book
details and asks for number of copies. If the requested copies are available the, total cost
of the books is displayed; otherwise the message “Required copies not in stock” is
displayed.
PROPOSED SYSTEM

The following documentation is a project the “Book store automation system”. It is a


detailed summary of all the drawbacks of the old system and how the new proposed
system overcomes these shortcomings. The new system takes into account the various
factors while designing a new system. It keeps into the account the Economical
bandwidth available for the new system. The foremost thing that is taken care of is the
Need and Requirements of the User.

DESCRIPTION
Before developing software we keep following things in mind that we can develop
powerful and quality software
PROBLEM STATEMENT
13 Problem statement was to design a module:
14 Which is user friendly
15 Which will restrict the user from accessing other user’s data.
16 Which will help user in viewing his data and privileges.
17 Which will help the administrator to handle all the changes.
FUNCTIONS TO BE PROVIDED:
The system will be user friendly and completely menu driven so that the users shall have
no problem in using all options.
18 The system will be efficient and fast in response.
19 The system will be customized according to needs.
20 Name of title

21 Name of author

SYSTEM REQUIRMENTS
Operating system: MS Windows XP or Windows Vista
Language: C Language
Processor: Pentium IV Processor
RAM: 512 MB
Hard disk: 5 GB
REQUIREMENT ANALYSIS

This process is adopted when management of the system development, Personnel decide
that the particular system needs improvement. The system development life cycle is the
set of activities, carried out by the analyst, designers and users to develop and implement
a system. The systems that are present in the nature follow common life cycle pattern.
For example consider the raining system. Initially the rain falls into the river, river flows
into sea, the sea water evaporates to form vapors, the vapors form clouds which again
bring rain. Similarly consider a man made system initially a system is analyzed, designed
and made operational by the efforts of system analysis. After successful operation or a
number of users, the system becomes less and less effective by change in the
environment. So these changes have to be incorporated in to the system by minor
modifications. So the general activities from the life cycle of the system are given below:
22 Select ion and identification of the system to be studied
23 Preliminary study
24 Defining the system
25 Design and development of the system
26 Implementation of the system
SYSTEM DESIGN

Then we began with the design phase of the system. System design is a solution, a “HOW
TO” approach to the creation of a new system. It translates system requirements into
ways by which they can be made operational. It is a translational from a user oriented
document to a document oriented programmers. For that, it provides the understanding
and procedural details necessary for the implementation. Here we use Flowchart to
supplement the working of the new system. The system thus made should be reliable,
durable and above all should have least possible maintenance costs. It should overcome
all the drawbacks of the Old existing system and most important of all meet the user
requirements.
SOURCE CODE

#include<stdio.h>
#include<conio.h>
#include<string.h>
struct record
{
char author[20];
char title[30];
float price;
struct
{
char month[10];
int year;
}
date;
char publisher[10];
int quantity;
};
int look_up(struct record table[],char s1[],char s2[],int m);
void get(char string [ ]);
main()
{
char title[30],author[20];
int index,no_of_records;
char response[10], quantity[10];
struct record book[]= {
{ "Ritche","C language",45.00,"May",1977,"PHI",10},
{ "Kotchan","Programming in
C",75.50,"July",1983,"Hayden",5},
{ "Balagurusamy","BASIC",30.00,"January",1984,"TMH",0},
{ "Balagurusamy","COBOL",60.00,"December",1988,"Macmil
lan",25}
};
no_of_records=sizeof(book)/sizeof(struct record);
do
{
printf("Enter title and author name as per the list\n");
printf("\n Title:");
get(title);
printf("Author:");
get(author);
index=look_up(book,title,author,no_of_records);
if(index!=-1)
{
printf("\n %s %s %.2f %s %d %s\n\n",
book[index].author,
book[index].title,
book [index].price,
book[index].date.month,
book[index].date.year,
book[index].publisher);
printf("Enter number of copies");
get(quantity);
if(atoi(quantity) < book[index].quantity)
printf("cost of %d copies=%.2f\n",atoi(quantity),
book[index].price*atoi(quantity));
else
printf("\n required copies not in stock\n\n");
}
else
printf("\n Book not in list \n\n");
printf("\n Do you want any other book?(YES/NO):");
get(response);
}
while(response[0]=='Y'|| response[0]=='y');
printf("\n\nthank you.good bye!\n");
}
void get(char string [])
{
char c;
int i=0;
do
{
c=getchar();
string[i++]=c;
}
while(c !='\n');
string[i-1]='\0';
}
int look_up(struct record table[],char s1[],char s2[],int m)
{
int i;
for(i=0;i<m;i++)
if(strcmp(s1,table[i].title)==0 &&
strcmp(s2,table[i].author)==0)
return(i);
return(-1);

}
TESTING

Testing is the major control measure used during software development. Its basic
function is to detect errors in the software. During requirement analysis and design, the
output is a document that is usually textual and no executable. After the coding phase,
computer programs are available that can be executed for testing purpose. This implies
that testing not only, has to uncover errors introduced during coding, but also errors
introduced during previous phase. Thus the goal of testing is to uncover the requirements,
design and coding errors in the programs. So after testing the outputs of my project are as
follows:

Enter title and author name as per the list

Title:BASIC
Author:Balagurusamy

Balagurusamy BASIC 30.00 January 1984 TMH

Enter number of copiesan


FUTURE SCOPE OF THE PROJECT

Our project will be able to implement in future after making some changes and
modifications as we make our project at a very low level. So the modifications that can
be done in our project are:
The future scope of the book store automation system is that if the book storer uses this
program for their work then it will consume less time.

You might also like