0% found this document useful (0 votes)
19 views18 pages

OOPMICRO

The document is a project report on a 'Bookshop Management System using OOP Concepts' developed by students of Samarth Polytechnic for their Diploma in Information Technology. It outlines the system's functionalities, including inventory and sales management, and describes the design methodology using Object-Oriented Programming principles. The project aims to provide a user-friendly interface for managing bookshop operations and is applicable in various real-world scenarios such as independent bookstores and libraries.

Uploaded by

ajshelke75
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views18 pages

OOPMICRO

The document is a project report on a 'Bookshop Management System using OOP Concepts' developed by students of Samarth Polytechnic for their Diploma in Information Technology. It outlines the system's functionalities, including inventory and sales management, and describes the design methodology using Object-Oriented Programming principles. The project aims to provide a user-friendly interface for managing bookshop operations and is applicable in various real-world scenarios such as independent bookstores and libraries.

Uploaded by

ajshelke75
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

A PROJECT REPORT

ON

“Bookshop Management System using


OOP Concepts”
SUBMITTED IN PARTIAL FULFILLMENT OF THE
REQUIREMENTS FOR THE AWARDOF

DIPLOMA IN

(INFORMATION TECHNOLOGY )

SUBMITTED TO
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION,MUMBAI

SUBMITTED BY

Name of Student:- Roll No.

1] Shelke Pravin Santosh 56


2] Shelke Ajay Ramesh 67
3] Shelke Sumit Santosh 57
4] Narode Sahil Santosh 45

GUIDED BY: (Prof.Navle.S.K)

SAMARTH POLYTECHNIC, BELHE

1
SAMARTH POLYTECHNIC BELHE

This is to certify that the project report


entitled “Bookshop Management System
using OOP Concepts”
Was
successfully completed by Student of First semester
Diploma in Information Technology .

Names Of Members:
1] Shelke Pravin Santosh
2] Shelke Ajay Ramesh
3] Shelke Sumit Santosh
4] Narode Sahil Santosh

in partial fulfillment of the requirements for the award of


the Diploma in Information Technology and submitted to
the Department of Information Technology of Samarth
Polytechnic, Belhe work carried out during a period for the
academicyear 2024-25 as per curriculum .

Prof. Mr Navle.S.K Prof. Navle.S.k Prof. Kapile.A.S


(Subject Teacher) (H.O.D) (Principle)

2
ACKNOWLEDGMENT
This project is done as a semester project, as a part
course titled
“Bookshop Management System using OOP Concepts”
I am really thankful to our course the Principal Prof.
Kapile A.S. and the HOD Prof. Navle.S.K Samarth
Polytechnic, Belhe for his invaluable guidance and assistance,
without which the accomplishment of the task would have
neverbeen possible.
I also thanks Prof. Mr. Navle.S.K for giving this
opportunity to explore into the real world and realize the
interrelation without which a Project can never progress. In this
present project I have chosen the topic “Bookshop
Management System using OOP Concepts”
I am also thankful to parents, friend and all staff of
Information Technology, for providing us relevantinformation and
necessary clarifications, and great support.

All Group Members.

NAME ROLL NO ENROLLMENT NO


1] Shelke Pravin Santosh 56
2] Shelke Ajay Ramesh 67
3] Shelke Sumit Santosh 57
4] Narode Sahil 45
Santosh

3
Title:- “Bookshop Management System
using OOP Concepts ”

ABSTRACT:-
The Bookshop Management System is a console-based application developed using
Object-Oriented Programming (OOP) concepts in C++. The system provides
functionalities to manage inventory, perform sales transactions, and generate reports.
● Implement a user-friendly interface for managing a bookshop.
● Utilize OOP principles to organize code, ensuring modularity and reusability.
● Handle inventory operations including adding, updating, and deleting books.
● Support sales operations, including adding sales records and generating
invoices.

Proposed methodology
Design
The system is designed using the following classes:
● Book: Represents a book with attributes like title, author, price, quantity, etc.
● Inventory: Manages the list of books, and provides functionalities to add,
update, and delete books.
● Transaction: Represents a sales transaction with details like date, book sold,
quantity, etc.
● SalesHistory: Keeps track of all sales transactions and provides methods to
record new transactions and generate invoices.
● UserInterface: Handles user interaction through the console, providing a
menu-driven interface.

4
INDEX

SR.NO CONTENT PG.NO

1] Introduction 6
7
2] Object-Oriented Design:

