DBMS Project Report Sample[1]
DBMS Project Report Sample[1]
BELAGAVI-590018
A Project Report On
“TITLE OF PROJECT”
DATABASE MANAGEMENT SYSTEM /BCS403
Submitted by
Associate Professor
Department of CSE,TOCE
Implementing a project is a monumental task that cannot be accomplished by two individuals alone.
Eventually, we are grateful to a number of individuals whose professional guidance, assistance and
encouragement have made it a pleasant endeavour to undertake this work.
It gives us great pleasure in expressing our deep sense of gratitude to our respected Founder Chairman
Late. Sri S. Narasa Raju, and to our respected Chairman Dr. S.N.V.L Narasimha Raju, for having
provided us with great infrastructure and well-furnished labs.
We take this opportunity to express our profound gratitude toour respected Principal Dr. H.N Ramesh for
his support.
We are grateful to the Head of the Department Dr. KANAGAVALLI R, for her unfailing encouragement
and suggestion given to us in the course of our project work.
Timely guidance and clear deadlines are crucial for the successful completion of any task. We also extend
our heartfelt thanks to Divya Ma’am, Associate Professor in the Department of CSE, for their constant
support throughout the project
Finally, a note of thanks to the Department of Computer Science Engineering, both teaching and non-
teaching staff for their co-operation extended to us.
We thank our parents for their constant support and encouragement. Last, but not the least, we would like
to thank our peers and friends.
Daneshwari M Torgal(1OX21CS025)
The Library Management System is a software application designed to streamline and automate the day-to-day
operations of a library. The system supports both administrative and student-level functionalities, enabling
efficient handling of book circulation, student records, and academic courses.
At its core, the system comprises several interconnected modules:
Admin Panel: Allows authorized administrators to manage the library catalog, add or remove books,
register students, and oversee borrowing and return activities.
Student Module: Registered students can log in to browse available books, borrow and return them, and
view their transaction history.
Book Borrow/Return Module: Tracks all book lending activities, including due dates, late returns, and
fines. Each borrow/return transaction is linked to a specific student and book entry.
Course Management: Integrates student academic courses with the library system, enabling course-
specific book recommendations and restrictions if necessary.
The system enhances operational efficiency, reduces manual errors, and provides real-time visibility into library
assets and user activity. It is built using PHP and MySQL(XAMPP), making it suitable for academic institutions
looking for a robust and user-friendly solution.
Functional Specification:
ii
CONTENTS
Chapters Page No
ACKNOWLEDGEMENT i
ABSTRACT ii
1. INTRODUCTION TO DBMS 1
2. SYSTEM SPECIFICATIONS 4
3. SYSTEM DESIGN 6
4. FUNCTIONS 9
5. MODULES OF ONLINE 11
EXAMINATION SYSTEM
BIBILOGRAPHY 14
APPENDIX-A
SNAPSHOTS
iii
CHAPTER1
INTRODUCTION
Database is a collection of data and Management System is a set of programs to store and
retrieve those data. Based on this one can define DBMS as a collection of inter-related data and
set of programs to store & access those data in an easyand effective manner.
1.1 WhatistheneedofDBMS?
Database systems are basically developed for large amount of data. When dealing with
huge amount of data, there are two things that require optimization: Storage of data and retrieval
of data.
Storage: According to the principles of database systems, the data is stored in such a way that it
acquires lot less space as the redundant data (duplicate data) has been removed before storage.
Let’s take a layman example to understand this. In a banking system, suppose a customer is
having two accounts, one is saving account and another is salary account. Let’s say bank stores
saving account data at one place (these places are called tables we will learn them later) and
salary account data at another place, in that case if the customer information such as customer
name, address etc. are stored at both places then this is just a wastage of storage(redundancy/
duplication of data),to organize the data in a better way the information should be stored at one
place and both the accounts should be linked to that information somehow. The same thing we
achieve in DBMS.
Fast Retrieval of data: Along with storing the data in an optimized and systematic manner, it is
also important that we retrieve the data quickly when needed. Database systems ensure that the
data is retrieved as quickly as possible.
Dept.,ofCSE,TOCE 2024-25 1
OnlineExaminationSystem
cost
vendor support
The first task of a database designer is to produce a conceptual data model that reflects
the structure of the information to be held in the database. A common approach to this is to
develop an entity-relationship model, often with the aid of drawing tools. Another popular
approach is the Unified Modeling Language. A successful data model will accurately reflect the
possible state of the external world being modeled : for example, if people can have more than
one phone number, it will allow this information to be captured.
Dept.,ofCSE,TOCE 2024-25 2
OnlineExaminationSystem
1.3 Objective
The main objective of this project is to determine how an interactive online library
management system helps in the smooth functioning of a library compared to traditional library
management, by digitizing all the records and transacting everything on a computer rather than
on paper. This project is a two-tier architecture application.
1.4 ProblemStatement
Manual library operations are inefficient and prone to errors, making it difficult to
manage book inventory, track borrow/return transactions, and maintain student records. There is
a need for an automated system that streamlines these processes, improves accuracy, and
enhances accessibility for both administrators and students. With this project, we want to
automate as many tasks as possible using the available technology and the internet.
Dept.,ofCSE,TOCE 2024-25 3
CHAPTER2
The program works on Desktop PC and is executed using a PHP 5 interface which interacts
with a MySQL database running on localhost.
User Authentication
1. Admin and student login system
2. Password protection and session management
3. Role-based access control
Admin Module
Book Management
1. Add new books with details (title, author, ISBN, quantity, course tag)
2. Search and filter books by name, author, or category
3. View availability status of books
4. Update book information or quantity
Student Module
Dept.,ofCSE,TOCE 2024-25 4
1. Record borrowing and return date
2. Automatically update book availability
3. Restrict borrowing if limits are exceeded
4. Fine calculation for late returns
Course Management
2.2.2 Security
Security requirements are included in a system to ensure:
Dept.,ofCSE,TOCE 2024-25 5
OnlineExaminationSystem SystemSpecification
2.2.3 Reliability
Reliability is the ability of a system to perform its required functions understated conditions for
a specific period of time. Constraints on the run-time behavior of the system can be considered
under two separate headings:
Dept.,ofCSE,TOCE 2024-25 6
CHAPTER:3
The cardinality or fundamental principle of one data aspect with respect to another is a
criticalfeature.The relationshipofone totheothermustbe precise andexactbetween each
otherin order to explain how each aspectlinks together. In simple words Cardinalityis a way
to define the relationship between twoentities.
ThefollowingarethenotationsoftheERdiagram:
Fig3.1:NotationsforERDiagrams
Dept.,ofCSE,TOCE 2024-25 7
OnlineExamination System Design
The ER diagram below shows the relationship between the many tables that exist in the
database for the functioning of Warehouse Inventory Management System.
Dept.,ofCSE,TOCE 2024-25 8
OnlineExamination System Design
Fig3.3:SchemaDiagram
Dept.,ofCSE,TOCE 2024-25 9
CHAPTER: 4
IMPLEMENTATIONS
This chapter of the report describes the Functions, packages and modules used in the project:
PHP
HTML
Hypertext Markup Language is the standard markup language for documents designed to be
displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets
and scripting languages such as JavaScript.
CSS
Cascading Style Sheets is a style sheet language used for describing the presentation of a
document writtenina markup language likeHTML.CSSisacornerstonetechnologyofthe World
Wide Web, alongside HTML and JavaScript. Functional Modules
JavaScript
PHPMailer
PHP Mailer is a code library to send emails safely and easily via PHP code from a web server.
Sending emails directly by PHP code requires a high-level familiarity to SMTP standard protocol
and related issues and vulnerabilities about Email injection for spamming. So, we used PHP
Mailer
Dept.,ofCSE,TOCE 2024-25 10
4.2 Functional Modules
The functional modules included in the project are listed below:
Insert Module:
This module provides the functionality of collecting the required data from the designed
interface and transmitting it to the appropriate table present in the database designed for this
project. Ifthe provided data does not satisfy the given constraints, it must refrain from storing it
into the database.
Update Module:
This module again has the functionality of collecting the data from the designed interface,
but it updates the already existing tuple that matches the provided primary key of the tuple to be
updated, by replacing the existing attribute values with the newly collected data. Again, if the
newly provided data does not satisfy the given constraints, it must refrain from updating the
corresponding tuple.
Delete Module:
The delete counter part is loaded with the ability to delete a single or multiple records
from the table. It searches for the tuple, in the query specified table, based on the provided value
for an attribute. Admin can delete in the interface, based on which delete module searches for the
record corresponding to that provided attribute value and deletes the record.
Retrieve Module:
The retrieve module has a basic functionality of accessing the entire specified table from
the database and displays it.
Trigger Module:
Trigger in database is set of statements that are executed after an event occurs on the
specified table.This is useful for logs where in every change in database can be logged which
helps keep a track of all changes/transactions on the database.
Dept.,ofCSE,TOCE 2024-25 11
CHAPTER5
Student
Admin
Login
Student:
Student has to log in to the system and can then view all the books that are availabe,
borrowed or returned. Student can see the book list and its availability.
Staff:
Staffalsohas tologintothesystemfirst,thentheycanadd/removequizzes.They
canseetheprogressandtheycanalsoupdatetheexistingquiz.
Login:
Loginismustandshouldforbothstaffandstudent.Sothatallrecordswillbesafelysaved to
thedatabase.Ifsomeonehadforgotthepassword,onecanresetthatpassword.
Add/Removequizandquestion:
Staffcanadd,removethequiz.Andalsotheycanaddextraquestionstoanexisting
quiz.
Score:
Staffcanseethescoreboardofthequizwhichis addedbyhim/her.Andstudent
canseethescoreofthequizwhichhe/sheisattended.
Dept.,ofCSE,TOCE 2024-25 11
CHAPTER6
CONCLUSION
The online examinationsystemprovidesbetterfunctionalityfor anexaminationto be
more efficient and reduce manual paperwork in order to automate all possible tasks. For
implementing this system, PHP, HTML, CSS, JavaScript and MySql are used.
Thesystemcomprisesoffollowingfeatures:
Managementofquiz.
Automated grading.
Adding/deletingquizzesandquestions.
SCOPEOFENHANCEMENT
Belowlistshowsthefuturepointstobeconsidered:
Dept.,ofCSE,TOCE 2024-25 12
BIBLIOGRAPHY
BOOK REFERENCE
WEBSITES
[1]www.stackoverflow.com
[2]www.youtube.com
[3]https://www.php.net
[4]www.google.com
[5] https://www.w3schools.com
Dept.,ofCSE,TOCE 2024-25 13
APPENDIX A
SNAPSHOTS
Dept.,ofCSE,TOCE 2024-25 14
OnlineExaminationSystem Snapshots
Dept.,ofCSE,TOCE 2024-25 15
OnlineExaminationSystem Snapshots
Snapshot4:List of students
Dept.,ofCSE,TOCE 2024-25 16
OnlineExaminationSystem Snapshots
Snapshot7:QuizAddedbyTheStaff
Dept.,ofCSE,TOCE 2024-25 17
OnlineExaminationSystem Snapshots
Snapshot8:Addingquizpagebystaff
Snapshot9:Requestforsecuritycode
Dept.,ofCSE,TOCE 2024-25 18
OnlineExaminationSystem Snapshots
Snapshot10:mailreceivedbyuserwithsecuritycode
Snapshot11:verifyingthesecuritycodeandupdatepassword
Dept.,ofCSE,TOCE 2024-25 19