Vous êtes sur la page 1sur 70

Attendance Management System

INTRODUCTION

1.1 INTRODUCTION
Attendance Management System is software developed for
daily student attendance in schools, colleges and institutes. If facilitates to access
the attendance information of a particular student in a particular class. The
information is sorted by the operators, which will be provided by the teacher for
a particular class. This system will also help in evaluating attendance eligibility
criteria of a student.

An automated attendance system consists of a web system for


entire organization to record attendance. Each Class room or department has its
own login. On login the class faculty can see a list of students or members
registered under it. The faculty may take the attendance and mark the present
students using checkbox provided in front of every student name. This attendance
sheet is stored and sent to the central administrator of the organization and stored
there. The system has an admin login. The admin may check all attendance data,
press a button to see defaulter list, search for particular student attendance by
name, search class attendance and generate excel reports.

Attendance Management System (AMS) is software


developed for daily attendance of students. Previously, the college relied heavily
on paper records. This paper focuses on preventing information in an easy way
and intelligible manner which reduces paper and time. The project makes use of
database in order to keep a record of attendance and is used while generating a
report for individual student. The system is fully controlled by administrator
about the staff’s profile, student information student attendance. The
administrator can add new student, add new staff, view staff and student and view
the student attendance report. After the class has been finished, the lecturer can
view the student’s attendance that has been saved in the faculty server. This
system will also help in evaluating attendance eligibility criteria of a student. The
faculty can also send messages to parents or guardians about the student
performance and attendance by short listing the students. Hence, here
communication is made easier with parents and faculty.

SIMS 1
Attendance Management System

The messages can be sent through SMS to the mobile number given in details of
the students in the file. The purpose of developing this software is to computerize
the tradition way of taking attendance. Another purpose of software is to generate
the report automatically at the end of the session. Moreover, graphical user
interface is provided in the proposed system, which provides user to deal with
system very easily. The scope of this project is the system on which the software
is installed i.e. the project is developed as a desktop application, and it will work
for a particular institute.

1.2Objective
“Attendance management system” is software developed for maintaining the
attendance of the student on the daily basis in the collage. Here the staffs, who
are handling the subjects, will be responsible to mark the attendance of the
students. Each staff will be given with a separate username and password based
on the subject they handle. An accurate report based on the student attendance is
generated here. This system will also help in evaluating attendance eligibility
criteria of a student. Report of the student’s attendance weekly and monthly basis
is generated.
The main objectives of our work are:
• Data of student has been computerized without using any manual effort.
• Easy to generate the report.
• Rapid access to any information regarding the students’ attendance.
• Student can view the attendance

1.3 SCOPE

The scope of the project is the system on which the software is installed,
i.e. the project is developed as a desktop application, and it will work for a
particular institute. But later on, the project can be modified to operate it online.

SIMS 2
Attendance Management System

1.4 EXISTING SYSTEM

In the present system all work is done on paper. The whole session
attendance is stored in register and at the end of the session the reports are
generated. We are not interested in generating report in the middle of the session
or as per the requirement because it takes more time in calculation. At the end of
session, the students who don’t have 75% attendance get a notice.

1.4.1 DISADVANTAGES

• Not User Friendly:


The existing system is not user friendly because the retrieval of
data is very slow and data is not maintained efficiently.
• Difficulty in report generating:
We require more calculations to generate the report so it is
generated at the end of the session. And the student not get a single chance to
improve their attendance
• Manual control:
All calculations to generate report is done manually so there is
greater chance of errors.
• Lots of paperwork:
Existing system requires lot of paper work. Loss of even a
single register/record led to difficult situation because all the papers are needed
to generate the reports.
• Time consuming:
Every work is done manually so we cannot generate report in
the middle of the session or as per the requirement because it is very time
consuming.
OR
• The only disadvantages are that every class requires a computer or a
laptop to access the system.

SIMS 3
Attendance Management System

1.5 PROPOSED SYSTEM

This Application is built for automating the processing of


attendance. It also enhances the speed of the performing attendance task easily.
It also generates periodic reports to keep a check on the students who are
regular & who are not.

A Faculty has to login to the system & then in the attendance


option they have to select appropriate class, semester and subject. So, this will
display the list of the students who are eligible to appear in this session. So now
the faculty has to just select the students name from the manual attendance sheet
according to their roll number and then submit the sheet. This will add the
selected students as present student in that particular session.

