SlideShare a Scribd company logo
STUDENT ATTENDANCE
MANAGEMENT SYSTEM
PROBLEM STATEMENT
Attendance Management System is designed to record, track, and manage
student attendance data for an educational institution. It provides
functionality for teachers to mark attendance, view attendance records,
and generate reports. The system will help ensure students maintain the
required attendance percentage and make it easier to track attendance
trends for different classes and subjects.
Objectives:
• Record attendance for students in various classes and subjects.
• Generate reports to display students' attendance percentage.
• Ensure attendance integrity through proper constraints.
• Enable queries to retrieve and manage attendance records.
•
INTEGRITY CONSTRAINTS
1.Entity Integrity:
• Each table has a primary key that uniquely identifies each record.
• No field in a primary key is NULL.
2.Referential Integrity:
• Foreign keys are properly defined to ensure relationships between tables are maintained.
• When a referenced record (such as a student or course) is deleted, the dependent records are
handled properly to maintain the consistency of the database.
3.Domain Integrity:
• The values in each column are of the correct type and format. For example, the attendance status
can only be present or absent (no other value).
• Fields such as Date for the attendance should follow a proper date format.
4.Key Constraints:
• The ID (student id) in the tblstudents table and ID (course id) in the Courses table must be unique.
• ID (student id) and ID (course id) combinations in the tblattendance table must be unique for each
date.
5.Check Constraints:
• Ensured that the Date field in the attendance record does not accept future dates.
6. Logical Constraints:
• The attendance of a student can never be greater than 100% or less than 0%.
• Student must be enrolled in the class to mark attendance
UNNORMALIZED
RELATIONS
1NF
2NF
3NF
REMOVING
REPEATING
GROUPS
REMOVE PARTIAL
DEPENDANDACY
REMOVE
TRANSITIVE
DEPENDANCY
Introduction to Normalization
• Database normalization is the process of
organizing data to reduce redundancy and
improve data integrity.
• Benefits of Normalization:
• - Reduces redundancy
• - Improves data integrity
• - Ensures efficient data handling
First Normal Form (1NF)
• 1NF requires:
• - Each field contains only atomic values
• - Unique rows
• - A primary key for each table
• No Multivalued and Composite variables.
• Example:
NAME
FNAME LNAME
Multivalued
Attribute
Dividing Name
into Fname
makes the name
attribute atomic
in nature
Second Normal Form (2NF)
• 2NF requires:
• - 1NF is satisfied
• - No partial dependency
• - All non-key attributes fully functional
dependent on the primary key
• Example:
Example - In this ATTENDANCE TABLE we see how 2NF is Implemented-
•Key-Attributes- Id (Primary Key)
•Non Key- Attributes- admissionNo, classId, classArmId, sessionTermId, status, date
TimeTaken.
•Since Id is the primary key, each non-key column ( e.g., admissionNo, classId,
classArmId, etc.) is fully dependent on Id (the primary key).There is no indication of
partial dependency here, as each attribute relates to the student’s record uniquely
identified by Id.
•This table already satisfies 1NF as all columns have atomic values
Third Normal Form (3NF)
• 3NF requires:
• - 2NF is satisfied
• - 1NF is satified
• - No transitive dependency
• - Non-key attributes should not depend on
other non-key attributes
• Example:
ID
These all Non-Key
Attributes are not
dependent on each
other.
• "In this table, none
of the non-key
attributes, like
admissionNo, classId,
classArmId, etc.,
depend on each other.
•For example, classId
doesn’t determine
sessionTermId, and
status doesn’t depend
on date. Each attribute
provides specific
information about the
student identified by
the Id field and only
depends on this
primary key."
"For the table to be in 3NF, it must
already be in 2NF, and there should
be no transitive dependencies.
Database Tables and Explanation
• Tables Overview and Relationships:
• The following tables represent a normalized
database structure with clearly defined
primary and foreign keys.
This is the Designer View of the Database showing relation between tables like foreign
key references.
•PRIMARY KEY
Conclusion
• Normalization Benefits Achieved:
• - Improved data integrity
• - Reduced redundancy
• - Easier maintenance
• - Enhanced data structure
• This database is normalized up to 3NF,
ensuring efficient and reliable data
organization.

More Related Content

PPTX
Database Normalization a topic of data base for BS program and others.
PPTX
Structured system analysis and design
PPTX
Functional Dependency second lesson.pptx
PPTX
Normalization
PPTX
Data Modeling
PPTX
Relational model introduction .pptx
PPTX
FD second lesson rules1111111111111.pptx
PPTX
Chapter-5 The Relational Data Model
Database Normalization a topic of data base for BS program and others.
Structured system analysis and design
Functional Dependency second lesson.pptx
Normalization
Data Modeling
Relational model introduction .pptx
FD second lesson rules1111111111111.pptx
Chapter-5 The Relational Data Model

