Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Library Information Management System: Design and Implementation, Study Guides, Projects, Research of Java Programming

it is used to store information of library books and students using it.

Typology: Study Guides, Projects, Research

2017/2018

Uploaded on 10/10/2018

anjani30646
anjani30646 🇮🇳

4.5

(2)

3 documents

1 / 31

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
PROJECT BASED LAB REPORT
On
LIBRARY INFORMATION MANAGEMENT SYSTEM
Submitted in partial fulfilment of the
Requirements for the award of the Degree of
Bachelor of Technology
In
ELECTRONICS AND COMMUNICATION ENGINEERING
BY
K.HEMANTH N.S.S.SASANK
150040410 150040602
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
K L University
Green Fields, Vaddeswaram, Guntur district-522 502
2016-2017
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f

Partial preview of the text

Download Library Information Management System: Design and Implementation and more Study Guides, Projects, Research Java Programming in PDF only on Docsity!

PROJECT BASED LAB REPORT

On

LIBRARY INFORMATION MANAGEMENT SYSTEM

Submitted in partial fulfilment of the

Requirements for the award of the Degree of

Bachelor of Technology

In

ELECTRONICS AND COMMUNICATION ENGINEERING

BY

K.HEMANTH N.S.S.SASANK

DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

K L University

Green Fields, Vaddeswaram, Guntur district-522 502

2016-

K L University

Department of Electronics & Communication Engineering

CERTIFICATE

This is to certify that the course project based lab reportentitled “ LIBRARY

INFORMATION MANAGEMEN SYSTEM” , is a bonafide work done by

K.HEMANTH(150040410), N.S.S.SASANK(150040602) partial fulfilment for the

award of degree in BACHELOR OF TECHNOLOGY in ELECTRONICS AND

COMMUNICATION ENGINEERING during the academic year 2016-2017.

Faculty In Charge Head of the Department

Smt. P.S.G. Aruna Sri(Ph.D) Dr.A.S.C.S.SASTRY

PROJECT GUIDE

Dr.K.Ravindranath

CERTIFICATE

ACKNOWLEDGEMENTS

Our sincere thanks to K.Ravindranath in the Lab for their outstanding support through out the project for the successful completion of the work.

We express our gratitude to Dr.A.S.C.S.Sastry, Head of the Department for Electronics and

communication Engineering for providing us with adequate facilities, ways and means by

which we are able to complete this project based Lab.

We would like to place on record the deep sense of gratitude to the honourable Vice

Chancellor, K L University for providing the necessary facilities to carry the project based

Lab.

Last, but not the least, we thank all Teaching and Non-Teaching Staff of our department and

especially my classmates and my friends for their support in the completion of our project

based Lab.

NAMES ID NO.S

K.HEMANTH 150040410

N.S.S.SASANK 150040602

TABLE OF CONTENTS

ACKNOWLEDEMENTS ABSTRACT 1 Introduction 1.1 What is LIBRARY INFORMATION MANAGEMENT SYSTEM 1.2 Problem Definition 1.3 Platform requirements 1.4 Software Requirements Specification 2 Analysis & Design 2.1 Analysis classes 2.2 Program Architectural Design 2.3 File Design 2.4 Input Design 2.5 Output Design 3 Source Code of the project 4 Results 5 Conclusion and Future Scope 6 Bibliography

1. Introduction

1.1 What is Management system?

The Library Information Management system is meant for maintaining information of books, borrower’s, issues and returns. It provides search facility of books, borrowers, issues and returns information. It facilitates to issue and return books in an easier way.

1.2 Problem Definition

The manual maintenance of library daily activities is very difficult. In a day there may be

hundreds or thousands of persons used to take and return the books it will take more time

for issuing and returning.

Also maintaining this data takes more time. The Library Information Management System

will facilitates the number of options like maintenance of books data, updating book data, borrowers information, updating borrower information, issuing a book ,retuning a book etc.

By this we can maintain issue and return data every day. We can maintain a file in an easier

way.

1.3 Platform Requirements

Hardware/Software Hardware / Software element Specification /version Hardware Processor Intel core to duo RAM 1 GB Hard Disk 100 GB Software OS Windows XP Java and Netbeans IDE

1.4 Software Requirements Specification

  • (^) Management of Book information
  • (^) Management of Borrower’s information
  • Book maintenance

2.Analysis & Design

2.1 Analysis classes

The software requirements specifications are analyzed and the following classes are identified

Class BookInfo

intbookNo;

String bookTitle;

String brideAuthor;

void displayRecord();

Class BorrowerRec

intregNo;

String name;

String address;

void displayRecord();

2.2 Program Architectural Design

Various Modules of Marriage Bureau system are identified and are shown

below

Serial Number Name of the Module 1 Management of Books information (^2) Management of Borrowers information (^3) Main module

details of books which are present in files, where details will be in the form of book number, book title, book author. Here we can search those details either through book number. Here in this module formatter file takes control of all the things for searching the complete details of books 1.4 To generate reports Here in generating reports we will be able to display all the details of records of books with details in the form of files. 2 Management of Borrowers information 2.1 To create Borrowers file Here we will be creating borrowers information with details like regno of borrower, name of borrower, address of borrowers. Here each and every record has to be entered manually through keyboard, where it asks the user to save how many records he need to enter. After entering those records through proper format those details which user gives can be saved 2.2 To update borrowers information

In this module we will be able to update the details of borrower through the records which are present in the form of regNo, name, and adress. Here we can search those details either through regNo. If any extra details have to be added we will update those details in place of previous details. 2.3 To search borrowers information file