This system is very useful to the office staff also because they
can generate various types of reports and submit them to respective faculties
also or also can be submitted to the College Coordinator. Office staff can also
generate black list of students who have attendance less than 50% or 80%. So,
this kind of various reports can be generated.

1.5.1 ADVANTAGES

• It excludes the use of paper work and human efforts.


• The system is helpful as it generates a systematic overall report of
every class attendance.
• The system helps the faculty to easily find out defaulters in a single
click.
• It maintains the record in a large database instead of conventional
method of maintaining register which further simplifies the process
of searching for a particular record.
• User may easily get attendance history of a particular student.
• The system introduces a manageable and systematic approach of
maintain attendance records.
• It saves user time, cost and institute resources.

SIMS 4
Attendance Management System

SYSTEM ANALYSIS

SIMS 5
Attendance Management System

2.1REQUIREMENT SPECIFICATION

2.1.1 FUNCTIONAL REQUIREMENTS

Student Management System involves the following functions:

Student Registration

• AMS provides registration and status information to students to view


their status.
• AMS provides automatic student register number generation based on
semester.
• AMS provides to students to add them in their semester they want to
study.

Attendance Management

• Easily track attendance information of students.


• Quickly produce single or multiple day attendance bulletins.

2.1.2 NON-FUNCTIONAL REQUIREMENT

● Easy tracking of records and updating can be done.


● The software will be available only to authorized users of the colleges
like teachers to mark the student’s attendance. Student to view their
enrolled course, admin to add an update students’ records.
● The software is web-based application and is built in PHP and MYSQL
so it is platform independent and is independent of operating system.

SIMS 6
Attendance Management System

2.2 SYSTEM REQUIREMENT STUDY

2.2.1 SOFTWARE REQUIREMENTS

Technology : PHP, Bootstrap with Ajax.

Programming Language : PHP

Database : MySQL

Tool : XAMPP

Application Server : Apache

2.2.2 HARDWARE REQUIREMENTS

• Intel Core i3/i5/i7


• 1 GB RAM
• 80GB HDD

SIMS 7
Attendance Management System

SYSTEM DESIGN

SIMS 8
Attendance Management System

3.1 FEASIBILITY STUDY

Feasibility analysis begins once the goals are defined. It starts by


generating broad possible solutions, which are possible to give an indication of
what the new system should look like. This is where creativity and imagination
are used. Analysts must think up new ways of doing things- generate new ideas.
There is no need to go into the detailed system operation yet. The solution should
provide enough information to make reasonable estimates about project cost and
give users an indication of how the new system will fit into the organization. It is
important not to exert considerable effort at this stage only to find out that the
project is not worthwhile or that there is a need significantly change the original
goal. Feasibility of a new system means ensuring that the new system, which we
are going to implement, is efficient and affordable.

● Economical Study
● Technical Study
● Operational Study

3.1.1 Economically Feasibility:


The system being developed is economic with respect to School
or Collage’s point of view. It is cost effective in the sense that has
eliminated the paper work completely.

The system is also time effective because the calculations are


automated which are made at the end of the month or as per the user
requirement.

The result obtained contains minimum errors and are highly


accurate as the data is required.

SIMS 9
Attendance Management System

3.1.2Technical feasibility:
The technical requirement for the system is economic and it
does not use any other additional Hardware and software.

Technical evaluation must also assess whether the existing systems can
be upgraded to use the new technology and whether the organization has
the expertise to use it. Install all upgrades framework into the .Net
package supported widows-based application. this application depends on
Microsoft office and intranet service, database. Enter their attendance and
generate report to excel sheet.

3.1.3Operational Feasibility:

The system working is quite easy to use and learn due to its
simple but attractive interface. User requires no special training for
operating the system. Technical performance includes issues such as
determining whether the system can provide the right information for the
Department personnel student details, and whether the system can be
organized so that it always delivers this information at the right place and
on time using intranet services. Acceptance revolves around the current
system and its personnel.

SIMS 10
Attendance Management System

3.2 DFD

Enter User name


Authentication
Admin /password
/ Register
success confirms

Faculty

Student Details
Student

Subject

Faculty Attendance

Attendance

Admin
Report

SIMS 11
Attendance Management System

3.3 Use -Case Diagram