3] 8
User Interface:

4] 8
Code

5] 13
Skill Developed / Learning outcomes of
this Micro-Project
6] 14
Applications of this Micro-Project

5
1. INTRODUCTION
The project was implemented in C++ programming language, leveraging
OOP principles. Each class was defined in separate header (.h) and
implementation (.cpp) files. Class methods were designed to performs
specific tasks related to their respective functionalities.

The system was thoroughly tested using various test cases to ensure correct
functionality, exception handling, and boundary cases. Input validation was
implemented to prevent incorrect data entry.
The system was thoroughly tested using various test cases to ensure correct
functionality, exception handling, and boundary cases. Input validation was
implemented to prevent incorrect data entry.
● To develop a Bookshop Management System that automates various tasks in a
bookshop.

● To provide an intuitive user interface for adding, updating, and deleting


books.

● To allow customers to browse and purchase books.

● To generate reports for sales and inventory.

The Bookshop Management System offers the following features:


Inventory Management:

● Add new books with details like title, author, price, and quantity.
● Update existing book details.
● Delete books from the inventory.

Sales Management:

● Record sales transactions, including book sold, quantity, and date.


● Generate invoices for completed transactions.

6
2. Object-Oriented Design:
The project utilizes key OOP concepts such as classes and objects to
represent real-world entities in the bookshop system. The classes include
Book, Customer, and Inventory, each encapsulating relevant attributes
and methods. The Book class handles information pertaining to book
details such as title, author, ISBN, and price. The Customer class manages
customer data, including name, contact information, and purchase history.
The Inventory class serves as a central repository for maintaining book
stock levels, tracking sales, and generating reports.

Data Handling and File I/O:

To ensure data persistence, the project employs file handling techniques


to store information. Book details and customer records are stored in
separate text files, enabling the system to retrieve and update data
seamlessly. This approach enhances the system's reliability and ensures
that critical information is retained between sessions.

7
3. User Interface:

The user interacts with the system through a console-based interface, where they can
perform a range of operations, including adding new books, updating existing
records, making sales, and generating reports. The interface provides a user-friendly
experience, guiding the user through each step of the process
Functionality and Features:
Adding and Editing Books: The system allows the user to add new books to the
inventory and edit existing book details, ensuring an up-to-date record of available
titles.
Managing Customers: Customers can be added to the system, along with their
contact information. The system also tracks customer purchase history for future
reference.
Processing Sales Transactions: The system facilitates the sale of books, updating
inventory levels and customer records accordingly. It calculates the total cost based
on the quantity and price of the selected books.
The Bookshop Management System is a microproject that leverages the power of
Object-Oriented Programming (OOP) to streamline the operations of a bookshop.
This project was developed using C++, a versatile and powerful programming
language known for its efficiency and flexibility. The primary objective of this
system is to provide an organized platform for managing bookshop inventory, sales,
and customer records. Through the implementation of OOP principles, the project
aims to achieve modularity, reusability, and scalability in code design.

4] Code.
#include <iostream>
#include <vector>
#include <string>

class Book {
private:
std::string title;
std::string author;
double price;
int quantity;
public:
Book(std::string title, std::string author, double
price, int quantity)
: title(title), author(author), price(price),
quantity(quantity) {}
8
void displayInfo() {
std::cout << "Title: " << title << ", Author: "
<< author << ", Price: $" << price << ", Quantity: " <<
quantity << std::endl; }
void sellBook(int num) {
if (quantity >= num) {
quantity -= num;
std::cout << "Sold " << num << " copies of "
<< title << "." << std::endl;
} else {
std::cout << "Not enough copies in stock." << std::endl
}
}

void restock(int num) {


quantity += num;
std::cout << "Restocked " << num << " copies of
" << title << "." << std::endl;
}
};
class Bookstore {
private:
std::vector<Book> inventory;

public:
void addBook(Book book) {
inventory.push_back(book); }
void displayInventory() {
for (const Book& book : inventory) {
book.displayInfo();
}
}
void sellBook(std::string title, int quantity) {
for (Book& book : inventory) {
if (book.getTitle() == title) {
book.sellBook(quantity);
return;
} }
std::cout << "Book not found." << std::endl; }

void restock(std::string title, int quantity) {


for (Book& book : inventory) {
if (book.getTitle() == title) {
book.restock(quantity);
9
return;
}
}
std::cout << "Book not found." << std::endl;
}
};

