Student Attendance Management System Final
Student Attendance Management System Final
PROJECT REPORT ON
Student Attendance Management System (SAMS)
ROLL NO. : 34
CLASS : XII
ACKNOWLEDGEMENT................................................................................................................4
INTRODUCTION........................................................................................................................6
KEY FEATURES........................................................................................................................8
SYSTEM DESIGN....................................................................................................................10
SOURCE CODE......................................................................................................................11
OUTPUT...................................................................................................................................13
DATA DICTIONARY................................................................................................................16
BIBLIOGRAPHY......................................................................................................................19
2
ACKNOWLEDGEMENT
I would like to express my sincere gratitude to all those who have helped and supported me
throughout the completion of my project on “Student Attendance Management System”.
First and foremost, I would like to thank my Computer Science teacher, Mrs. Amisha Dalal, for
providing valuable guidance and constant encouragement during the entire process. Her
insightful feedback and suggestions played a crucial role in shaping the project.
I also extend my gratitude to my school principal, Mrs. Alpana Ma’am, for providing the
necessary resources and infrastructure that facilitated the successful development of this
project.
Special thanks to my friends and classmates for their support, and for discussing ideas and
helping me troubleshoot various issues encountered during the coding phase.
Finally, I would like to thank my parents for their unwavering support, understanding, and
encouragement throughout my academic journey.
This project would not have been possible without the help of all these individuals, and I am
truly grateful for their contributions.
3
STUDENT ATTENDANCE
MANAGEMENT SYSTEM
(SAMS)
4
INTRODUCTION
Traditionally, attendance records have been maintained manually, which can be time-
consuming, error-prone, and difficult to manage, especially as the size of the institution grows.
This project aims to address these challenges by creating an efficient and user-friendly solution
using modern technologies.
Developed using Python as the programming language and MySQL as the database
management system, the project offers a simple interface for administrators and teachers to
record, view, and manage student attendance. The system allows administrators to add new
students, update their attendance status, and view attendance records based on student IDs
and dates. It automates the process of storing attendance information, making data retrieval
quick and accurate.
By leveraging the power of databases, the system provides a robust and scalable solution to
keep track of student attendance in an organized and secure manner. This application is
particularly useful for educational institutions that need to maintain consistent and reliable
attendance records for a large number of students.
5
OBJECTIVES OF THE PROJECT
The main objectives of the Student Attendance Management System project are:
3. To ensure accurate and reliable data: By using a database to store attendance records,
the system ensures that all data is stored securely and is easily retrievable without any
loss or corruption.
4. To support the generation of attendance reports: The system should allow for querying
and viewing of attendance data, which can be useful for generating reports or checking
trends over time.
7. To provide data security: To ensure that student data and attendance records are
stored securely and are accessible only to authorized users.
6
KEY FEATURES
1. User Authentication:
o The system provides secure access through a login page where authorized users
(e.g., administrators) must enter a valid username and password to access the
system. This feature ensures that only authorized personnel can manage
attendance data.
o The system allows administrators to add new student records to the database.
Each student will have a unique student ID, along with their name, and
attendance status for specific dates (e.g., "Present" or "Absent").
o The administrator can add attendance for multiple students on different dates,
which is recorded and stored in the MySQL database.
o The system enables the entry of attendance data for each student.
Administrators or teachers can record whether a student is present or absent on
any given day.
7
4. View Attendance Records:
o The system allows users to view the attendance records for any student based
on their unique student ID.
o Data can be easily queried, updated, or deleted when necessary. The database
structure includes tables for students and attendance logs, ensuring that all
related data is connected and easily accessible.
6. Data Security:
8
SYSTEM DESIGN
1. User Authentication:
o Secure login system for administrative access.
o Admin credentials (username and password) required to access the portal.
4. Exit Option:
o Allows the administrator to exit the system safely after completing tasks
9
SOURCE CODE
import mysql.connector
10
# Main function for the portal
def main():
print("St. Ann's School, Bopal \nWelcome to the Student Attendance
Portal")
username = input("Enter username: ")
password = input("Enter password: ")
11
OUTPUT
2. Successful login
12
5. Error Message on entering an Invalid Choice
13
8. Viewing the Records of the Attendance Table
14
DATA DICTIONARY
15
ADVANTAGES AND LIMITATIONS
ADVANTAGES
1. Ease of Use:
2. Efficiency:
4. Quick Retrieval:
LIMITATIONS
1. The system supports only basic authentication and could be enhanced with role-based
access.
16
HARDWARE AND SOFTWARE REQUIREMENT
The following are the requirements necessary to run the Student Attendance Management
System effectively:
HARDWARE REQUIREMENTS
1. Processor:
o Any modern processor capable of running Python-based applications (e.g., Intel
Core i3 or higher).
2. Memory (RAM):
o Minimum 2 GB for smooth execution of scripts and database operations.
3. Storage:
o At least 50 MB free space for the Python program and MySQL database files.
SOFTWARE REQUIREMENTS
1. Operating System:
o Windows 10/11, macOS, or Linux (any distribution supporting Python and
MySQL).
2. Python Environment:
o Python 3.8 or later installed on the system.
3. Database System:
o MySQL Server 5.7 or later to host the attendance database.
4. Python Libraries:
o mysql-connector-python for database connectivity.
17
BIBLIOGRAPHY
Computer Science with Python - Class XI, XII By: Sumita Arora
18