In this module we will be able to search the details of borrower which are present in files, where we can search those details either through regNo. Here in this module formatter file takes control of all the things for searching the complete details of bride 2.4 To generate reports Here in generating reports we will be able to display all the details of records of borrowers with details in the form of files. 3 Management of Book issues and returns 3.1 To issue Books Read student id from keyboard and match the id with the borrowers file then store in issue file. Read book number from keyboard and match it with books record file then store in issue file as it is issued in the above reg number. Enter issue date and return date also save in issue file 3.2 To return Books Here in this module we need to maintain the returned book number ,student id number, actual return date and returned date.all the information stored in return file.

3.3 To search issues/returns file Here in this module we need to maintain we should be able to search in issue and return file by book number. 3.4 To generate reports Here in generating reports we will be able to display all the details of records of borrowers with details in the form of files. 4 Main Module 4.1 To display System Banner After all modules were integrated through files we display System Banner as LIBRARY INFORMATION MANAGEMENT SYSTEM. 4.2 To process menu Here Processing Menu can be done through switch case statement with all the modules that are present in the file 4.3 Initializations Here Initializations can be done to methods, variables as well as objects which are present in classes 4.4 To provide Security To provide Security we need to add user name and password with login credentials where user will able to access his details with valid login credentials so that he can be able to create files, search a file and display record of that file, where as in admin module the admin also has to access his entire details with username and password where he can be able to do modifications for files that are present in user module.

2.3 File Design

This system uses two files. The names of the files and the record layout are

given below

File Name

bookdata.txt

Field No. Field name Field Type Field Size

1 bookNo; Integer 8 digits

2 bookTitle; String 10 characters

3 bookAuthor; String 10 characters

File Name

borrowerinfo.txt

Field No Field name Field Type Field Size

1 regNo; Integer 8 digits

2 Name; String 10 characters

3 adress String 20 characters

bookname: ss rattan

2. brideId.: 1234

brideName: p k nag

End of List

  • For searching details of bride with its bookno the search report will be

displayed as follows

Search by bookno

enter bokno: 123

1. bookno.: 123

bookName: s s rattan

3. Source Code of the project

packagelibrarymanagementsystem;

import java.io.*;

importjava.util.*;

importjava.text.DateFormat;

importjava.util.Calendar;

importjava.text.SimpleDateFormat;

classBookInfo{

intbookNo;

String bookTitle,bookAuthor;

voiddisplayBooksRecord()

System.out.println("book no:" +bookNo);

System.out.println("book title:" +bookTitle);

System.out.println("book author" +bookAuthor);

System.out.println("\n");

classBorrowerRec{

intregNo;

String name,adress;

voiddisplayBorrowerInfo(){

System.out.println("RegNo.:"+regNo);

System.out.println("name:"+name);

System.out.println("adress:"+adress);

System.out.println("\n");

class LibraryManagementSystem

public static void main(String args[]) throws IOException

while(flag)

System.out.println("\nMENU\n");

System.out.println("1.Books Information");

System.out.println("2.Borrowers Information");

System.out.println("3.exit\n");

System.out.println("enter users option");

option=Integer.parseInt(br.readLine());

switch(option)

//MODULE1-

case 1:

System.out.println("BOOKS INFORMATION SYSTEM");

BookInfo record=new BookInfo();

first: while(true)

System.out.println("\nMENU\n");

System.out.println("1.create");

System.out.println("2.update");

System.out.println("3.search");

System.out.println("4.records");

System.out.println("5.exit\n");

System.out.println("enter users choice");

choice=Integer.parseInt(br.readLine());

switch(choice){

case 1:

//creating books data

FileWriterfout=new FileWriter("bookdata.txt");

System.out.println("how many records");

num=Integer.parseInt(br.readLine());

for(i=0;i<num;i++)

System.out.println("enter book number");

record.bookNo=Integer.parseInt(br.readLine());

System.out.println("enter book title");

record.bookTitle=br.readLine();

System.out.println("enter author name");

record.bookAuthor=br.readLine();

//write to a file

fout.write(record.bookNo+"\t");

fout.write(record.bookTitle+"\t");

fout.write(record.bookAuthor+"\t");

System.out.println("enter book title");

record.bookTitle=br.readLine();

fw.write(record.bookTitle+"\t");

System.out.println("enter author name");

record.bookAuthor=br.readLine();

fw.write(record.bookAuthor+"\t");

fw.write("EOF");

fw.close();

FileWriter fout1 = new FileWriter("bookdata.txt");

FileReader fin2=new FileReader("klu.txt");

Scanner sc2=new Scanner(fin2);

while(sc2.hasNextInt())

record.bookNo=sc2.nextInt();

fout1.write(record.bookNo+"\n");

record.bookTitle=sc2.next();

fout1.write(record.bookTitle+"\n");

record.bookAuthor=sc2.next();

fout1.write(record.bookAuthor+"\n");

fout1.write("EOF");

fout1.close();

break;

case 3:

System.out.println("enter book number");

searchBookNo=Integer.parseInt(br.readLine());

case 4:

FileReader fin=new FileReader("bookdata.txt");

Scanner sc=new Scanner(fin);

while(sc.hasNextInt())

record.bookNo=sc.nextInt();

record.bookTitle=sc.next();

record.bookAuthor=sc.next();

if(choice==4)

record.displayBooksRecord();

if(choice==3)

if(record.bookNo==searchBookNo)

record.displayBooksRecord();

str=sc.next();