Login

Student
Details

Faculty

Admin Subject

Reports

Search for
class

Attendance

Faculty
Reports

Give
Attendan

Student View

SIMS 12
Attendance Management System

3.4SEQUENCE DIAGRAM

Admin

Login Faculty Student Reports Logout

Login

Update

Update
Allocate

Generate

Views
Logout

Success

SIMS 13
Attendance Management System

Faculty

Login Student Attendance Logout

Login

Update

Take Attendance
View

Logout

Success

SIMS 14
Attendance Management System

Student

L
Login Attendance Logout

Login

View

Logout

Success

SIMS 15
Attendance Management System

3.5 E-R Diagram

Cont no Email id

Fac name Username

Fac id pwd
Faculty

Has
Stu name
Takes
s
Sem
Student

Username Subject

Pwd Takes

Has Get

Stu id Attendance Status

Fac id Att date


Sub id

SIMS 16
Attendance Management System

IMPLEMENTATION

SIMS 17
Attendance Management System

4.1 DATABASE TABLE STRUCTURE

Attendance

Auth

SIMS 18
Attendance Management System

Faculty

Members

SIMS 19
Attendance Management System

Student

Subject

SIMS 20
Attendance Management System

4.2 CODE
Sample Code

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Attendance</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-
scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.7 -->
<link rel="stylesheet"
href="bower_components/bootstrap/dist/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="bower_components/font-
awesome/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet"
href="bower_components/Ionicons/css/ionicons.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="dist/css/AdminLTE.min.css">
<!-- Admin Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -
->

SIMS 21
Attendance Management System

<link rel="stylesheet" href="dist/css/skins/_all-skins.min.css">

<!-- HTML5 Shim and Respond.js IE8 support of HTML5


elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page
via file:// -->
<!--[if lt IE 9]>
<script
src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js">
</script>
<script
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></sc
ript>
<![endif]-->

<!-- Google Font -->


<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:
300,400,600,700,300italic,400italic,600italic">
</head>
<body>
<?php
session_start();
if(isset($_SESSION['user']))
{
$u=$_SESSION['user'];
echo $u;

SIMS 22
Attendance Management System

}
?>
<body class="hold-transition skin-blue sidebar-mini">
<!-- Site wrapper -->
<div class="wrapper">

<header class="main-header">
<!-- Logo -->
<a href="../../index2.html" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>A</b></span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Admin</b></span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="push-
menu" role="button">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>

SIMS 23
Attendance Management System

<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- Messages: style can be found in dropdown.less-->

<!-- Notifications: style can be found in dropdown.less -->

<!-- Tasks: style can be found in dropdown.less -->

<!-- User Account: style can be found in dropdown.less -->

<!-- Control Sidebar Toggle Button -->

</ul>
</div>
</nav>
</header>

<!--
=============================================== --
>

<!-- Left side column. contains the sidebar -->


<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">

SIMS 24
Attendance Management System

<!-- Sidebar user panel -->


<div class="user-panel">
<div class="pull-left image">
<img src="../../dist/img/user2-160x160.jpg" class="img-
circle" alt="User Image">
</div>
<div class="pull-left info">
<p></p>
</div>
</div>
<!-- search form -->

<!-- /.search form -->


<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu" data-widget="tree">
<li class="header"></li>
<!-- <li class="treeview">
<a href="#">
<i class="fa fa-dashboard"></i>
<span>Dashboard</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">

SIMS 25
Attendance Management System

<li><a href="../../index.html"><i class="fa fa-circle-


o"></i> Dashboard v1</a></li>
<li><a href="../../index2.html"><i class="fa fa-circle-
o"></i> Dashboard v2</a></li>
</ul>
</li>-->

<li class="treeview">
<a href="#">
<i class="fa fa-pie-chart"></i>
<span>Subject</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="subjects.php"><i class="fa fa-circle-
o"></i>Add Subject</a></li>
<li><a href="viewsub.php"><i class="fa fa-circle-
o"></i>View Subject</a></li>

</ul>
</li>
<li class="treeview">
<a href="#">
SIMS 26
Attendance Management System

<i class="fa fa-laptop"></i>


<span>Faculty</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="faculty.html"><i class="fa fa-circle-o"></i>
Add Faculty</a></li>
<li><a href="viewfac.php"><i class="fa fa-circle-
o"></i>view Faculty</a></li>

