You are on page 1of 18

PROGRAM IN ‘C’ FOR LIBRARY MANAGEMENT

MICRO PROJECT IN
Data Structure Using C (22317)

SUBMITTED BY
TANISHQ DHEPE (34)
PARTH HINDURAO (31)

COURSE CO-ORDINATOR
Mr. Mayur Bhosale

PROGRAMME OF COMPUTER ENGNEERING


2019-2020

DR. DY PATIL, SCHOOL OF POLYTECHNIC,


Sec-7, Nerul, Navi Mumbai 400 706.
D.Y PATIL SCHOOL OF POLYTECHNIC
Sector – 7, Nerul, Navi Mumbai-400 706

CERTIFICATE
This is to certify that

Mr. /Miss. / Mrs. __________________________________________

Class______________________________ Roll no. ______________

has completed the microproject work satisfactorily in the course of


________________________________________________________
as prescribed by the Maharashtra State Board of Technical Education
in the academic year 2019-2020 in the program of _______________

____________________________________________of the institute.

Date _____________

Teacher__________ In charge Dep. __________Principal__________


ACKNOWLEDGEMENT

I take this opportunity to express deep sense of gratitude and sincere


thanks for the invaluable guidance that I have received at the worthy
hands of Mr. Mayur Bhosale.

I express my sincere thanks to our H.O.D. Prof. Umesh Patil for


permitting me to do this project and also to the entire staff member who
have helped me directly or indirectly.

I also express my thanks to my friends for their underlying support


shown during the preparation of this project.

_______________________

DYPP, NERUL.

PROGRAM OF COMPUTER ENGINEERING

DR. D. Y. PATIL, SCHOOL OF POLYTECHNIC

VIDYANAGAR,

SEC-7, NERUL, NAVI MUMBAI-400 709


INDEX

Report (Part A)
Sr.no Topic Page no.

1
1. Aim, Description and Objective
2
2. Algorithm of the program
3-4
3. Flowchart of the program

Report (Part B)
5-7
4. C Program code of the project
8-9
5. Outputs/Snippets of project
10
6. Conclusion
11
7. References
12
8. Weekly Report
13
9. Evaluation Sheet
AIM, DESCRIPTION AND OBJECTIVE

Aim:
Program in C to create a library management system using data
structure (Queue).

Description:
This program is based on the library management system. It takes the
input from user and store it in the computer and also display the
information as an output. It is helpful to keep the record of books
suitably.

Objective:

To create a program using c programming language we use to function


take () and submit ().
If user wants to take book from library then he will choose take function
and proceed or he wants to submit book then he will choose submit
function and will proceed.
ALGORITHM OF THE PROGRAM

Step 1: Start

Step 2: Select your operation take book or submit book

Step 3: Enter the data


3.1: Enter student name
3.2: Enter the roll no
3.3: Enter book name
3.4: Enter book author
3.5: Enter the date

Step 4: Calculate the submission date of book

Step 5: Print the data


5.1: Print student name
5.2: Print the roll no
5.3: Print the book name
5.4: Print the author name
5.5: Print the date of book taken
5.6: Print the date of book submission

Step 6: Stop
FLOWCHART OF THE PROGRAM
‘C’ PROGRAM CODE OF THE PROJECT

