Beruflich Dokumente
Kultur Dokumente
ABSTRACT
“Alert Notifications for Staff & Students” is a web based application which is mainly used for
alerting the staff for their modified schedule and attendence shortage alert , drive exam alerts
for students.
The project is used to view the details of faculty and students and maintain their data base in an
efficient manner. So that their maintainence will be easy.
Admin will be adding Faculty,Students,Subjects for every semester and he is responsible for
maintaining and modifying the timetable.The Student attendance is maintained by the faculty.In
this the faculty can easily enter the day wise attendance and can send SMS if the student is
absent.Faculty is also involved in managing the job details and sending job alerts to the
students.They also have the facility to view their timetable. Students can be able to view their
attendance and job openings.
To provide security students,faculty and admin has different logins to access their respective
modules.
1
Alert Notifications for Staff & Students
1.INTRODUCTION
In a class,the faculty generally takes roll calls of the students and enters in a
registry whether the student is present or absent and they need to maintain the records for
calculating student’s attendance percentage manually which is a time consuming process.
The faculty Timetable will be maintained by the college management. For
example if the timetable changes then the faculty doesn’t know until and unless he/she
communicates with other faculty.There will be no intimation of the modified timetable.
Students will be having their placements so they need to be notified about the job
details.The manual system is not convenient because the college management will announce the
details or paste it in a notice board.
“Alert Notifications for Staff & Students” is a web based application which is
mainly used for alerting the staff for their modified schedule and attendence shortage alert , drive
exam alerts for students.
Admin will be adding Faculty,Students,Subjects for every semester and he is
responsible for maintaining and modifying the timetable.The Student attendance is maintained
by the faculty.In this the faculty can easily enter the day wise attendance and can send SMS if
the student is absent.Faculty is also involved in managing the job details and sending job alerts to
the students.They also have the facility to view their timetable. Students can be able to view their
attendance and job openings.
To provide security students,faculty and admin has different logins to access their
respective modules.
2
Alert Notifications for Staff & Students
Alert notifications for staff & students is a web based system developed for daily student
and staff attendance in schools, colleges and institutes.It facilitates to access the attendance
of students . Faculty can view there modified schedule and can post,notify about student
attendance.This system will also help in posting the job details.
1.2 Purpose
The purpose of developing alert notifications for staff & students is to computerized the
traditional way of taking attendance and modify the time table. Another purpose for
developing this website is to generate the report automatically at the end of session or in
between the session.
1.3 Scope
The scope of the project is the system on which the website can be accessed. i.e., the project
is developed as a web application and it will work for a particular institute.
3
Alert Notifications for Staff & Students
2.SYSTEM ANALYSIS
The timetable of a class is discussed and prepared by the faculty members.In this system the
faculty may or may not be notified about changes done in the time table which is done at present
or previous day.The existing system contains lot of paper work and it is very time consuming
process.
Using this system one can easily get the information about attendance of staff and students in
college and can also get the attendance shortage SMS.In this system an online time table will be
generated and SMS will be sended to the faculty if any modifications are done.In this system a
placement eligibility list will be generated basing on students aggregate and placement
notifications are sended to the students via SMS.
The objective of alert notification for staff and students is to provide better information for the
users of the system for better results for their feature prospective in today’s very compitative
world according to the qualification
4
Alert Notifications for Staff & Students
3.REQUIREMENT ANALYSIS
Requirement analysis is a software engineering task that bridges the gap between system
software allocation and software design.It provides system engineer to specify software function
and performance indicate software’s interface with other system elements and establish
constraints that software must need.The basic aim is to obtain a clear picture of the needs and
requirements of the end user and also the organization.The system requirements analysis aims at
studying the available resources and estimating how to use each of them.It gives a basic idea of
future requirements and makes the team to get prepared to acquire them in advance,As far as
computer projects are concerned two types of requirements are essential:
Analysis involves interaction between analysis and client.The analyst research the problem
from the question ask and reading existing documents.During Analysis,it is essential that a
complete and consistent set of specification emerge for the system.
Requirement Analysis
Requriement Specification
Requirement Validation
5
Alert Notifications for Staff & Students
Technical Feasibility
To determine whether the proposed system is technically feasible,we should take into
consideration the technical issues involved behind the system.E-Classifieds uses the web
technologies,which is rampantly employed these days worldwide.The world without the web is
incomprehensible.That goes to proposed system is technically feasible.
We can use this website in any OS.They can have their own security .The back-end
MYSQL and front end are platform independent.so we can port this entire application in any
environment.Both are having their individual configutation to get better performance and backup
issues.
Economic Feasibility
To determine the operational feasibility of the system we should take into consideration the
awareness levels of the users.This system is operational feasible since the users are familiar with
the technologies and hence there is no need to gear up the personnel to use system.Also the
system is very friendly and to use.
Operational Feasibilty
In our application front end is developed using html.So it is very easy to the customers to
enter the necessary information.The user should have some knowledge for using web
applications before going to use our application.
6
Alert Notifications for Staff & Students
The following is the environment and specifications in which the application is developed and is
the minimum configuration required to run the application.
SOFTWARE REQUIREMENTS
Backend : PHP
Database : MYSQL
HARDWARE REQUIREMENTS
RAM : 2 GB
Hard Disk : 10 GB
7
Alert Notifications for Staff & Students
Admin:
The admin is responsible for adding faculty,students and subjects.He can add add or remove
the users from the database.Admin is mainly involved in maintaining the faculty timetable and
sending SMS to the faculty if any mofifications are made in the timetable.
Faculty:
Faculty mainly handles the student attendance and is responsible for sending SMS to absent
students.In this system there is also a facility of sending attendance shortage alert to the students
by the faculty.Faculty can also be able to view their Timetable.They are also responsible for
adding and sending SMS of new job details to the students.
Student:
Each and Every Student can be able to access the system using their Id and Password.They
can be able to view their attendance and also the job openings.No student is given a right to
make modifications.
8
Alert Notifications for Staff & Students
Module Description
Implementation is the stage of the project when the theoretical design is turned out into
a working system.Thus it can be considered to be the most critical stage in achieving a successful
new system and in giving the user,confidence that the new system will work and be effective.
Modules are,
1. ADMIN
2. FACULTY
3. STUDENT
Admin Module
Posting the faculty attendance and sending SMS to them if they are absent.
Modifying the Schedule as per Faculty Requirement.
Add subjects,faculty,students.
Faculty Module
Faculty is responsible for:
Posting the student attendance and sending SMS to them if they are absent.
Viewing their schedule and modified schedule.
Adding Jobs
Sending SMS to the attendance shortage students
9
Alert Notifications for Staff & Students
Student Module
Attendance.
Job Openings.
The proposed system is a user friendly because the retrieval and storing of
data is fast and data is maintained efficiently.Moreover the graphical user interface is
provided in the proposed system,which provides user to deal with the system very easily.
3.5.2 Reports are easily generated
Reports can be easily generated in the proposed system so user can generate
The report as per the requirement (monthly) or in the middle of the session.User can give
notice to the students to be regular.
3.5.3 Very less paper work
The proposed system requires very less paper work.All the data is feted into
work becomes very easy because there is no need to keep data on papers.
storing and retrieving of information is easy.So work can be done efficiently in time.
10
Alert Notifications for Staff & Students
3.6.1 Glossary
Actors Description
Admin A person appointed by the management
Faculty A person registered by the admin
Student A person registered by the admin
Table 2.3.1 Glossary table
Input Design
The input design is the link between the information systems and the user.It
comprises the developing specification and the procedures for data preparation and those
steps are necessary to put transaction data in to a usable form for processing can be achieved
by inspecting the computer to read data from a written or printed document or it can occur
by having people keying the data directly into the system.The design of input focuses on
steps and keeping the process simple.The input is designed in such away so that it provides
security and ease of use with retaining the privacy.Input design considers the following
things.
Methods for preparing input validations and steps to follow when error occur.
11
Alert Notifications for Staff & Students
Objectives
Input design is the process of converting a user-orientation description of the input into a
computer-based system.This design is important to avoid errors in the data input process
and show the correct direction to the management for getting correct information from
It is achieved by creating user friendly screens for the data entry to handle large volume
of data.The goal of designing input is to make data entry easier and to be free from
error.The data entry screen is designed in such a way that all that data manipulates can be
When the data is entered it will check for its validity.Data can be entered with the help of
screens.Appropriate messages are provided as when needed so that user will not be in
maize of instant.Thus the ojective of input design is to create an input layout that is easy
to follow.
Output Design
A quality output is one,which meets the requirements of the end userand presents the
information clearly.In any system results of processing are communicated to the users and to
other system through outputs.In output design it is determined how the information is to be
displaced for immediate need and also the hard copy output.It is the most important and
direct source information to the user.Efficient and intelligent output design improves the
12
Alert Notifications for Staff & Students
Error avoidance
At this stage care is to be taken to ensure that input data remains accurate from the stage
at which it is recorded up to the stage in which the data in which the data is accepted by the
system.This can be achieved by means of careful control each time the data is handled.
Error detection
Even though every afford is made to avoid the occurrence of errors,still small
proportion of errors are likely to occur ,these types of errors can be discovered by using
validations to check the input data.
Data Validation
Procedures are designed to detect errors in data at a lower level of detail.Data validations
have been included in the system in almost every area where there is possibility for the user to
commit errors.The system will not accept invalid data. Whenever an invalid data is keyed in the
13
Alert Notifications for Staff & Students
system immediately prompts the user and the user has to again key in the data and the system
will accept the data only if the data is correct.
Reliability:
The system has been developed by considering every single quality factor.Due to this
reason the system is highly secure from the crash down problem.Moreover,the system is
highly reliable due to the security and integrity features.
Availability:
The system has been developed so that we can report complaints at any time round the
clock and the administrator will respond within 24 hours.
Security:
The system has been developed so that only the admin and faculty can edit and delete
the details.Student doesn’t have any permissions to modify the details.
Portability:
Performance:
The system has been developed so that the user can enter into the original system within
minutes when he entered through the login page.This requirement analysis is helpful for
better understanding about the system.Mainly the fuctional requirements are most essential
and useful for the system for further proceeding.The phases play a vital role in the system
output.The better understanding the sytem gives a better output for the system.
14
Alert Notifications for Staff & Students
15
Alert Notifications for Staff & Students
4.System Design
The development of UML began in late 1994 when Grady Booch and jim Rum Bough of
Rational Software Corporation began their work on unifying the Booch and OMT (object
Modeling Technique) methods.
Forward engineering is the generation of code from a UML model into a programming language.
The reverse is also possible: you can reconstruct a model From an implementation back into
UML. Reverse engineering is not magic. Unless you encourt the information in the
implementation, information is lost when moving forward from models to code. Reverse
engineering thus requires tool support with human intervention. Combining these two paths
forward code generation and reverse engineering yields round-trip engineering, meaning the
ability to work in either a graphical or textual view, while tools keep the two views consistent.
The unified engineering language allows the software engineer to express an analysis model
using the modeling nation that is governed by a set of syntactic and semantic and pragmatic
rules.
Relationships:
Generalization: A relationship between the elements and sub elements that may be
substituted for it.
A UML system is represented using five different views that described the system form distinctly
different perspective. Each view is defined by a set of diagram, which is follow as.
16
Alert Notifications for Staff & Students
In this model the data and functionality are arrived from inside the system.
This model view models the static structure.
It represent the dynamic of behavioral as parts of the system, depicting the interactions
of collection between various structural elements described in the user model and structural
model view.
In this the structural and behavioral as part of system are represented as they are to be
built.
Structural Diagram:
A type of diagram that depicts the element of specification that are irrespective of time. This
includes class, composite structure, component , deployment, object and package diagrams.
Class Diagram:
Shows a collection of static model elements such as classes and types, their contents
and relationships.
Object Diagram:
Depicts object and their relationships at a point in time, typically a special case of
either a class diagram or a communication diagram.
17
Alert Notifications for Staff & Students
Packages Diagram:
Show how model elements are organized into packages as well as the dependencies
between packages . Higher-level model organization.
Behavioral Diagram :
A type of diagram that depicts behavioral feature of a system or business process. This
include activity, state machine and use case diagrams as well as the four interaction diagrams.
Sequence Diagram: models in the sequential logic, in effect the time ordering of
messages between classifiers. Time ordered sequences of interacting objects.
Collaboration diagram: Object-centered interaction of a society of objects.
State transition diagram: Describes the states an objects or interaction may be in, as
well as the transition between states. Formerly referred to as a state diagram, state chart
diagram, or a state-transition diagram. The life history of a single object
Activity diagram : Depicts high-level business processes, including data flow, or to
model the logic of complex logic within a system. Procedural flow of control within an
overall interaction
Implementation Diagrams
18
Alert Notifications for Staff & Students
Advantages
Provide users with a ready-to-use, expressive visual modeling languages so they can
develop and exchange meaningful models.Provide extensibility and specialization mechanisms
to extend the core concepts.
19
Alert Notifications for Staff & Students
4.2 Diagrams:
Use case diagrams are created to visualize the relationships between actors and use cases. A use
case is a pattern of behavior the system exhibits. Each use case is a sequence of related
transactions performed by an actor and the system. A use case defines the interactions between
external actors and the system under consideration of accomplish a goal. Actors must be able to
make decisions, but need not be human: “An actor might be a person , a company or
organization, a computer program, or a computer system – hardware, software or both.
Diagrammatically actor and use case are represented by
Symbols:
Actor
use case
Relationships:
20
Alert Notifications for Staff & Students
Login
Add_Faculty
Add_Students
Admin Add_Subjects
Modify_faculty_schedule
Logout
Login
Post_student_attendance
Add_jobs
Faculty
View_Timetable
Logout
21
Alert Notifications for Staff & Students
Login
View_attendance
Student View_job_openings
Logout
22
Alert Notifications for Staff & Students
Faculty
Admin
id : string
id : string password : string
password : string
login()
login() add_jobs()
add_faculty() post_student_attendance()
add_students() 1 send_absent_sms()
1..*
add_subjects() send_attendance_shortage_sms()
modify_timetable() view_timetable()
send_schedule_sms() view_modified_timetable()
logout() send_job_sms()
1 logout()
1..*
1..* 1..*
Student
id : string
password : string
login()
view_attendance()
view_job_openings()
logout()
23
Alert Notifications for Staff & Students
UML sequence diagrams are used to show how objects interact in a given situation. An
important characteristics of a sequence diagram is that time passes from top to bottom: the
interaction starts near the top of the diagram and ends at the bottom.
A popular use for then is to document the dynamics in an object-oriented system. For each key
collaboration, diagrams are created that show how objects interact in various representative
scenarios for that collaboration.
Symbols:
Destructor:
life line
Message:
24
Alert Notifications for Staff & Students
verify
add_faculty
add_students
add_subjects
modify_timetable
send_sms_if_timetable changes
logout
25
Alert Notifications for Staff & Students
login
verify
post_student_attendance
send_sms_if_absent
add_jobs
send_job_sms
send_sms_if_attendance_shortage
logout
Student
Alert Notifications for Staff &
Students
login
verify
view_attendance
view_job_openings
logout
26
Alert Notifications for Staff & Students
Method calls are similar to that of a sequence diagram. However, difference being the sequence
diagram does not describe the object organization, whereas the collaboration diagram shows the
object organization.
1: login
4: add_faculty 2: verify
6: add_subjects
5: add_students
7: modify_timetable
9: logout
Admin Alert Notifications for
Staff & Students
8: send_sms_if_timetable changes
Faculty
27
Alert Notifications for Staff & Students
2: verify
1: login
4: post_student_attendance
6: add_jobs
9: logout
Faculty Alert Notifications for
Staff & Students
3: validate & authenticate details
5: send_sms_if_absent
7: send_job_sms
8: send_sms_if_attendance_shortage
Student
1: login 2: verify
4: view_attendance
5: view_job_openings
6: logout
Student Alert Notifications for
Staff & Students
3: validate & authenticate details
28
Alert Notifications for Staff & Students
Symbols:
Start: Stop:
Admin login
[ invalid ]
[ valid ]
add_students send_schedule
_sms
logout
29
Alert Notifications for Staff & Students
Faculty login
[ invalid ]
[ valid ]
send_sms_to_ send_job
student sms_if_eligible
logout
Student login
[ invalid ]
view_attendance
view_job_openings
logout
4.3Data Dictionary:
30
Alert Notifications for Staff & Students
After carefully understanding the requirements of the candidate the entire data storage
requirements are divided into tables. The below tables are normalized to avoid any
anomalies during the course of data entry.
The volume if data in most information system application is substantially more than a
single user can easily keep track of data dictionaries are an integral component of
structural analysis, since data flow diagrams by themselves do not fully describe the
subject of investigation . The data dictionary provides additional information about the
system.
A data dictionary a repository of the element in a system. As the name suggests, these elements
center around data and the way they are structured to meet user requirements and organization
needs. In a data dictionary we will find a list of all elements composing the data flowing through
a system. The major elements are data flows, data stores and process the data dictionary stores
details and descriptions of these elements.
32
Alert Notifications for Staff & Students
33
Alert Notifications for Staff & Students
Attendance table:
34
Alert Notifications for Staff & Students
Semester table
4.4.1 Normalization
If a database design is not perfect, it may contain anomalies, which are like a bad dream
for any database administrator. Managing a database with anomalies is next to impossible.
Update anomalies − If data items are scattered and are not linked to each other properly,
then it could lead to strange situations. For example, when we try to update one data
item having its copies scattered over several places, a few instances get updated properly
while a few others are left with old values. Such instances leave the database in an
inconsistent state.
35
Alert Notifications for Staff & Students
Deletion anomalies − We tried to delete a record, but parts of it was left undeleted
because of unawareness, the data is also saved somewhere else.
Insert anomalies − We tried to insert data in a record that does not exist at all.
Normalization is a method to remove all these anomalies and bring the database to a consistent
state.
First Normal Form is defined in the definition of relations (tables) itself. This rule defines that
all the attributes in a relation must have atomic domains. The values in an atomic domain are
indivisible units.
Each attribute must contain only a single value from its pre-defined domain.
36
Alert Notifications for Staff & Students
If we follow second normal form, then every non-prime attribute should be fully functionally
dependent on prime key attribute. That is, if X → A holds, then there should not be any proper
subset Y of X, for which Y → A also holds true.
We see here in Student_Project relation that the prime key attributes are Stu_ID and Proj_ID.
According to the rule, non-key attributes, i.e. Stu_Name and Proj_Name must be dependent
upon both and not on any of the prime key attribute individually. But we find that Stu_Name
can be identified by Stu_ID and Proj_Name can be identified by Proj_ID independently. This is
called partial dependency, which is not allowed in Second Normal Form.
37
Alert Notifications for Staff & Students
We broke the relation in two as depicted in the above picture. So there exists no partial
dependency.
o X is a superkey or,
o A is prime attribute.
38
Alert Notifications for Staff & Students
We find that in the above Student_detail relation, Stu_ID is the key and only prime key
attribute. We find that City can be identified by Stu_ID as well as Zip itself. Neither Zip is a
superkey nor is City a prime attribute. Additionally, Stu_ID → Zip → City, so there
exists transitive dependency.
To bring this relation into third normal form, we break the relation into two relations as follows
−
5.SYSTEM IMPLEMENTATION
39
Alert Notifications for Staff & Students
HTML stands for Hypertext Markup Language, and it is the most widely used
language to write Web Pages. Hypertext refers to the way in which Web pages (HTML
documents) are linked together. Thus, the link available on a webpage is called Hypertext. As
its name suggests, HTML is a Markup Language which means you use HTML to simply "mark-
up" a text document with tags that tell a Web browser how to structure it to display. Originally,
HTML was developed with the intent of defining the structure of documents like headings,
paragraphs, lists, and so forth to facilitate the sharing of scientific information between
researchers. Now, HTML is being widely used to format web pages with the help of different
tags available in HTML language.
<html>
<head>
</head>
<body>
<h1>This is a heading</h1>
</body>
</html>
HTML Tags
40
Alert Notifications for Staff & Students
As told earlier, HTML is a markup language and makes use of various tags to format the content.
These tags are enclosed within angle braces<Tag name> . Except few tags, most of the tags have
their corresponding closing tags. For example,<html> has its closing tag</html>and <body>
tag has its closing tag </body> etc.
5.1.2 PHP
41
Alert Notifications for Staff & Students
Php is a acronym for hyper text pre processer. Php is an open source general purpose
serverside scripting language originally designed for web development to produce dynamic web
pages. It is one of the first developed serverside scripting languages to be embedded into a html
source document rather then calling an external file to process date. The code is interpreted by a
web server with a php processor module which generates the resulting web page. It also evolved
to include a commandline interface capability and can be used in standalone graphical
applications.
Constants:
Variables:
Variables are the names of memory location in which constant values are stored
and are denoted withdoller sign($).
Local variable:
42
Alert Notifications for Staff & Students
Function parameters:
Function parameters are declared after the function name with in parenthesis.
Global variables:
Global variable can be accessed through out the program. To make a variable
global the variable should be placed with GLOBAL keyword in front of it.
Static variable:
A static variable does not lose its value even if the function execution completes. A
static variable is declared by placing STATIC keyword in front of it.
Rules:
5.1.3 Bootstrap
Bootstrap is a free front-end framework for faster and easier web development
Bootstrap includes HTML and CSS based design templates for typography, forms,
buttons, tables, navigation, modals, image carousels and many other, as well as optional
JavaScript plugins
Bootstrap also gives you the ability to easily create responsive designs
5.1.4 MYSQL
Database:
43
Alert Notifications for Staff & Students
It is a database product, open source, works along with any programming language.
In order to create database and to manipulate them, we generally use command line tools in
Mysql. XAMPP is a free online to use which we can combinely install a web server
(Apache), a server side programming language (php) and a data base product (mysql).
XAMPP provides a browser interface for Mysql called “PHP My admin” using which we can
create and manipulate databases in mysql server.
Before accessing a database one should create a connection to database within mysql _connect ()
statement.
If the connection is established successfully then will get true otherwise it gets false.
44
Alert Notifications for Staff & Students
<SCRIPT>..</SCRIPTS>
JavaScript ststements
</SCRIPT>
Animate images or rotate images that chane when we move the mouse over them.
Detect the browser in use and display different content for different browsers.
Detect installed plug_in and notify the user if a plug-in is required.
JavaScript and java are entirely different languages.A few of the most glaring differences are:
45
Alert Notifications for Staff & Students
Java applets are generally displayed in a box within the web document;JavaScript can
affect any part of the web document itself.
While JavaScript is best suited to simple applications and adding interactive features to
web pages; java can be used for incredibly complex applications.
There are many other differences but the important thing to remember is that JavaScript and Java
are separate languages.They are both useful for different things;in fact they can be used together
to combine their advantages.
Advantages
5.1.6 jQuery
The purpose of jQuery is to make it much easier to use JavaScript on your website.
jQuery takes a lot of common tasks that require many lines of JavaScript code to accomplish,
and wraps them into methods that you can call with a single line of code.
jQuery also simplifies a lot of the complicated things from JavaScript, like AJAX calls and DOM
manipulation.
HTML/DOM manipulation
CSS manipulation
HTML event methods
Effects and animations
AJAX
Utilities
46
Alert Notifications for Staff & Students
<?php
if (isset($_GET['generated']) && $_GET['generated'] == "false") {
unset($_GET['generated']);
echo '<script>alert("Timetable not generated yet!!");</script>';
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="description" content=""/>
<meta name="author" content=""/>
<title>TimeTable Management System</title>
<!-- BOOTSTRAP CORE STYLE CSS -->
<link href="assets/css/bootstrap.css" rel="stylesheet"/>
<!-- FONT AWESOME CSS -->
<link href="assets/css/font-awesome.min.css" rel="stylesheet"/>
<!-- FLEXSLIDER CSS -->
<link href="assets/css/flexslider.css" rel="stylesheet"/>
<!-- CUSTOM STYLE CSS -->
<link href="assets/css/style.css" rel="stylesheet"/>
<!-- Google Fonts -->
47
Alert Notifications for Staff & Students
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top " id="menu">
<div class="container">
<div align="center">
<h3 align="center">ALERT NOTIFICATIONS FOR STAFF & STUDENTS </h3>
</div>
</div>
</div>
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators" style="margin-bottom: 160px">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
<li data-target="#myCarousel" data-slide-to="3"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="assets/img/152.jpg" alt="Chania">
</div>
<div class="item">
<img src="assets/img/1153.png" alt="Chania">
</div>
<div class="item">
<img src="assets/img/162.jpg" alt="Flower">
48
Alert Notifications for Staff & Students
</div>
<div class="item">
<img src="assets/img/images (1).jpg" alt="Flower">
</div>
<div class="item">
<img src="assets/img/images (2).jpg" alt="Flower">
</div>
</div>
</div>
<script type="text/javascript">
function genpdf() {
var doc = new jsPDF();
doc.addHTML(document.getElementById('TT'), function () {
doc.save('demo timetable.pdf');
});
window.alert("Downloaded!");
}
</script>
<div align="center" STYLE="margin-top: 30px">
<button data-scroll-reveal="enter from the bottom after 0.2s"
id="teacherLoginBtn" class="btn btn-info btn-lg">Faculty LOGIN
</button>
<button data-scroll-reveal="enter from the bottom after 0.2s"
id="adminLoginBtn" class="btn btn-success btn-lg">ADMIN LOGIN
</button>
<button data-scroll-reveal="enter from the bottom after 0.2s"
id="stuLoginBtn" class="btn btn-warning btn-lg">Student LOGIN
49
Alert Notifications for Staff & Students
</button>
</div>
<br>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2 id="popupHead">Modal Header</h2>
</div>
<div class="modal-body" id="LoginType">
<!--Admin Login Form-->
<div style="display:none" id="adminForm">
<form action="adminFormvalidation.php" method="POST">
<div class="form-group">
<label for="adminname">Username</label>
<input type="text" class="form-control" id="adminname" name="UN"
placeholder="Username ...">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="password" name="PASS"
placeholder="Password ...">
</div>
<div align="right">
<input type="submit" class="btn btn-default" name="LOGIN" value="LOGIN">
</div>
50
Alert Notifications for Staff & Students
</form>
</div>
</div>
<!--Faculty Login Form-->
<div style="display:none" id="facultyForm">
<form action="facultyformvalidation.php" method="POST" style="overflow: hidden">
<div class="form-group">
<label for="facultyno">Faculty No.</label>
<input type="text" class="form-control" id="facultyno" name="FN" placeholder="Faculty
No. ...">
<label for="facultyno">Password.</label>
<input type="password" class="form-control" id="facultypass" name="FP"
placeholder="Faculty password. ...">
</div>
<div align="right">
<button type="submit" class="btn btn-default" name="LOGIN">LOGIN</button>
</div>
</form>
</div>
<div style="display:none" id="stuForm">
<form action="stuFormvalidation.php" method="POST">
<div class="form-group">
<label for="adminname">Username</label>
<input type="text" class="form-control" id="adminname" name="UN"
placeholder="Username ...">
</div>
<div class="form-group">
<label for="password">Password</label>
51
Alert Notifications for Staff & Students
52
Alert Notifications for Staff & Students
adminForm.style.display = "block";
facultyForm.style.display = "none";
stuForm.style.display="none";
}
stuLoginBtn.onclick = function () {
modal.style.display = "block";
heading.innerHTML = "Student Login";
stuForm.style.display="block";
adminForm.style.display = "none";
facultyForm.style.display = "none";
}
teacherLoginBtn.onclick = function () {
modal.style.display = "block";
heading.innerHTML = "Faculty Login";
facultyForm.style.display = "block";
adminForm.style.display = "none";
stuForm.style.display="none";
}
// When the user clicks on <span> (x), close the modal
span.onclick = function () {
modal.style.display = "none";
adminForm.style.display = "none";
facultyForm.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function (event) {
53
Alert Notifications for Staff & Students
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
<!--HOME SECTION END-->
<!--HOME SECTION TAG LINE END-->
<div id="faculty-sec">
<div class="container set-pad">
<div class="row text-center">
<div class="col-lg-8 col-lg-offset-2 col-md-8 col-sm-8 col-md-offset-2 col-sm-offset-2">
<h1 data-scroll-reveal="enter from the bottom after 0.1s" class="header-line">OUR FACULTY
</h1>
</div>
</div>
<!--/.HEADER LINE END-->
<div class="row”
<div class="col-lg-4 col-md-4 col-sm-4" data-scroll-reveal="enter from the bottom after 0.4s">
<div class="faculty-div">
<img src="assets/img/faculty/dean.jpeg" class="img-rounded"/>
<h3 align="center">SESHA REDDY</h3>
<hr/>
<h4 align="center">Chairman<br/></h4>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-4" data-scroll-reveal="enter from the bottom after 0.5s">
<div class="faculty-div">
<img src="assets/img/faculty/principal.jpeg" class="img-rounded"/>
54
Alert Notifications for Staff & Students
55
Alert Notifications for Staff & Students
<h4>India - 000000</h4>
<h4><strong>Call:</strong> 2700920, 2400921 Ext.1121 </h4>
<h4><strong>Email: </strong>controller.jntuk@jntuk.ac.in</h4>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-lg-offset-1 col-md-offset-1 col-sm-offset-1"
data-scroll-reveal="enter from the bottom after 0.4s">
<h2><strong>Social Conectivity </strong></h2>
<hr/>
<div>
<a href="#"> <img src="assets/img/Social/facebook.png" alt=""/> </a>
<a href="#"> <img src="assets/img/Social/google-plus.png" alt=""/></a>
<a href="#"> <img src="assets/img/Social/twitter.png" alt=""/></a>
</div>
</div>
</div>
</div>
<!-- CONTACT SECTION END-->
<div id="footer">
<!-- © 2014 yourdomain.com | All Rights Reserved | <a href="http://binarytheme.com"
style="color: #fff" target="_blank">Design by : binarytheme.com</a>
--></div>
<!-- FOOTER SECTION END-->
<!-- Jquery Core Script -->
<script src="assets/js/jquery-1.10.2.js"></script>
<!-- Core Bootstrap Script -->
<script src="assets/js/bootstrap.js"></script>
<!-- Flexslider Scripts -->
56
Alert Notifications for Staff & Students
<script src="assets/js/jquery.flexslider.js"></script>
<!-- Scrolling Reveal Script -->
<script src="assets/js/scrollReveal.js"></script>
<!-- Scroll Scripts -->
<script src="assets/js/jquery.easing.min.js"></script>
<!-- Custom Scripts -->
<script src="assets/js/custom.js"></script>
</div>
</body>
</html>
addjobs.php:
<?php
session_start();
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="description" content=""/>
<meta name="author" content=""/>
<title>TimeTable Management System</title>
<script type="text/javascript" src="assets/jsPDF/dist/jspdf.min.js"></script>
<script type="text/javascript" src="assets/js/html2canvas.js"></script>
<!-- BOOTSTRAP CORE STYLE CSS -->
<link href="assets/css/bootstrap.css" rel="stylesheet"/>
57
Alert Notifications for Staff & Students
58
Alert Notifications for Staff & Students
59
Alert Notifications for Staff & Students
60
Alert Notifications for Staff & Students
</div>
<div align="right">
<input type="submit" class="btn btn-default" name="ADD" value="ADD">
</div>
<button type="submit" id="ADD" name="ADD" class="btn btn-success btn-lg" style="margin-
top: 5px">Save JOBS OPENINGS
</button>
</div>
</form>
</div></div>
<!--HOME SECTION END-->
<!--<div id="footer">
<!-- © 2014 yourdomain.com | All Rights Reserved | <a href="http://binarytheme.com"
style="color: #fff" target="_blank">Design by : binarytheme.com</a>
-->
<!-- FOOTER SECTION END-->
<!-- Jquery Core Script -->
<script src="assets/js/jquery-1.10.2.js"></script>
<!-- Core Bootstrap Script -->
<script src="assets/js/bootstrap.js"></script>
<!-- Flexslider Scripts -->
<script src="assets/js/jquery.flexslider.js"></script>
<!-- Scrolling Reveal Script -->
<script src="assets/js/scrollReveal.js"></script>
<!-- Scroll Scripts -->
<script src="assets/js/jquery.easing.min.js"></script>
<!-- Custom Scripts -->
<script src="assets/js/custom.js"></script>
61
Alert Notifications for Staff & Students
</body>
</html>
Facultypage.php:
<?php
session_start();
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="description" content=""/>
<meta name="author" content=""/>
<title>TimeTable Management System</title>
<script type="text/javascript" src="assets/jsPDF/dist/jspdf.min.js"></script>
<script type="text/javascript" src="assets/js/html2canvas.js"></script>
<!-- BOOTSTRAP CORE STYLE CSS -->
<link href="assets/css/bootstrap.css" rel="stylesheet"/>
<!-- FONT AWESOME CSS -->
<link href="assets/css/font-awesome.min.css" rel="stylesheet"/>
<!-- FLEXSLIDER CSS -->
<link href="assets/css/flexslider.css" rel="stylesheet"/>
<!-- CUSTOM STYLE CSS -->
<link href="assets/css/style.css" rel="stylesheet"/>
<!-- Google Fonts -->
</head>
62
Alert Notifications for Staff & Students
<body>
<div class="navbar navbar-inverse navbar-fixed-top " id="menu">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-
collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse move-me">
<ul class="nav navbar-nav navbar-left">
<li><a href="facultypage.php">Home </a></li>
<li><a href="#">Hello <?php echo $_SESSION['loggedin_name']; ?></a></li>
<li><a href="openings.php">addjobs</a></li>
<li><a href="attend.php">attendance</a></li>
<li><a href="attendancereport.php">attendance report</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="index.php">LOGOUT</a></li>
</ul>
</div>
</div>
</div>
<!--NAVBAR SECTION END-->
<br>
<!--Algorithm Implementation-->
63
Alert Notifications for Staff & Students
64
Alert Notifications for Staff & Students
65
Alert Notifications for Staff & Students
<caption><strong><br><br>
<?php
if (isset($_POST['select_semester'])) {
echo "COMPUTER ENGINEERING DEPARTMENT SEMESTER " .
$_POST['select_semester'] . " ";
$year = (int)($_POST['select_semester'] / 2) + $_POST['select_semester'] % 2;
$r = mysqli_fetch_assoc(mysqli_query(mysqli_connect("localhost", "root", "", "ttms"),
"SELECT * from classrooms
WHERE status = '$year'"));
echo " ( " . $r['name'], " ) ";
} else if (isset($_POST['select_teacher'])) {
$id = $_POST['select_teacher'];
$r = mysqli_fetch_assoc(mysqli_query(mysqli_connect("localhost", "root", "", "ttms"),
"SELECT * from teachers
WHERE faculty_number = '$id'"));
echo $r['name'];
} else if (isset($_SESSION['loggedin_name'])) {
echo $_SESSION['loggedin_name'];
}
?>
</strong></caption>
<tr>
<td style="text-align:center">WEEKDAYS</td>
<td style="text-align:center">8:00-8:50</td>
<td style="text-align:center">8:55-9:45</td>
<td style="text-align:center">9:50-10:40</td>
<td style="text-align:center">10:45-11:35</td>
<td style="text-align:center">11:40-12:30</td>
66
Alert Notifications for Staff & Students
<td style="text-align:center">12:30-1:30</td>
<td style="text-align:center">1:30-4:00</td>
</tr>
<tr>
<?php
$table = null;
if (isset($_POST['select_semester'])) {
$table = " semester" . $_POST['select_semester'] . " ";
} else if (isset($_POST['select_teacher'])) {
$table = " " . $_POST['select_teacher'] . " ";
} else if (isset($_SESSION['loggedin_id'])) {
$table = " " . $_SESSION['loggedin_id'] . " ";
} else
echo '</table>';
if (isset($_POST['select_semester']) || isset($_POST['select_teacher']) ||
isset($_SESSION['loggedin_id'])) {
$q = mysqli_query(mysqli_connect("localhost", "root", "", "ttms"),
"SELECT * FROM" . $table);
$qq = mysqli_query(mysqli_connect("localhost", "root", "", "ttms"),
"SELECT * FROM subjects");
$days = array('MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY',
'SATURDAY');
$i = -1;
$str = "<br>";
if (isset($_POST['select_semester'])) {
while ($r = mysqli_fetch_assoc($qq)) {
if ($r['isAlloted'] == 1 && $r['semester'] == $_POST['select_semester']) {
$str .= $r['subject_code'] . ": " . $r['subject_name'] . " ";
67
Alert Notifications for Staff & Students
if (isset($r['allotedto'])) {
$id = $r['allotedto'];
$qqq = mysqli_query(mysqli_connect("localhost", "root", "", "ttms"),
"SELECT * FROM teachers WHERE faculty_number = '$id'");
$rr = mysqli_fetch_assoc($qqq);
$str .= " " . $rr['alias'] . ": " . $rr['name'] . " ";
}
if ($r['course_type'] !== "LAB") {
$str .= "<br>";
continue;
} else {
$str .= ", ";
}
if (isset($r['allotedto2'])) {
$id = $r['allotedto2'];
$qqq = mysqli_query(mysqli_connect("localhost", "root", "", "ttms"),
"SELECT * FROM teachers WHERE faculty_number = '$id'");
$rr = mysqli_fetch_assoc($qqq);
$str .= " " . $rr['alias'] . ": " . $rr['name'] . ", ";
}
if (isset($r['allotedto3'])) {
$id = $r['allotedto3'];
$qqq = mysqli_query(mysqli_connect("localhost", "root", "", "ttms"),
"SELECT * FROM teachers WHERE faculty_number = '$id'");
$rr = mysqli_fetch_assoc($qqq);
$str .= " " . $rr['alias'] . ": " . $rr['name'] . "<br>";
}
68
Alert Notifications for Staff & Students
}
}
} else if (isset($_POST['select_teacher']) || isset($_SESSION['loggedin_id'])) {
if (isset($_POST['select_teacher'])) {
$tid = $_POST['select_teacher'];
} else {
$tid = $_SESSION['loggedin_id'];
}
while ($r = mysqli_fetch_assoc($qq)) {
if ($r['isAlloted'] == 1 && $r['allotedto'] == $tid) {
$str .= $r['subject_code'] . ": " . $r['subject_name'] . " <br>";
} else if ($r['isAlloted'] == 1 && isset($r['allotedto2']) && $r['allotedto2'] == $tid) {
$str .= $r['subject_code'] . ": " . $r['subject_name'] . " <br>";
} else if ($r['isAlloted'] == 1 && isset($r['allotedto3']) && $r['allotedto3'] == $tid) {
$str .= $r['subject_code'] . ": " . $r['subject_name'] . " <br>";
}
}
}
while ($row = mysqli_fetch_assoc($q)) {
$i++;
echo "
<tr><td style=\"text-align:center\">$days[$i]</td>
<td style=\"text-align:center\">{$row['period1']}</td>
<td style=\"text-align:center\">{$row['period2']}</td>
<td style=\"text-align:center\">{$row['period3']}</td>
<td style=\"text-align:center\">{$row['period4']}</td>
<td style=\"text-align:center\">{$row['period5']}</td>
69
Alert Notifications for Staff & Students
<td style=\"text-align:center\">LUNCH</td>
<td style=\"text-align:center\">{$row['period6']}</td>
</tr>\n";
}
echo '</table>';
$sign = "GENERATED VIA TIMETABLE MANAGEMENT SYSTEM, COMPUTER
ENGINEERING DEPARTMENT.";
echo "<div align=\"center\">" . "<br>" . $str . "<br>
<strong>" . $sign . "<br></strong></div>";
}
?>
</div>
</div>
<script type="text/javascript">
function gendf() {
var doc = new jsPDF();
doc.addHTML(document.getElementById('TT'), function () {
doc.save('<?php
if (isset($_POST["select_semester"])) {
echo "ttms semester " . $_POST["select_semester"];
} else if (isset($_POST["select_teacher"])) {
echo "ttms " . $_POST["select_teacher"];
} else if (isset($_SESSION["loggedin_id"])) {
echo "ttms " . $_SESSION["loggedin_id"];
}
?>' + '.pdf');
alert("Downloaded!");
});
70
Alert Notifications for Staff & Students
}
</script>
<!--HOME SECTION END-->
<!--<div id="footer">
<!-- © 2014 yourdomain.com | All Rights Reserved | <a href="http://binarytheme.com"
style="color: #fff" target="_blank">Design by : binarytheme.com</a>
-->
<!-- FOOTER SECTION END-->
<!-- Jquery Core Script -->
<script src="assets/js/jquery-1.10.2.js"></script>
<!-- Core Bootstrap Script -->
<script src="assets/js/bootstrap.js"></script>
<!-- Flexslider Scripts -->
<script src="assets/js/jquery.flexslider.js"></script>
<!-- Scrolling Reveal Script -->
<script src="assets/js/scrollReveal.js"></script>
<!-- Scroll Scripts -->
<script src="assets/js/jquery.easing.min.js"></script>
<!-- Custom Scripts -->
<script src="assets/js/custom.js"></script>
</body>
</html>
generatetimetable.php
<?php
// Start the session
71
Alert Notifications for Staff & Students
session_start();
if (isset($_GET['success'])) {
echo "<script type='text/javascript'>alert('Time Table Generated');</script>";
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="description" content=""/>
<meta name="author" content=""/>
<title>TimeTable Management System</title>
<script type="text/javascript" src="assets/jsPDF/dist/jspdf.min.js"></script>
<script type="text/javascript" src="assets/js/html2canvas.js"></script>
<!-- BOOTSTRAP CORE STYLE CSS -->
<link href="assets/css/bootstrap.css" rel="stylesheet"/>
<!-- FONT AWESOME CSS -->
<link href="assets/css/font-awesome.min.css" rel="stylesheet"/>
<!-- FLEXSLIDER CSS -->
<link href="assets/css/flexslider.css" rel="stylesheet"/>
<!-- CUSTOM STYLE CSS -->
<link href="assets/css/style.css" rel="stylesheet"/>
<!-- Google Fonts -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,300' rel='stylesheet'
type='text/css'/>
</head>
<body>
72
Alert Notifications for Staff & Students
73
Alert Notifications for Staff & Students
</ul>
</li>
<li><a href="generatetimetable.php">GENERATE TIMETABLE</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="index.php">LOGOUT</a></li>
</ul>
</div>
</div>
</div>
<!--NAVBAR SECTION END-->
<br>
<!--Algorithm Implementation-->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2 id="popupHead">Assign Substitute</h2>
</div>
<div class="modal-body" id="AssignSubstitute">
<!--Admin Login Form-->
74
Alert Notifications for Staff & Students
75
Alert Notifications for Staff & Students
}
</script>
<form action="algo.php" method="post">
<div align="center" style="margin-top: 50px">
<button type="submit"
id="generatebutton" class="btn btn-success btn-lg">GENERATE
</button>
</div>
</form>
<form action="generatetimetable.php" method="post">
<div align="center" style="margin-top: 30px">
<select name="select_teacher" class="list-group-item">
<option selected disabled>Select Teacher</option>
<?php
$q = mysqli_query(mysqli_connect("localhost", "root", "", "ttms"),
"SELECT * FROM teachers ");
while ($row = mysqli_fetch_assoc($q)) {
echo " \"<option value=\"{$row['faculty_number']}\">{$row['name']}</option>\"";
}
?>
</select>
<button type="submit" id="viewteacher" class="btn btn-success btn-lg" style="margin-top:
5px">VIEW TIMETABLE
</button>
</div>
</form>
<form action="generatetimetable.php" method="post">
<div align="center" style="margin-top: 20px">
76
Alert Notifications for Staff & Students
77
Alert Notifications for Staff & Students
return function () {
document.getElementById('cell_number').value = i;
index = i;
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function () {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
var modal = document.getElementById('myModal');
modal.style.display = "block";
document.getElementById("substitute").innerHTML = this.responseText;
}
};
xmlhttp.open("GET", "getcellindex.php?i=" + i, false);
xmlhttp.send();
};
};
currentCell.onclick = createSubstituteHandler(currentCell, i);
}
}
</script>
<div>
<br>
78
Alert Notifications for Staff & Students
echo $r['name'];
} else if (isset($_GET['display'])) {
$id = $_GET['display'];
$r = mysqli_fetch_assoc(mysqli_query(mysqli_connect("localhost", "root", "", "ttms"),
"SELECT * from teachers
WHERE name = '$id'"));
echo $r['name'];
}
?>
</strong></caption>
<tr>
<td style="text-align:center">WEEKDAYS</td>
<td style="text-align:center">8:00-8:50</td>
<td style="text-align:center">8:55-9:45</td>
<td style="text-align:center">9:50-10:40</td>
<td style="text-align:center">10:45-11:35</td>
<td style="text-align:center">11:40-12:30</td>
<td style="text-align:center">12:30-1:30</td>
<td style="text-align:center">1:30-4:00</td>
</tr>
<tr>
<?php
-->
<!-- FOOTER SECTION END-->
<!-- Jquery Core Script -->
<script src="assets/js/jquery-1.10.2.js"></script>
<!-- Core Bootstrap Script -->
<script src="assets/js/bootstrap.js"></script>
79
Alert Notifications for Staff & Students
<?php
//session_start();
require_once 'dbase/dbconn.php';
$mobile=$_POST["text1"];
$msg=$_POST["text2"];
//sending SMS
$url11 = 'http://sms.tajcomputers.in/API/pushsms.aspx?'.http_build_query(array(
'loginID' => 'samtaj123',
'password' => '12345678',
'mobile' => $mobile,
'text' => $msg,
'senderid' => 'STUSMS',
'route_id' =>'2',
'Unicode' => '0'
80
Alert Notifications for Staff & Students
));
$ch=curl_init();
curl_setopt($ch,CURLOPT_URL,$url11 );
curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Connection: close'
));
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$data = curl_exec($ch);
$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
echo $data;
//End of Sending SmS
6.SYSTEM TESTING
81
Alert Notifications for Staff & Students
6.1 Introduction
Testing is evaluation of the software against requirements gathered from users and system
specifications. Testing is conducted at the phase level in software development life cycle or at
module level in program code. Software testing comprises of Validation and Verification.
System Testing is a black box testing technique performed to evaluate the complete system
the system's compliance against specified requirements. In System testing, the functionalities of
the system are tested from an end-to-end perspective.
System Testing is usually carried out by a team that is independent of the development team in
order to measure the quality of the system unbiased. It includes both functional and Non-
Functional testing.
Black box testing is a type of software testing in which the functionality of the software is not
known. The testing is done without the internal knowledge of the products.
Syntax Driven Testing – This type of testing is applied to systems that can be
syntactically represented by some language. For example- compilers,language that can be
represented by context free grammar. In this, the test cases are generated so that each
grammar rule is used at least once.
Equivalence partitioning – It is often seen that many type of inputs work similarly so
instead of giving all of them separately we can group them together and test only one
input of each group. The idea is to partition the input domain of the system into a number
of equivalence classes such that each member of class works in a similar way, i.e., if a
test case in one class results in some error, other members of class would also result into
same error.
White box testing (also known as Clear Box Testing, Open Box Testing, Glass Box Testing,
Transparent Box Testing, Code-Based Testing or Structural Testing) is a software testing
method in which the internal structure or design or implementation of the item being tested is
known to the tester. The tester chooses inputs to exercise paths through the code and determines
the appropriate outputs. Programming know-how and the implementation knowledge is
essential. White box testing is testing beyond the user interface and into the nitty-gritty of a
system.
Code Testing
This examines the logic of the program.For example,the logic for calculating profit,rate taking
the percentagesentered by employeewas tested and verified with the data that was carried out by
manual methods.
Specification Testing
Executing the specification starting what the program should do and how it should perform
under various conditions.Test cases for various situations and combination of condition in all
the modules were tested.
Module Testing
Module testing is defined as a software testing type, which checks individual subprograms,
subroutines, classes, or procedures in a program. Instead of testing whole software program at
once, module testing recommends testing the smaller building blocks of the program.It is
largely a white box oriented. The objective of doing Module, testing is not to demonstrate
proper functioning of the module but to demonstrate the presence of an error in the module.
For all types to test,dummy data were keyed in and after the testing was over live data wer keyed
in from the soured documents and concerned department people wer followed to key in and work
on the system.
Unit Testing
83
Alert Notifications for Staff & Students
Unit testing is a level of software testing where individual units or components of a software
are tested. The purpose is to validate that each unit of the software performs as designed. A unit
is the smallest testable part of any software. It usually has one or a few inputs and usually a
single output. In procedural programming, a unit may be an individual program, function,
procedure, etc.
Integration Testing
Integration testing is a level of software testing where individual units are combined and tested
as a group. The purpose of this level of testing is to expose faults in the interaction between
integrated units. Test drivers and test stubs are used to assist in Integration Testing.
Bottom Up Testing
In Bottom Up Testing each component at lower hierarchy is tested individually and then the
components that rely upon these components are tested.
Acceptance Testing
Acceptance testing, a testing technique performed to determine whether or not the software
system has met the requirement specifications. The main purpose of this test is to evaluate the
system's compliance with the business requirements and verify if it is has met the required
criteria for delivery to end users.
Validation Testing
The process of evaluating software during the development process or at the end of the
development process to determine whether it satisfies specified business requirements.It ensures
that the product actually meets the client's needs. It can also be defined as to demonstrate that
the product fulfills its intended use when deployed on appropriate environment.
Admin/Faculty/Student login:
TEST
EXPECTED ACTUAL
CASE INPUT DESCRIPTION PASS/FAIL
RESULT RESULT
ID
Displays Displays
blank A blank Username
invalid invalid
1 username & and Password given pass
username and username and
password by the user
password password
valid Displays
A valid Username Displays
username & invalid
2 and blank Password invalid pass
blank username and
given by the user password
password password
blank Displays
A blank Username Displays
username & invalid
3 and valid Password invalid pass
valid username and
given by the user username
password password
valid Displays
A valid Username
username & Login invalid
4 and valid Password pass
valid Successfully username and
given by the user
password password
username A Username with Displays
with numbers numbers and valid Displays invalid
5 pass
& valid Password given by invalid user username and
password the user password
username A Username with Displays
with %,#,$ & symbols and valid Displays invalid
6 pass
valid Password given by invalid user username and
password the user password
7 username A Username with Displays Displays pass
with spaces spaces and valid invalid user invalid
85
Alert Notifications for Staff & Students
7.SCREEN SHOTS
Home page:
86
Alert Notifications for Staff & Students
Admin login:
Faculty login:
87
Alert Notifications for Staff & Students
Student login:
Faculty page:
88
Alert Notifications for Staff & Students
Add faculty:
89
Alert Notifications for Staff & Students
Add student:
Add subject:
Course allotement
90
Alert Notifications for Staff & Students
Generate Timetable
Faculty Timetable:
91
Alert Notifications for Staff & Students
Add jobs:
Post attendance
92
Alert Notifications for Staff & Students
Student attendance:
93
Alert Notifications for Staff & Students
Conclusion
Using this project we can maintain all the information of the staff,students and their academic
progress that are stored in database.
This project is a web application which runs on a web server so that users of any platfor can
access the system to utilize its resources and features.
We have given centralized control of the system to the admin so that he can act as a moderator
between users and members of the system and they can can have total abstractions of the internal
details.
We have fulfilled all the requirements that are specified in the project abstract and all the
necessary steps are taken for future development.
Future Scope
In future this application becomes more useful by adding advance features for students
and faculty
9.BIBLIOGRAPHY
94
Alert Notifications for Staff & Students
Websites
https://code-projects.org/
95
Alert Notifications for Staff & Students
96
Alert Notifications for Staff & Students
97
Alert Notifications for Staff & Students
98
Alert Notifications for Staff & Students
99
Alert Notifications for Staff & Students
100
Alert Notifications for Staff & Students
101
Alert Notifications for Staff & Students
102
Alert Notifications for Staff & Students
103
Alert Notifications for Staff & Students
104
Alert Notifications for Staff & Students
105
Alert Notifications for Staff & Students
106
Alert Notifications for Staff & Students
107
Alert Notifications for Staff & Students
108
Alert Notifications for Staff & Students
109
Alert Notifications for Staff & Students
110
Alert Notifications for Staff & Students
111
Alert Notifications for Staff & Students
112
Alert Notifications for Staff & Students
113
Alert Notifications for Staff & Students
114
Alert Notifications for Staff & Students
115