</ul>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-edit"></i> <span>Students</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="student.html"><i class="fa fa-circle-
o"></i>Add Students </a></li>
<li><a href="viewstu.php"><i class="fa fa-circle-
o"></i>View Students </a></li>
SIMS 27
Attendance Management System

</ul>
</li>

<li>
<a href="changpwd.html">
<i class="fa fa-calendar"></i> <span>Change
Password</span>

</a>
</li>
<li>
<a href="logout.php">
<i class="fa fa-calendar"></i> <span>Logout</span>

</a>
</li>

</ul>
</section>
<!-- /.sidebar -->
</aside>

SIMS 28
Attendance Management System

<!--
=============================================== --
>

<!-- Content Wrapper. Contains page content -->


<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Welcome Admin
<!--<small>it all starts here</small>-->
</h1>

</section>

<!-- Main content -->


<section class="content">

<!-- Default box -->


<div class="box">
<!-- <div class="box-header with-border">

</div>-->

SIMS 29
Attendance Management System

</div>
<!-- /.box -->

</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->

<footer class="main-footer">
<div class="pull-right hidden-xs">

</div>

</footer>

<!-- Control Sidebar -->


<aside class="control-sidebar control-sidebar-dark">
<!-- Create the tabs -->
<ul class="nav nav-tabs nav-justified control-sidebar-tabs">
<li><a href="#control-sidebar-home-tab" data-
toggle="tab"><i class="fa fa-home"></i></a></li>

SIMS 30
Attendance Management System

<li><a href="#control-sidebar-settings-tab" data-


toggle="tab"><i class="fa fa-gears"></i></a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<!-- Home tab content -->
<div class="tab-pane" id="control-sidebar-home-tab">
<h3 class="control-sidebar-heading">Recent Activity</h3>
<ul class="control-sidebar-menu">
<li>
<a href="javascript:void(0)">
<i class=" "></i>

<div class="menu-info">
<h4 class="control-sidebar-subheading"></h4>

<p>Will be 23 on April 24th</p>


</div>
</a>
</li>
<li>
<a href="javascript:void(0)">
<i class="menu-icon fa fa-user bg-yellow"></i>

<div class="menu-info">

SIMS 31
Attendance Management System

<h4 class="control-sidebar-subheading"></h4>

<p>New phone +1(800)555-1234</p>


</div>
</a>
</li>
<li>
<a href="javascript:void(0)">
<i class="menu-icon fa fa-envelope-o bg-light-blue"></i>

<div class="menu-info">
<h4 class="control-sidebar-subheading">Nora Joined
Mailing List</h4>

<p></p>
</div>
</a>
</li>
<li>
<a href="javascript:void(0)">
<i class="menu-icon fa fa-file-code-o bg-green"></i>

<div class="menu-info">
<h4 class="control-sidebar-subheading">Cron Job 254
Executed</h4>

SIMS 32
Attendance Management System

<p>Execution time 5 seconds</p>


</div>
</a>
</li>
</ul>
<!-- /.control-sidebar-menu -->

<h3 class="control-sidebar-heading">Tasks Progress</h3>


<ul class="control-sidebar-menu">
<li>
<a href="javascript:void(0)">
<h4 class="control-sidebar-subheading">
Custom Template Design
<span class="label label-danger pull-
right">70%</span>
</h4>

<div class="progress progress-xxs">


<div class="progress-bar progress-bar-danger"
style="width: 70%"></div>
</div>
</a>
</li>
<li>

SIMS 33
Attendance Management System

<a href="javascript:void(0)">
<h4 class="control-sidebar-subheading">
Update Resume
<span class="label label-success pull-
right">95%</span>
</h4>

<div class="progress progress-xxs">


<div class="progress-bar progress-bar-success"
style="width: 95%"></div>
</div>
</a>
</li>
<li>
<a href="javascript:void(0)">
<h4 class="control-sidebar-subheading">
Laravel Integration
<span class="label label-warning pull-
right">50%</span>
</h4>

<div class="progress progress-xxs">


<div class="progress-bar progress-bar-warning"
style="width: 50%"></div>
</div>
</a>
SIMS 34
Attendance Management System

</li>
<li>
<a href="javascript:void(0)">
<h4 class="control-sidebar-subheading">
Back End Framework
<span class="label label-primary pull-
right">68%</span>
</h4>