Similar to DBMS PROJECT.pptx (with normalization upto 3nf) (20)

PPTX
Relational database Management system.pptx
PPTX
DATABASE DESIGN.pptx
PPTX
Database about data and programming lofe.pptx
PPTX
2-_Requirement-Analysisifb jfbufhuwu.pptx
PPTX
Types Of Keys in DBMS
PDF
computer-210809080138.pdf
PPTX
normalization of database management ppt
PDF
Databases - Unit 2.pdf
PPTX
Coding, editing, Tabulation and validation.pptx
PPTX
Keys_in_DBMS_VALID_INFORMATION_IS_AVAILA
PPTX
Learn Database Design with MySQL - Chapter 5 - Design principles & normalization
PPTX
unit01-Activity-SQL-Query-Review-1.pptx
PPTX
Analysis of hgfhgfhgfjgfjmghjghjghData_1.pptx
PPTX
Database design
PDF
skskskksjsjkjsklaw suitvhhhghtkejejr.pdf
PPTX
PPTX
ANALYSIS OF DATA.pptx
PDF
SQL Fundamentals (Oracle 11g) - Lecture 1
PPTX
what is a database system-components.pptx
PPTX
RDBMS POWER POINT PRESENTATION KOMAL SINGH.pptx
Relational database Management system.pptx
DATABASE DESIGN.pptx
Database about data and programming lofe.pptx
2-_Requirement-Analysisifb jfbufhuwu.pptx
Types Of Keys in DBMS
computer-210809080138.pdf
normalization of database management ppt
Databases - Unit 2.pdf
Coding, editing, Tabulation and validation.pptx
Keys_in_DBMS_VALID_INFORMATION_IS_AVAILA
Learn Database Design with MySQL - Chapter 5 - Design principles & normalization
unit01-Activity-SQL-Query-Review-1.pptx
Analysis of hgfhgfhgfjgfjmghjghjghData_1.pptx
Database design
skskskksjsjkjsklaw suitvhhhghtkejejr.pdf
ANALYSIS OF DATA.pptx
SQL Fundamentals (Oracle 11g) - Lecture 1
what is a database system-components.pptx
RDBMS POWER POINT PRESENTATION KOMAL SINGH.pptx
Ad

Recently uploaded (20)

PPTX
Introduction to Fisheries Biotechnology_Lesson 1.pptx
PDF
Assessment of environmental effects of quarrying in Kitengela subcountyof Kaj...
PPTX
2. Earth - The Living Planet Module 2ELS
PDF
Cosmic Outliers: Low-spin Halos Explain the Abundance, Compactness, and Redsh...
PDF
SEHH2274 Organic Chemistry Notes 1 Structure and Bonding.pdf
PDF
Mastering Bioreactors and Media Sterilization: A Complete Guide to Sterile Fe...
PPTX
2Systematics of Living Organisms t-.pptx
PPTX
Pharmacology of Autonomic nervous system
PPTX
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
PDF
Looking into the jet cone of the neutrino-associated very high-energy blazar ...
PDF
Sciences of Europe No 170 (2025)
PDF
ELS_Q1_Module-11_Formation-of-Rock-Layers_v2.pdf
PPTX
EPIDURAL ANESTHESIA ANATOMY AND PHYSIOLOGY.pptx
PPTX
7. General Toxicologyfor clinical phrmacy.pptx
PPT
protein biochemistry.ppt for university classes
PPTX
Taita Taveta Laboratory Technician Workshop Presentation.pptx
PPTX
ECG_Course_Presentation د.محمد صقران ppt
PPTX
Classification Systems_TAXONOMY_SCIENCE8.pptx
PDF
Biophysics 2.pdffffffffffffffffffffffffff
PPTX
INTRODUCTION TO EVS | Concept of sustainability
Introduction to Fisheries Biotechnology_Lesson 1.pptx
Assessment of environmental effects of quarrying in Kitengela subcountyof Kaj...
2. Earth - The Living Planet Module 2ELS
Cosmic Outliers: Low-spin Halos Explain the Abundance, Compactness, and Redsh...
SEHH2274 Organic Chemistry Notes 1 Structure and Bonding.pdf
Mastering Bioreactors and Media Sterilization: A Complete Guide to Sterile Fe...
2Systematics of Living Organisms t-.pptx
Pharmacology of Autonomic nervous system
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
Looking into the jet cone of the neutrino-associated very high-energy blazar ...
Sciences of Europe No 170 (2025)
ELS_Q1_Module-11_Formation-of-Rock-Layers_v2.pdf
EPIDURAL ANESTHESIA ANATOMY AND PHYSIOLOGY.pptx
7. General Toxicologyfor clinical phrmacy.pptx
protein biochemistry.ppt for university classes
Taita Taveta Laboratory Technician Workshop Presentation.pptx
ECG_Course_Presentation د.محمد صقران ppt
Classification Systems_TAXONOMY_SCIENCE8.pptx
Biophysics 2.pdffffffffffffffffffffffffff
INTRODUCTION TO EVS | Concept of sustainability
Ad

