P. 1


|Views: 96|Likes:
Published by Gaurab Das

More info:

Published by: Gaurab Das on Apr 09, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less







Submitted in the partial fulfillment of the Degree of Bachelor of Technology (Integrated) In Computer Science and Engineering

SUBMITTED BY:Name-ANUBHA GOYAL Regd. No-10802295 Rollno-R246B49

GUIDED BY: Miss Sukhdilpreet Kaur

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

it would have been extremely difficult for us to prepare the project in a time bound framework. who have been instrumental in creating proper. valuable time and advice. sincere cooperation and painstaking involvement during the study and in completing the assignment of preparing the said project within the time stipulated.No-10802295 Rollno-R246B49 . 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. healthy and conductive environment and including new and fresh innovative ideas for us during the project. whole-hearted guidance. their help. We are highly thankful to Miss Sukhdilpreet Kaur for her active support. We are thankful to all those. particularly the various friends . Lastly. Name-ANUBHA GOYAL Regd.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.

Introduction Proposed system i. 2. Description ii. Requirement Analysis 4.TABLE OF CONTENTS 1. Testing 7. System requirements 3. System Design 5. Source code 6. Future scope of project .

The user need not to type in most of the information. the shopkeeper inputs the title and author of the book and the system replies whether it is in the list or not. as now it can be searched over the software by choosing some options. it abates the work load of an organization. This inconsistent state does not supply the concrete information which poses a problem in the case information related to particular search record. publisher. price. On the whole it liberates the user from keeping lengthy manual records. 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. an appropriate message s displayed. Our project is very useful. In the existing system. 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. If it is not. User is no longer required to check his register in search of records. A book shop uses a personal computer to maintain the inventory of books that are being sold at the shop. In a nutshell. most of the records are maintained on paper. If the requested copies are available the. then the system displays the book details and asks for number of copies. It becomes very inconvenient to modify the data. . He/she is just required to enter the desired options. otherwise the message “Required copies not in stock” is displayed.INTRODUCTION In the existing system. In today’s world. If book is in the list. stock position.etc. total cost of the books is displayed. Whenever a customer wants a book. The list includes details such as author. title.

o The system will be customized according to needs. o Which will help the administrator to handle all the changes.PROPOSED SYSTEM The following documentation is a project the “Book store automation system”. It keeps into the account the Economical bandwidth available for the new system. It is a detailed summary of all the drawbacks of the old system and how the new proposed system overcomes these shortcomings. o The system will be efficient and fast in response. DESCRIPTION Before developing software we keep following things in mind that we can develop powerful and quality software PROBLEM STATEMENT o Problem statement was to design a module: o Which is user friendly o Which will restrict the user from accessing other user’s data. 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. o Which will help user in viewing his data and privileges. The foremost thing that is taken care of is the Need and Requirements of the User. o Name of title o 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 . The new system takes into account the various factors while designing a new system.

After successful operation or a number of users. The system development life cycle is the set of activities.REQUIREMENT ANALYSIS This process is adopted when management of the system development. the vapors form clouds which again bring rain. the system becomes less and less effective by change in the environment. designers and users to develop and implement a system. carried out by the analyst. river flows into sea. So these changes have to be incorporated in to the system by minor modifications. the sea water evaporates to form vapors. The systems that are present in the nature follow common life cycle pattern. So the general activities from the life cycle of the system are given below: • Select ion and identification of the system to be studied • Preliminary study • Defining the system • Design and development of the system • Implementation of the system . Initially the rain falls into the river. Personnel decide that the particular system needs improvement. Similarly consider a man made system initially a system is analyzed. designed and made operational by the efforts of system analysis. For example consider the raining 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 provides the understanding and procedural details necessary for the implementation. For that. It is a translational from a user oriented document to a document oriented programmers. START Welcome to Book store automation system Enter your choice ? Author Title No of books Exit Do you want to continue? STOP .SYSTEM DESIGN Then we began with the design phase of the 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. Here we use Flowchart to supplement the working of the new system.

00.char s2[].10}.50.no_of_records. char title[30]. } date. main() { char title[30]."PHI".5}.author[20]. int index."January". void get(char string [ ]). float price. }.45. struct record book[]= { { "Ritche".1984. .int m).75.1983. quantity[10]."TMH"."C language".00.SOURCE CODE #include<stdio."Programming in C". struct { char month[10].h> #include<conio. { "Kotchan"."Hayden".char s1[]. int year. char response[10]. { "Balagurusamy". int quantity.h> struct record { char author[20]."May".30. char publisher[10].0}. int look_up(struct record table[].1977."July"."BASIC".h> #include<string.

printf("\n Title:"). book[index]. book[index]. else printf("\n required copies not in stock\n\n"). book[index].00. book[index].60. book[index]. get(response).1988.quantity) printf("cost of %d copies=%. if(atoi(quantity) < book[index]."Macmil lan".title. get(quantity). printf("Enter number of copies").title.no_of_records).25} }.author. if(index!=-1) { printf("\n %s %s %.atoi(quantity).publisher).date. } else printf("\n Book not in list \n\n"). do { printf("Enter title and author name as per the list\n").author."December"."COBOL".price. index=look_up(book. printf("\n Do you want any other book?(YES/NO):"). printf("Author:"). no_of_records=sizeof(book)/sizeof(struct record). } .date.2f\n". book [index].price*atoi(quantity)).2f %s %d %s\n\n".month. get(title).year.{ "Balagurusamy". book[index]. get(author).

} while(c !='\n'). } .char s2[]. } void get(char string []) { char c.int m) { int i. do { c=getchar().title)==0 && strcmp(s2.table[i].while(response[0]=='Y'|| response[0]=='y'). string[i++]=c. } int look_up(struct record table[].good bye!\n"). string[i-1]='\0'. printf("\n\nthank you.table[i]. return(-1).author)==0) return(i).i<m.i++) if(strcmp(s1.char s1[]. int i=0. for(i=0.

but also errors introduced during previous phase. Its basic function is to detect errors in the software. design and coding errors in the programs. computer programs are available that can be executed for testing purpose.00 January 1984 TMH Enter number of copiesan . the output is a document that is usually textual and no executable. After the coding phase. 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. has to uncover errors introduced during coding. This implies that testing not only.TESTING Testing is the major control measure used during software development. During requirement analysis and design. Thus the goal of testing is to uncover the requirements.

.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're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->