<div class="progress progress-xxs">


<div class="progress-bar progress-bar-primary"
style="width: 68%"></div>
</div>
</a>
</li>
</ul>
<!-- /.control-sidebar-menu -->

</div>
<!-- /.tab-pane -->
<!-- Stats tab content -->
<div class="tab-pane" id="control-sidebar-stats-tab">Stats
Tab Content</div>
<!-- /.tab-pane -->
<!-- Settings tab content -->

SIMS 35
Attendance Management System

<div class="tab-pane" id="control-sidebar-settings-tab">


<form method="post">
<h3 class="control-sidebar-heading">General
Settings</h3>

<div class="form-group">
<label class="control-sidebar-subheading">
Report panel usage
<input type="checkbox" class="pull-right" checked>
</label>

<p>
Some information about this general settings option
</p>
</div>
<!-- /.form-group -->

<div class="form-group">
<label class="control-sidebar-subheading">
Allow mail redirect
<input type="checkbox" class="pull-right" checked>
</label>

<p>
Other sets of options are available

SIMS 36
Attendance Management System

</p>
</div>
<!-- /.form-group -->

<div class="form-group">
<label class="control-sidebar-subheading">
Expose author name in posts
<input type="checkbox" class="pull-right" checked>
</label>

<p>
Allow the user to show his name in blog posts
</p>
</div>
<!-- /.form-group -->

<h3 class="control-sidebar-heading">Chat Settings</h3>

<div class="form-group">
<label class="control-sidebar-subheading">
Show me as online
<input type="checkbox" class="pull-right" checked>
</label>
</div>

SIMS 37
Attendance Management System

<!-- /.form-group -->

<div class="form-group">
<label class="control-sidebar-subheading">
Turn off notifications
<input type="checkbox" class="pull-right">
</label>
</div>
<!-- /.form-group -->

<div class="form-group">
<label class="control-sidebar-subheading">
Delete chat history
<a href="javascript:void(0)" class="text-red pull-
right"><i class="fa fa-trash-o"></i></a>
</label>
</div>
<!-- /.form-group -->
</form>
</div>
<!-- /.tab-pane -->
</div>
</aside>
<!-- /.control-sidebar -->
<!-- Add the sidebar's background. This div must be placed

SIMS 38
Attendance Management System

immediately after the control sidebar -->


<div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->

<!-- jQuery 3 -->


<script
src="bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap 3.3.7 -->
<script
src="bower_components/bootstrap/dist/js/bootstrap.min.js"></sc
ript>
<!-- SlimScroll -->
<script src="bower_components/jquery-
slimscroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script
src="bower_components/fastclick/lib/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="dist/js/adminlte.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="dist/js/demo.js"></script>
<script>
$(document).ready(function () {
$('.sidebar-menu').tree()
})

SIMS 39
Attendance Management System

</script>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
strict.dtd">

<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Attendance Management System</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link
href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:2
00,300,400,600,700,900" rel="stylesheet" />
<link href="default.css" rel="stylesheet" type="text/css"
media="all" />
<link href="fonts.css" rel="stylesheet" type="text/css"
media="all" />
<!--[if IE 6]>
<link href="default_ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>
<body>
<div id="header-wrapper">

SIMS 40
Attendance Management System

<div id="header-wrapper2">
<div id="header" class="container">
<div id="logo">
<h1><a
href="#">Attendance</a></h1>
</div>
<div id="menu">
<ul>
<li
class="current_page_item"><a href="#" accesskey="1"
title="">Homepage</a></li>
<!--<li><a href="#"
accesskey="2" title="">Portfolio</a></li>
<li><a href="#" accesskey="3"
title="">About Us</a></li>
<li><a href="#" accesskey="4"
title="">Careers</a></li>-->
<li><a href="indexlogin.html"
accesskey="5" title="">Login</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="featured-wrapper">
<div id="featured" class="container">

SIMS 41
Attendance Management System

<div class="column1"><span class="icon icon-


cogs"></span>
<h2>ADMIN</h2>
</div>
<div class="column2"><span class="icon icon-
suitcase"></span>
<h2>USER</h2>
</div>
<div class="column3"><span class="icon icon-
group"></span>
<h2>STUDENT</h2>
</div>
<div class="column4"><span class="icon icon-
sitemap"></span>
<h2>FACULTY</h2>
</div>
</div>
</div>