DBMS PROJECT.pptx (with normalization upto 3nf)

  • 2. PROBLEM STATEMENT Attendance Management System is designed to record, track, and manage student attendance data for an educational institution. It provides functionality for teachers to mark attendance, view attendance records, and generate reports. The system will help ensure students maintain the required attendance percentage and make it easier to track attendance trends for different classes and subjects. Objectives: • Record attendance for students in various classes and subjects. • Generate reports to display students' attendance percentage. • Ensure attendance integrity through proper constraints. • Enable queries to retrieve and manage attendance records. •
  • 3. INTEGRITY CONSTRAINTS 1.Entity Integrity: • Each table has a primary key that uniquely identifies each record. • No field in a primary key is NULL. 2.Referential Integrity: • Foreign keys are properly defined to ensure relationships between tables are maintained. • When a referenced record (such as a student or course) is deleted, the dependent records are handled properly to maintain the consistency of the database. 3.Domain Integrity: • The values in each column are of the correct type and format. For example, the attendance status can only be present or absent (no other value). • Fields such as Date for the attendance should follow a proper date format. 4.Key Constraints: • The ID (student id) in the tblstudents table and ID (course id) in the Courses table must be unique. • ID (student id) and ID (course id) combinations in the tblattendance table must be unique for each date. 5.Check Constraints: • Ensured that the Date field in the attendance record does not accept future dates. 6. Logical Constraints: • The attendance of a student can never be greater than 100% or less than 0%. • Student must be enrolled in the class to mark attendance
  • 5. Introduction to Normalization • Database normalization is the process of organizing data to reduce redundancy and improve data integrity. • Benefits of Normalization: • - Reduces redundancy • - Improves data integrity • - Ensures efficient data handling
  • 6. First Normal Form (1NF) • 1NF requires: • - Each field contains only atomic values • - Unique rows • - A primary key for each table • No Multivalued and Composite variables. • Example:
  • 7. NAME FNAME LNAME Multivalued Attribute Dividing Name into Fname makes the name attribute atomic in nature
  • 8. Second Normal Form (2NF) • 2NF requires: • - 1NF is satisfied • - No partial dependency • - All non-key attributes fully functional dependent on the primary key • Example:
  • 9. Example - In this ATTENDANCE TABLE we see how 2NF is Implemented- •Key-Attributes- Id (Primary Key) •Non Key- Attributes- admissionNo, classId, classArmId, sessionTermId, status, date TimeTaken. •Since Id is the primary key, each non-key column ( e.g., admissionNo, classId, classArmId, etc.) is fully dependent on Id (the primary key).There is no indication of partial dependency here, as each attribute relates to the student’s record uniquely identified by Id. •This table already satisfies 1NF as all columns have atomic values
  • 10. Third Normal Form (3NF) • 3NF requires: • - 2NF is satisfied • - 1NF is satified • - No transitive dependency • - Non-key attributes should not depend on other non-key attributes • Example:
  • 11. ID These all Non-Key Attributes are not dependent on each other. • "In this table, none of the non-key attributes, like admissionNo, classId, classArmId, etc., depend on each other. •For example, classId doesn’t determine sessionTermId, and status doesn’t depend on date. Each attribute provides specific information about the student identified by the Id field and only depends on this primary key." "For the table to be in 3NF, it must already be in 2NF, and there should be no transitive dependencies.
  • 12. Database Tables and Explanation • Tables Overview and Relationships: • The following tables represent a normalized database structure with clearly defined primary and foreign keys.
  • 13. This is the Designer View of the Database showing relation between tables like foreign key references. •PRIMARY KEY
  • 14. Conclusion • Normalization Benefits Achieved: • - Improved data integrity • - Reduced redundancy • - Easier maintenance • - Enhanced data structure • This database is normalized up to 3NF, ensuring efficient and reliable data organization.