Computer Science Ip Final
Computer Science Ip Final
GUDUVANCHERY
COMPUTER SCIENCE
HOTEL MANAGEMENT SYSTEM
ACADEMIC YEAR 2025-2026
DONE BY:-
12B2
BONAFIDE CERTIFICATE
Date: ……………………..
5. CODING 17-23
9. CONCULUSION 32
10. BIBLIOGRAPHY 33
INTRODUCTION:
Libraries have always played a vital role
in the academic and intellectual development of individuals and
institutions. Traditionally, library management was handled
manually, involving handwritten registers and ledgers to record
the details of every book and every transaction. With the
growth of institutions and the increasing number of books and
users, manual methods became tedious, time-consuming, and
error-prone. There emerged a need for a digital solution to
manage libraries more efficiently. This led to the concept of a
Library Management System.
The Library Management System is a software application
developed using the Python programming language. It is
designed to help librarians and users manage the book
database digitally. The system provides features like adding
new book records, modifying existing records, searching
for specific books, deleting old or unwanted book
records, and displaying all stored books — all through a
simple and interactive console-based interface.
In today’s digital world, automation is the key to accuracy
and efficiency. A computer-based system not only reduces
manual errors but also speeds up the processes, ensures
better data security, and allows instant access to required
information. Even for small school or home libraries, this
Python-based solution can act as a mini digital library
system.
The system uses Python as the programming language and
CSV (Comma-Separated Values) files as a lightweight
database alternative. Python is a powerful and easy-to-learn
language, making it ideal for educational projects. CSV files
serve as the backend storage, storing data in a structured
and readable format.
This Library Management System project is particularly
suitable for students of Class 12 who are pursuing the CBSE
curriculum. It helps them understand file handling, data
management, and function-based programming — all core
aspects of the Computer Science syllabus. It also strengthens
problem-solving skills and gives them a glimpse into real-life
software applications.
With features like:
• menu-driven options,
• dynamic record handling,
• and interactive output,
...this project becomes a valuable learning experience for
students and a practical tool for basic library operations.
OBJECTIVES:
The primary goal of this project is to develop a
Library Management System using Python to handle day-to-day library
functions digitally. It aims to:
• Eliminate manual entry and reduce human error.
• RAM: Minimum 2 GB
Software Requirements:
• Operating System: Windows 7/10 or higher
Feasibility Study
A feasibility study helps determine whether the project is practical
and achievable with the given resources. The Library Management
System was tested for three types of feasibility:
1. Economic Feasibility
This project is cost-effective as it:
Thus, the system saves money in the long run and is viable for
educational institutions and small libraries.
2. Technical Feasibility
The system is technically feasible as:
3. Operational Feasibility
This project is easy to use and implement because:
This module allows the user to search for a book by entering its
Book ID.
If the book exists in the CSV file, its details are shown.
Otherwise, a message is displayed indicating that the book was
not found.
5. List All Books (listBooks())
This function reads all book records from the CSV file and
displays them in a tabular format.
It is useful for getting a complete view of the books currently
stored in the system.
The following are the core functions the system must support:
Minimizes paperwork
CODING:
Part 1: Importing Modules and Initial Setup
# Library Management System
# Developed using Python and CSV file handling
# By: [Your Name], Class 12
# Importing required libraries
import csv
import os
if not found:
print("No book found with the given ID.")
os.remove("Library.csv")
os.rename("temporary.csv", "Library.csv")
if found:
print(“Record Deleted.")
else:
print(" No book found with the given ID.")
if not found:
print(" No book found with the given ID.")
try:
choice = int(input("Enter your choice (1-6): "))
except ValueError:
print("Invalid input. Please enter a number from 1 to
6.")
continue
if choice == 1:
newBook()
elif choice == 2:
updateBook()
elif choice == 3:
deleteBook()
elif choice == 4:
searchBook()
elif choice == 5:
listBooks()
elif choice == 6:
print("Thank you for using the Library Management
System.")
else:
print("Please enter a valid choice.")
BookID,BookName,Author,Cost
101, The Alchemist,Paulo Coelho,299
3. Deleting a Book :
=== Delete a Book Record ===
Enter Book ID to delete: 102
Book Found:
Book ID: 102
Book Name: Brida
Author: Paulo Coelho
Cost: 320
Do you really want to delete this record? (y/n): y
✅ Record Deleted.
4. Searching for a Book :
TESTING ERRORS:
Testing is one of the most
important phases in software development. It ensures that
the program works as expected under different conditions
and helps identify issues before deployment. This section
discusses the testing process followed during the
development of the Library Management System and
highlights the types of errors encountered.
b) Runtime Errors
• These happen while the program is running, often due to
invalid input or missing files.
• Example:
c) Logical Errors
This project not only fulfilled the CBSE Class 12 Computer Science
practical requirements but also helped me build confidence in
developing real-world applications using Python. It reflects the
practical application of theoretical knowledge and encourages
further learning and innovation.
BIBLIOGRAPHY:
we have used various resources and
applications for the completion of this work some of them are
listed below:
1)chatgpt
2)google.com
3)sumita arora class 12 text book
4)geeks for greeks(for images and content)
5)good firms.com
6)https://github.com/sanojcr/Library-
Management-System-Console
7) https://www.geeksforgeeks.org/e-library-
management-system/
8) chrome.com