</div>

</div>
<div id="copyright" class="container">
<p></p>
</div>
</body>
SIMS 42
Attendance Management System

</html>
<?php

include("config.php");
$user=trim($_POST['username']);
$pass=trim($_POST['password']);
$utype=trim($_POST['logtype']);
$sql ="select username,spassword,authtype from auth where
username='$user' and spassword='$pass'";
$result = mysqli_query($con,$sql);
$num=mysqli_num_rows($result);
if($num==0)
{

echo "<script language='javascript'>


alert('Error :- Login Name or Password is Invalid.')
window.location.assign('index.html')
</script>";

unset($id);
}
else
{
while($r=mysqli_fetch_row($result))
{

SIMS 43
Attendance Management System

// echo "<option value='$r[0]'> $r[1] </option>";

session_start();
$_SESSION['user']=$user;
$_SESSION['pass']=$pass;
$_SESSION['utype']=$utype;
if($utype=='Admin' and $utype==$r[2])
{
header("location:admin.php");

}
else
{

if($utype=='Faculty' and $utype==$r[2])


{
header("location:fachome.php");
}
else
{
if($utype=='Student' and $utype==$r[2])
{
header("location:stuhome.php");
}

SIMS 44
Attendance Management System

else
{
echo "<script language='javascript'>
alert('Error :- 111Login Name or Password is
Invalid.')
window.location.assign('index.html')
</script>";
}
}

}
}
}
mysqli_close($con);
?>

SIMS 45
Attendance Management System

SYSTEM TESTING

SIMS 46
Attendance Management System

What is Testing?
A process of executing a program with the explicit intention of finding
errors, that is making the program fail.

Testing Objectives:
The main objectives of testing are to uncover a host of errors,
systematically and with minimum effort and time. Stating formally, we can say,
• Testing is a process of executing a program with the intent of finding an
error.
• A successful test is one that uncovers an as yet undiscovered error.
• A good test case is one that has a high probability of finding error, if it
exists.

Levels of Testing:
In order to uncover the errors, present in different phases we have
the concept of levels of testing. The basic levels of testing are:

Client Needs Acceptance Testing


Requirements System Testing
Design Integration Testing
Code Unit Testing

5.1 Performance Testing

Performance Testing covers a broad range of engineering or


functional evaluations where a material, product or system is not specified by
detailed material or component specification: Rather, emphasis on the final
measurable performance characteristics.

SIMS 47
Attendance Management System

It can also refer to the assessment of the performance of a human examinee.


For example, a behind-the-wheel driving test is a performance test of whether a
person is able to perform the functions of a competent driver of an automobile.

Web server Stress Tool is a powerful HTTP-client/server test application


designed to pinpoint critical performance issues in your web site or web server
that may prevent optimal experience for your site’ visitors.

Using Web server Stress Tool when developing and running Websites is
important for your web infrastructure:
• Maximize Uptime: Resolve performance critical issues in your web server
before they bring down your website.
• Maximize Performance: Make sure that your websites and applications are
given the server resources they need when they need it to guarantee a high-
quality user experience.
• Maximize ROI: Get everything out of the investment in your web server
technology through consistent and in-depth testing and analysis.
• Maximize Value: Web server Stress Tool is the most cost-effective
solution in the market for stimulating performance, load, and stress tests
for your web server.

5.2 UNIT TESTING:

In computer programming, unit testing is a procedure used to validate that


individual units of source code are working properly. A unit is the smallest
testable part of an application. In procedural programming a unit may be an
individual program, function, procedure, etc., while in object-oriented
programming, the smallest unit is a method, which may belong to a base/super
class, abstract class or derived/child class.

The following list describes two ways to test Web services with unit tests:

SIMS 48
Attendance Management System

• The Web services runs on an active Web server. There are no special
requirements for testing a Web service that runs on a local or a remote Web
server, such as IIS. To do this, add a web reference and then call the web
methods of the Web services from your unit tests just as they would call
the methods of a program that is not a web service.
The purpose of unit testing is to test individual hardware or software units,
or small group of related units. The emphasis is on removing coding errors
(typos, basic logic problems, syntax errors). In some cases, code inspection
and walkthroughs are used to verify those units or code paths that are not
feasibly tested.

5.3 INTEGRATED TESTING:

Integrated testing (sometimes called Integration and testing,


abbreviation I&T) is the phase of software testing in which individual software
modules are combined and tested as a group. It follows unit testing. Integration
testing takes as its input modules that have been unit tested, groups them in larger
aggregates, applies tests defined in an integration test plan to those aggregates,
and delivers as its output the integrated system ready for system testing.

The purpose of integration testing is to verify functional, performance and


reliability requirements placed on major design items.

Objective of Integration testing is to make sure that the integration of two


or more components produces results that satisfy functional requirement. In
integration testing, test cases are developed with the express purpose of
exercising the interface between the components.

Integration testing can be also be treated as testing assumption of fellow


programmer. During the coding phases, lots of assumptions are made.
Assumptions can be made for how you will receive data from different
components and how you have to pass data to different components. During Unit

SIMS 49
Attendance Management System

Testing, these assumptions are not tested. Purpose of unit testing is also to make
sure that these assumptions are valid.
• Interface Misuse – A calling component call another component and makes
an error in its use of interface, probably by calling/passing parameters in
the wrong sequence.

5.4 TEST CASE DESCRIPTION


RESULT TABLE

1. Login process

Test Test Steps Expected Test Actual Res


No scenario result data Result ult

L01 Authenticat Enter the user Login Manoj Invalid Fails


ion into the name, password, should be user
application. select the admin success sims name
or faculty or when user and
student and click name and password
login button. password is .
match the
database.

Authenticat Enter the user Login Priya Opens pass


L02 ion into the name, password, should be the
application. select the admin success admin admin
or faculty or when user home.
student and click name and
login button. password is
match the
database.

SIMS 50
Attendance Management System

L03 Authenticat Enter the user Login Manavi Open the pass
ion into the name, password, should be student
application. select the admin success student home.
or faculty or when user
student and click name and
login button. password is
match the
database.

2. Admin
a) Student