#include<stdio.h>
#include<conio.h>
void take ();
void submit ();
void main ()
{
int c;
clrscr ();
printf ("Select your task\n1: take\n2: submit\n");
scanf ("%d”, &c);
switch(c)
{
case 1: take (); break;
case 2: submit (); break;
}
getch ();
}
void take ()
{
int s, roll, b, date;
char name, author, book;
clrscr ();
printf ("Enter your name\n");
scanf ("%s”, &name);
printf ("Enter roll no\n");
scanf ("%d”, &roll);
printf ("Enter book name\n");
scanf ("%s”, &book);
printf ("Enter author name\n");
scanf ("%s”, &author);
printf ("Enter the date of book taken\n");
scanf ("%d”, &date);
printf ("\nstudent name is %s”, name);
printf ("\nRoll no is %d”, roll);
printf ("\name of book taken is %s “, book);
printf (“\nname of author is %s”, author”);
printf ("\non date %d”, date);
b=date+7;
printf ("\nto be submitted on date %d”, b);
}
void submit ()
{
int s, roll, b, date;
char name, author, book;
clrscr ();
printf ("Enter your name\n");
scanf ("%s”, &name);
printf ("Enter roll no\n");
scanf ("%d”, &roll);
printf ("Enter book name\n");
scanf ("%s”, &book);
printf ("Enter author name\n");
scanf ("%s”, &author);
printf ("Enter the date of book taken\n");
scanf ("%d”, &date);
b=date+7;
printf ("\nstudent name %s”, name);
printf ("\nroll no %d”, roll);
printf ("\nbook name is %s”, book);
printf ("\nAuthor name is %s”, author);
printf ("\ndate of receiving is %d”, date);
printf ("date of submission is %d”, b);
}
OUTPUT
OUTPUT
CONCLUSION

We learnt & executed a c program for library management system. In


this program we create some user define functions like take () and
submit () along with some inbuild functions like clrscr () getch () and
void main (). This program is useful to manage library records more
easily. In this, user first enter the data and this data will be store and
display on the output screen.
REFERENCES

Electronic Sources:
1. https://www.geeksforgeeks.org/queue-data-structure/

2. https://cathyatseneca.gitbooks.io/data-structures-and
algorithms/content/queue/queue_operations.html

3. http://www.indiastudychannel.com/resources/140981-Queue-
Queue-operations-Queue-application.aspx
WEEKLY REPORT

Sr. Planned Planned Name of the


No Details of activity Start Finish Responsibilities
date date
1 Search is selected topic for the Tanishq
micro project
2 Discussed with group members Parth
about the micro project
3 Distributed the work Tanishq
accordingly among group
members
4 Collected and gathered the Parth
required data of micro project
5 Started working on the program Tanishq

6 Created fist code of the program Parth


and tested it
7 Debugged the program for Tanishq
several time before finalizing it
8 Discussed with teacher Parth
regarding collected data and
program code
9 Made the required changes as Tanishq
referred by the teacher
10 Edited and prepared the report Parth
copies of micro project
11 Prepared the finalised hard copy Tanishq
of report A
12 Prepared finalised hard copy of Parth
report B
13 Confirmed and reviewed the Tanishq
project material by teacher
14 shown the execution of program Parth
to teacher before submission
15 Shown project hard copy to Parth, Tanishq
teacher before submission
16 Submitted the micro project Parth, Tanishq

Name and Signature of the faculty.


MICRO-PROJECT EVALUATION SHEET (A)
Name of Student: Enrollment No.:
Name of Program: Computer Engineering. Semester: III
Course Title: Data structure using C Code: 22317

Title of the Micro-Project: Library Management.


Course Outcomes Achieved:
a. Perform basic operations on arrays.
b. Apply different searching and sorting techniques.
c. Implement basic operations on stack and queue using array representation.
d. Implement basic operations on Linked List.
e. Implement program to create and traverse tree to solve problems.

Evaluation as per suggested Rubric for Assessment of Micro Project


Sr. Characteristic to be Poor Average Good Excellent
No. assessed (Marks 1-3) (Marks 4-5) (Marks 6-8) (Marks 9-
10)
(A) Process and product assessment (convert above total marks out of 6 marks)

1 Relevance to the course

2 Literature Survey /
Information Collection
4 Completion of Target as
per project proposal
5 Analysis of Data and
representation
6 Quality of Prototype/
Model
7 Report Preparation

(B) Individual presentation/ viva (convert above total marks out of 4 marks )

8 Presentation

9 Viva

Name and signature of the faculty.


MICRO PROJECT EVALUATION SHEET (PART-B)
(A) (B) Total
marks
Process and Product Individual
(10)
Presentation/Viva
Assessment (6 marks)
(4 marks)

Comments/suggestion about teamwork/leadership/inter-personal


communication (if Any)
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________

Any other Comment:


________________________________________________________
________________________________________________________
________________________________________________________
________________________

Name of the teacher: Mr. Mayur Bhosale

Signature: _________________

You might also like