int main() {
Bookstore bookstore;

// Adding books to the inventory


bookstore.addBook(Book("Book1", "Author1", 10.99,
20));
bookstore.addBook(Book("Book2", "Author2", 12.99,
15));
bookstore.addBook(Book("Book3", "Author3", 8.99,
30));

// Displaying inventory
std::cout << "Inventory:" << std::endl;
bookstore.displayInventory();

// Selling books
bookstore.sellBook("Book2", 5);

// Displaying updated inventory


std::cout << "\nUpdated Inventory:" << std::endl;
bookstore.displayInventory();

// Restocking books
bookstore.restock("Book1", 10);

// Displaying updated inventory


std::cout << "\nUpdated Inventory:" << std::endl;
bookstore.displayInventory();

return 0; }

10
11
12
5.Skill Developed / Learning outcomes of this Micro-Project
a) Computer skills increase.
b) Communication skills improved.

13
6. Applications of this Micro-Project

The Bookshop Management System micro-project can find application in


real-world scenarios in the following ways:

● Small Independent Bookstores: Independent bookstores can use this system


to efficiently manage their inventory, track sales, and generate invoices for
customers.
● Libraries: Libraries can adapt this system to keep track of their book
collection, manage checkouts, and generate reports on popular titles and
borrowing trends.
● Online Book Retailers: Online book retailers can use this system as a
foundation to build a more sophisticated e-commerce platform, integrating
features like user accounts, payment processing, and order fulfillment.
● School or College Bookstores: Educational institutions can utilize this
system to handle their bookstore operations, ensuring accurate inventory
counts and efficient sales processing.
● Book Fairs and Events:Organizers of book fairs or events can employ this
system to manage on-site sales, track inventory levels, and generate reports on
the popularity of different genres or authors.
● Small Independent Bookstores: Independent bookstores can use this system
to efficiently manage their inventory, track sales, and generate invoices for
customers.
● Libraries: Libraries can adapt this system to keep track of their book
collection, manage checkouts, and generate reports on popular titles and
borrowing trends.
● Online Book Retailers: Online book retailers can use this system as a
foundation to build a more sophisticated e-commerce platform, integrating
features like user accounts, payment processing, and order fulfillment.
● School or College Bookstores: Educational institutions can utilize this
system to handle their bookstore operations, ensuring accurate inventory
counts and efficient sales processing.
● Book Fairs and Events:Organizers of book fairs or events can employ this
system to manage on-site sales, track inventory levels, and generate reports on
the popularity of different genres or authors.

14
Conclusion
This micro-project demonstrates the effective use of Object-Oriented Programming
principles in designing a Bookshop Management System. The project successfully
achieves its objectives and serves as a functional tool for managing a bookshop's
inventory and sales operations.

15
. ANNEXURE III
Evaluation Sheet for Micro Project
Academic Year :- 2024-25 Name of Faculty :- Prof.Mr.
Navle.S.K
Course :- Information Technology Course Code :-
Semester :- III
Title of Project :- “Bookshop
Management System using
OOP Concepts ” Cos addressed by the micro project:-
1] Shelke Pravin
Santosh.
2] Shelke Ajay Ramesh
3] Shelke Sumit Santosh
4] Narode Sahil Santosh

Major Learning Outcomes achieved by students by doing the project :-


a) Practical
Outcomes…………………………………………………………
………………………
……......
…………………………………………………………………………
……………………………
…………………..
b) Unit Outcomes in Cognitive
domain……………………………………………………………
……..
………………………………………………………………
………………………
…………………………………..
…………………………………………………………………………
……………………………
…………………..
…………………………………………………………………………
……………………………
…………………..
c) Outcomes in Affective
Domain……………………………………………………………
……………..
………………………………………………………………
………………………
…………………………………..
…………………………………………………………………………
……………………………
16
…………………..
Comments /suggestions about team work/leadership/inter-personal
communication (if any)
…………………………………………………………………………
……………………………
…………………..
…………………………………………………………………………
……………………………
…………………..

Marks out Marks out


of 6 for of 4 for
Ro Student Name performanc performanc Total
ll e in group e in oral / Out
No activity presentatio of 10
(D5 Col.8) n (D5
.
Col.9)
1. Shelke Pravin Santosh.
2. Shelke Ajay Ramesh
3. Shelke Sumit Santosh
4. Narode Sahil
Santosh

Prof. Mr.Navle.S.K
(Name & Signature)

17
THANK YOU!

18

You might also like