Test Test Steps Expected Test Data Actual Resu


no Scenario Result Result lt

A01 Add the Enter the After adding 16mfsb70 Successf


student student student details 01 ully
details. Register no, it should be Abhishek Student
Name, store in 5th sem. details Pass.
Semester. database. Stored in
the
database.

A02 Add the Enter the After adding 16MFSB7 Student


student student student details 002 details is
details. Register no, it should be Anusha not Fail.
Name, store in 5th sem. stored in
Semester. database. data
base.

A03 Add the Enter the After adding 16MFSB7 Student


student student student details 003 details
details. Register no, it should be Asha is not Fail.
Name, store in 5th sem. stored in
Semester. database. data
base.

SIMS 51
Attendance Management System

b) Subject

Test Test Steps Expected Test Data Actual Result


no Scenario Result Result

E01 Add the Enter the After Microprocessor Subject


subject subject adding details
details. name, subject Madhumita is stored Pass.
faculty details it in data
th
name, should 5 sem. base.
semester. be store
in
database.

E02 Add the Enter the After Java Subject


faculty subject adding details
details. name, subject Sheela pawar is stored Pass.
faculty details it in data
name, should 5th sem. base
semester. be store
in
database.

E03 Add the Enter the After Computer Subject


faculty subject adding architecture details
details. name, subject is not
faculty details it Vijayalaxmi stored Fail.
name, should in data
semester. be store 5th sem. base
in
database.

SIMS 52
Attendance Management System

c) Faculty

Test Test Steps Expected Test Data Actual Result


no Scenario Result Result

F01 Add the Enter After Data faculty


faculty faculty adding communicati details
details. name, faculty on and is not
contact no, details it network stored in Fail.
email, should be data
username, store in Divya base.
password, database.
repeat 5th Semester
password.

F02 Add the Enter After Software faculty


faculty faculty adding engineering details
details. name, faculty is stored
contact no, details it Manjunath in data Pass.
email, should be base.
username, store in 5th Semester
password, database.
repeat
password.

F03 Add the Enter After Banking and faculty


faculty faculty adding finance details
details. name, faculty is not
contact no, details it Vijayalaxmi stored in Fail.
email, should be data
th
username, store in 5 Semester base.
password, database.
repeat
password.

SIMS 53
Attendance Management System

3. Faculty view

Test Test Steps Expected Test Actual Result


no Scenario Result Data Result

