IP Presentation
IP Presentation
IP Presentation
PRACTICES
Prepared by : Priyani Mondal
Class : XII Science
PROJECT FILE
Acknowledgment
I would like to express my sincere gratitude to all those
who helped me complete this project successfully. I would
like to thank my class teacher, for their constant support,
valuable guidance and encouragement throughout the
process. I would also like to extend my thanks to our school
principal, for providing all the necessary facilities required
for this project. Finally, I would like to thank my family who
motivated me and boosted my morale when I was stressed.
Content
■Problem-Solution Project Scope
Requirements : Software &
Hardware Table Structure
Python Code
■Output Bibliography
Problem-Solution
Problem: Manually tracking student attendance is
time-consuming and error-prone. Solution: Create
a digital attendance system where teachers can
mark students present or absent. The system can
generate attendance summaries, such as
monthly attendance rates, absences by student,
and alerts for students with low attendance.
Project Scope
This project will be a digital attendance
management system for a school that allows
teachers to record, update, and analyze
student attendance efficiently. The system
will: • Enable easy attendance tracking for
each class. • Provide detailed attendance
summaries and reports. • Help identify
students with attendance issues. • Be
accessible through a simple user interface
for easy use by teachers.
Hardware Requirements
• Processor: Intel i3 or equivalent (minimum) for smooth
operation. Faster processors will improve performance.
• RAM: At least 4GB of RAM is recommended for efficient
multitasking with Python and MySQL. • At least 500MB
free space for Python, MySQL, and other dependencies. •
Additional space for MySQL database storage if the
attendance data grows over time. • Network: If the
project requires remote access to the MySQL database, a
stable internet connection is needed.
Software
Requirements
• Operating System: Windows, macOS,
or Linux. • Programming Language:
Python. • Database: MySQL or SQLite
for managing student and attendance
data. • Python Libraries: mysql-
connector-python (or sqlite3) for
database interaction.
Table
Structure
import mysql.connector # Establish connection
connection =
Pytho
mysql.connector.connect( host=‘localhost’, #
replace with your host if needed user=‘priyani’, #
replace with your MySQL username
password=‘Priyani@2025’, # replace with your
n
MySQL password database=‘attendance_system’ )
# Check if connection is successful if
connection.is_connected(): print(“Connection
successful!”) else: print(“Failed to connect.”) #
Close the connection connection.close()
Code
Cursor = db.cursor() def add_student(name): “””Add a new student to the
database.””” query = “INSERT INTO students (name) VALUES (%s)”
cursor.execute(query, (name,)) db.commit() print(f”Student ‘{name}’ added
successfully.”)