F01 Take the According Present or 5th Mark


Attendanc to the Absent semester present if
e of the semester should be student is
students mark the marked to Madhum absent it
Attendance the ita will not Fail.
of the student. automaticall
students micropro y generate
cessor result as
absent.

F02 Take the According Present or 5th Mark


Attendanc to the Absent semester present if
e of the semester should be student is
students mark the marked to Vijayala absent it
Attendance the xmi automaticall
of the student. y generates Pass.
students Compute result as
r absent.
architect
ure

F03 Take the According Present or 5th Mark


Attendanc to the Absent semester present if
e of the semester should be student is
students mark the marked to Sheela absent it
Attendance the pawar automaticall Pass.
of the student. y generates
students java result as
absent.

SIMS 54
Attendance Management System

4. Student view

Test Test Steps Expected Test Actual Result


no Scenario Result Data Result

S01 View the Student The data Anu Successfully


attendance should stored in Showed
of the login and data base 7002 attendance Pass.
particular view of details of
student. attendance. particular Anusha.
student
should be
shown.

S01 View the Student The data


attendance should stored in Asha Successfully
of the login and data base Showed the
particular view of details of the Pass.
student. attendance. particular 7003 faculty.
student
should be
shown.

S01 View the Student The data


attendance should stored in Balu Unsuccessful
of the login and data base In showing Fails.
particular view of the details of
student. attendance. particular 7004 the subjects.
student
should be
shown.

SIMS 55
Attendance Management System

SCREENSHOTS

SIMS 56
Attendance Management System

6.1 HOME PAGE

6.2 LOGIN PAGE-ADMIN

SIMS 57
Attendance Management System

6.3 LOGIN PAGE-FACULTY

6.4 LOGIN PAGE-STUDENT

SIMS 58
Attendance Management System

6.5 SUBJECT DETAILS

6.6 FACULTY REGISTRATION

SIMS 59
Attendance Management System

6.7 STUDENT REGISTRATION

6.8 STUDENT DETAILS

SIMS 60
Attendance Management System

6.9 ATTENDANCE DETAILS

SIMS 61
Attendance Management System

6.10 PASSWORD CHANGE

6.11 FACULTY DETAILS

SIMS 62
Attendance Management System

6.12 SUCESSFUL MESSAGE

SIMS 63
Attendance Management System

6.12 SUBJECT ENTRY

SIMS 64
Attendance Management System

CONCLUSION & FUTURE SCOPE

SIMS 65
Attendance Management System

7.1 FUTURE SCOPE


The project has a very vast scope in future. The project can be
implemented on online in future. Project can be updated in near future as and
when requirement for the same arises, as it is very flexible in terms of expansion.
With the proposed software of database Space Manager ready and fully functional
the client is now able to manage and hence run the entire work in a much better,
accurate and error free manner.
The following are the future scope for the project.
● Discontinue of particular student eliminate potential attendance.
● Bar code Reader based attendance system.
● Individual Attendance system with photo using Student login.
7.2 CONLUSION
The Attendance Management System is developed using PHP, MY
SQL, HTML fully meets the objectives of the system which it has been
developed. This software reduces the amount of manual data entry and gives
greater efficiency. The user interface of it is very friendly and can be easily used
by anyone. It also decreases the amount of time taken to write details and other
modules.
All the details about students, teachers and their other tasks can only
be seen by the verified users. This Attendance Management System is a solution
to all the problems related to the attendance, course taken by the teachers and
the students etc.

SIMS 66
Attendance Management System

BIBLIOGRAPHY

SIMS 67
Attendance Management System

LINK REFFERED

http://www.projectsmart.co.uk/uml-books.html

http://www.chilanti.com/node/5250

http://www.ibm.com/developerworks/rational /library/5822.html

BOOKS REFFERED

• The Unified Modelling Language by Grady Booch, James Rumbaugh, Ivar


Jacobson.
• UML distilled third edition by Martin Fowler.
• Microsoft Visual PHP 2005 by John Sharp
• PHP Unleashed: With the .PHP Framework 3.5 by Joseph Mayo.
• Server Programming by Francesco Balena.
• Design Patterns: Elements of Reusable Object-Oriented by Erich Gamma

SIMS 68
Attendance Management System

SIMS 69
Attendance Management System

SIMS 70

Vous aimerez peut-être aussi