Professional Documents
Culture Documents
14VFSB7032
14VFSB7032
Submitted by
I hereby declare that the project report entitled “ONLINE PERIODIC CENSUS” was
prepared by me during the year 2016-2017 and was submitted to the Bangalore University, in
partial fulfillment of the requirements for the award of the Degree in Bachelor of Computer
Applications. I also declare that this project report is original and genuine and it has not been
submitted to any of the University for the award of any degree, diploma or other similar titles
or purposes.
[USN: 14VFSB70132]
Page |2
CERTIFICATE
This is to certify that the project report entitled “ONLINE PERIODIC CENSUS” Submitted
by MUHSINA MOIDDEN V.M [14VFSB7032]. This report is an outcome of genuine
project work and has been submitted in partial fulfillment for the award of the Degree of
Bachelor of Computer Applications, awarded by Bangalore University, during the academic
year 2016-17.
ONLINE CENSUS
Page |3
ACKNOWLEDGEMENT
We express our deep sincere thanks to Dr. Mohan Maghnani, the Chairman of New Horizon
Educational Institutions for providing the platform and infrastructure to do this project. This
project would not have been possible without the help and co-operation of many. At the outset, I
wish to record my profound gratitude to our principal Dr. R. Bodhisatvan
We are extremely thankful to Mr. Nagaraju K, Head of the Department, BCA for his unending
support and encouragement during the development of this project.
We would like to acknowledge the interest and the support extended by our project guide Mr. S
SATHYA FRANKLIN, Asst. Professor, Department of BCA, to make this project
implementation successful.
Above all we would thank God for the blessings and my parents also for their valuable
suggestion and support in my project report
Finally, we extend our deep sense of gratitude to all those who made this project come alive and
encouraged and guided us from the start to finish.
ONLINE CENSUS
Page |4
SYNOPOSIS
The periodic census with graphical representation is an online based application that is been
developed to ease the work of manual census.
The proposed census measurement system eliminates the process of personally visiting each
houses and collecting data for census report. User should register into the website to add their
personal details by providing official documents.
Officer will be assigned a particular region, all the data filled by the user of that area will be sent
to that area’s officers. Officer can view documents of a particular member and check their
details. If officer finds any error or correction, they can send a request to user with a note about
the error and user can re-correct the area and send the request back to officer. After officer’s
approval, data will be stored in final table. Admin will be able to get reports.
ONLINE CENSUS
Page |5
INDEX
CHAPTERS PAGE NO
CHAPTER:1 INTRODUCTION TO THE PROJECT
1.1. PROBLEM STATEMENT 7
1.1.1. MODULE DESCRIPTION 8
CHAPTER:2 SYSTEM ANALYSIS
2.1. REQUIREMENTS SPECIFICATION 9
2.2. HARDWARE REQUIREMENTS 10
2.3. SOFTWARE REQUIRMENTS 10
2.3.1. INTRODUCTION TO HTML 13
2.3.2. INTRODUCTION TO CSS 14
2.3.3. INTRODUCTION TO PHP 15
2.3.4. INTRODUCTION TO MYSQL 16
2.3.5. INTRODUCTION TO XAMPP 17
2.4. PROPOSED SYSTEM 19
CHAPTER:3 SYSTEM DESIGN
3.1. TABLE STRUCTURE 21
3.2. ER DIAGRAM 22
CHAPTER:4 CODING AND DEVELOPMENT
4.1. SOURCE CODE 26
CHAPTER:5 TESTING AND IMPLEMENTATION
5.1. INTRODUCTION TO TESTING 66
5.2. TYPES OF TESTING USED 67
CHAPTER:6 CONCLUSION
6.1. FUTURE ENHANSMENT 72
ONLINE CENSUS
Page |6
APPENDICES
SCREENSHOTS / FORM DESIGNS 74
BIBLIOGRAPHY 83
ONLINE CENSUS
Page |7
INTRODUCTION
Modules
1. Admin
1.1 Add Officer
1.2 Remove Officer
2. Officer
2.1 Approve
2.2 Users
3. Report
3.1 Birth rate
3.2 Literacy rate
ONLINE CENSUS
Page |8
1.2 Remove Officer: Admin will remove the officer from particular
area.
OFFICER: officer will view the details filled by the user and approver if all the
given details is true and reject if it is not true.
2.1 Approve: Approve the details given by the user.
2.2 Reject: Reject if the given details is not true.
USER: user will register the details like Name, DOB, Area, City, Phone,
Aadhar, Education and Occupation, Gender, State, Address etc.
ONLINE CENSUS
Page |9
SYSTEM ANALYSIS
Analysis can be defined as breaking up of any whole to find out their nature, function etc. It
defines design as to make preliminary sketches of; to sketch a pattern or outline for plan. To plan
and carry out especially by artistic arrangement or in a skillful wall.
System analysis and design can be characterized as a set of techniques and processes, a
community of interests, a culture and an intellectual orientation. The various tasks in the system
analysis include the following.
Understanding application.
Planning.
Scheduling.
Developing candidate solution.
Performing trade studies.
Performing cost benefit analysis.
Recommending alternative solutions.
Selling of the system.
Supervising, installing and maintaining the system.
DEFINITION:
Software requirements specification establishes the basis for an agreement between customers
and contractors or suppliers (in market-driven projects, these roles may be played by the
marketing and development divisions) on what the software product is to do as well as what it is
ONLINE CENSUS
P a g e | 10
The software requirements specification document enlists enough and necessary requirements
that are required for the project development. To derive the requirements we need to have clear
and thorough understanding of the products to be developed or being developed. This is achieved
and refined with detailed and continuous communications with the project team and customer till
the completion of the software.
The SRS may be one of a contract deliverable Data or have other forms of organizationally-
mandated content.
Facilitating reviews
Describing the scope of work
Providing a reference to software designers (i.e. navigation aids, document structure)
Providing a framework for testing primary and secondary use cases
Including features to customer requirements
Providing a platform for ongoing refinement (via incomplete specs or questions)
Purpose
Definitions
System overview
References
Overall description
Product perspective
System Interfaces
ONLINE CENSUS
P a g e | 11
User interfaces
Hardware interfaces
Software interfaces
Communication Interfaces
Memory Constraints
Design constraints
Operations
Site Adaptation Requirements
Product functions
User characteristics
Constraints, assumptions and dependencies
Specific requirements
External interface requirements
Functional requirements
Performance requirements
Logical database requirement
Software System attributes
Reliability
Availability
Security
Maintainability
Portability
ONLINE CENSUS
P a g e | 12
SYSTEM REQUIREMENTS
RAM : 1 GB or More
Sever : XAMPP
ONLINE CENSUS
P a g e | 13
HTML was created in 1991 by Tim Berners-Lee at CERN in Switzerland. It was designed to
allow scientists to display and share their research.
HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets
(like <html>). HTML tags most commonly come in pairs like <h1> and </h1>, although some
tags represent empty elements and so are unpaired, for example <img>. The first tag in a pair is
the start tag, and the second tag is the end tag (they are also called opening tags and closing
tags).
The purpose of a web browser is to read HTML documents and compose them into visible or
audible web pages. The browser does not display the HTML tags, but uses the tags to interpret
the content of the page. HTML describes the structure of a website semantically along with cues
for presentation, making it a markup language rather than a programming language.
HTML elements form the building blocks of all websites. HTML allows images and objects to
be embedded and can be used to create interactive forms. It provides a means to create structured
documents by denoting structural semantics for text such as headings, paragraphs, lists, links,
quotes and other items. It can embed scripts written in languages such as Java Script which affect
the behavior of HTML web pages.
ONLINE CENSUS
P a g e | 14
CSS tutorial or CSS 3 tutorial provides basic and advanced concepts of CSS technology. Our
CSS tutorial is developed for beginners and professionals. The major points of CSS are given
below:
• HTML, CSS and JavaScript are used for web designing. It helps the web designers to
apply style on HTML tags.
Cascading Style Sheets (CSS) is a style sheet language used for describing the look and
formatting of a document written in a markup language. While most often used to style web
pages and user interfaces written in HTML and XHTML, the language can be applied to any
kind of XML document, including plain XML, SVG and XUL. CSS is a cornerstone
specification of the web and almost all web pages use CSS style sheets to describe their
presentation.
CSS is designed primarily to enable the separation of document content from document
presentation, including elements such as the layout, colors, and fonts. This separation can
improve content accessibility, provide more flexibility and control in the specification of
presentation characteristics, enable multiple pages to share formatting, and reduce complexity
and repetition in the structural content (such as by allowing for table less web design).
CSS can also allow the same markup page to be presented in different styles for different
rendering methods, such as on-screen, in print, by voice (when read out by a speech-based
browser or screen reader) and on Braille-based, tactile devices. It can also be used to allow the
web page to display differently depending on the screen size or device on which it is being
viewed. While the author of a document typically links that document to a CSS file, readers can
use a different style sheet, perhaps one on their own computer, to override the one the author has
specified.
ONLINE CENSUS
P a g e | 15
With plain HTML, you define the colors and sizes of text and tables throughout your pages. If
you want to change a certain element you will therefore have to work your way through the
document and change it. With CSS, you define the colors and sizes in "styles". Then as you
write your documents you refer to the styles. Therefore: if you change a certain style it will
change the look of your entire site. Another big advantage is that CSS offers much more
detailed attributes than plain HTML for defining the look and feel of your site.
PHP’s support for Apache and MySQL further increases its popularity. Apache is now
the most-used web-server in the world, and PHP can be compiled as an Apache module. MySQL
is a powerful free SQL database, and PHP provides a comprehensive set of functions for working
with it. The combination of Apache, MySQL and PHP is all but unbeatable.
That doesn’t mean that PHP cannot work in other environments or with other tools. In
fact, PHP supports an extensive list of databases and web-servers. While in the mid-1990s it was
ok to build sites, even relatively large sites, with hundreds of individual hard-coded HTML
pages, today’s webmasters are making the most of the power of databases to manage their
content more effectively and to personalize their sites according to individual user preferences.
ONLINE CENSUS
P a g e | 16
ONLINE CENSUS
P a g e | 17
is also cross-platform, which means it works equally well on Linux, Mac and Windows. Since
most actual web server deployments use the same components as XAMPP, it makes transitioning
from a local test server to a live server extremely easy as well.
The term XAMPP is an apparent acronym. However, there is no official acronym expansion
specified on the Apache Friends website. Their homepage header reads “XAMPP Apache +
MariaDB + PHP + Perl”, indicating that this abbreviation is a recursive acronym.
Letter Meaning
X XAMPP or an ideographic letter X, meaning cross-platform
A Apache or its expanded form, Apache HTTP Server
M MariaDB (formerly: MySQL)
P PHP
P Perl
MySQL was replaced with MariaDB on 2015-10-19 and beginning with XAMPP versions 5.5.30
and 5.6.14, effectively altering the meaning of the acronym.
While both letters P are de facto interchangeable, convention used at the Apache Friends website
indicates that the first letter P is short for PHP and the latter letter P is short for Perl.
phpMyAdmin is a free and open source tool written in PHP intended to handle the
administration of MySQL or MariaDB with the use of a web browser. It can perform various
tasks such as creating, modifying or deleting databases, tables, fields or rows; executing SQL
statements; or managing users and permissions.
ONLINE CENSUS
P a g e | 18
Web interface
MySQL and MariaDB database management
Import data from CSV and SQL
Administering multiple servers
Creating PDF graphics of the database layout
Creating complex queries using Query-by-Example (QBE)
Searching globally in a database or a subset of it
Live charts to monitor MySQL server activity like connections, processes, CPU/Memory
usage, etc.
Working with different operating systems.
ONLINE CENSUS
P a g e | 19
PROPOSED SYSTEM
When census is taken manually, an authorized officer visits every single house and collects the
complete information. Those system have dual work of collecting the data on paper and then
feeding it in computer. This also takes a vast amount of man power into it. The information is to
change as it is taken as a written work on a paper.
The solution for the above mentioned for drawbacks is finding a device which has comparatively
well equipped device (similar to laptop/ PC) with network accessibility, consumes comparatively
less power, easy to carry and able to work even while walking. The finest solution out is PDA
(Personal Digital Assistant) and mobile phone.
PDA, also known as a palmtop computer, is a mobile device which functions as a personal
Information Manager and connects to internet. The PDA has an electronic visual display
enabling them to be used as mobile phones, portable media players. Mobile phones are for those
who do not have a PDA.
ONLINE CENSUS
P a g e | 20
SYSTEM DESIGN
ONLINE CENSUS
P a g e | 21
Officer
Sl. Field Name Variable type/size Constraints Description
No.
1. Officer ID Varchar(10) Primary key Unique ID given for Officer
2. Password Varchar(30) Not null Password given for the Officer
3. Name Varchar(30) Not null Name of the Officer
4. Email Varchar(30) Not null Unique Email ID of the Officer
5. Phone Integer(12) Unique Phone number of Officer
6. State Varchar(30) Not null The state to which officer belongs to.
7. City Varchar(10) Not null Which City Officer belongs to.
Users
Sl. Field Name Variable type/size Constraints Description
No.
1. User ID Varchar(10) Primary key Unique ID for User
2. Password Varchar(30) Not null Password for the User
3. Name Varchar(30) Not null Name of the User
4. DOB Date Not null Date of Birth of User
5. Gender Varchar(10) Not null Gender of User
6. Email ID Varchar(30) Unique Unique Email ID of User
7. Phone Number Integer(12) Unique Phone number of the User
8. Education Varchar(30) Not null Education of the User
9. Occupation Varchar(30) Not null Occupation of the User
ONLINE CENSUS
P a g e | 22
3.2E-R Diagrams
INTRODUCTION TO ER DIAGRAM
The entity-relationship data model is based on a perception of a real world that consists of a
collection of basic objects called entities and of relationships among these objects. An entity is
an “object” in the real world that is distinguishable from other objects. For e.g. each customer is
an entity and rooms can be considered to be entities. Entities are described by a set of attributes.
For e.g. the attributes Room no. and Room type describes a Room in a hotel. The set of all
entities of the same type and the set of all relationships of the same type are termed as an entity
set and relationship set respectively.
Entity
An entity is an “object” in the real world that is distinguishable from all other objects. An entity
set is a set of entities of the same type that share the same attributes.
Weak Entity
An entity set that may not have sufficient attributes to form a primary key is termed as a weak
entity set.
Attribute
ONLINE CENSUS
P a g e | 23
Key attribute
A key attribute is the unique, distinguishing characteristic of the entity. For example, Guest ID
might be the guest’s key attribute.
Multivalued attribute
In an instance where an attribute has a set of values for a specific entity is called multivalued
attribute.
Derived attribute
In these attributes the value can be derived from the values of other related attributes.
Relationships
Relationship
For e.g., we can define a relationship that associates customer Jon with Room 142.This
relationship specifies that Jon is a customer with Room No.142.
Recursive Relationship
In some cases, entities can be self-linked. For example, Employees can supervise other
employees in a hotel.
ONLINE CENSUS
P a g e | 24
Admin
Admin Id
Manage Name
s Password
Officer
Officer Id
password
Name Approve
Email
phone
city
state
Users
Name
DOB
Gender
Email
View Phone
Education
Occupation
ONLINE CENSUS
Address
Area
City
P a g e | 25
ONLINE CENSUS
P a g e | 26
4.1SOURCE CODE
Index.php
<!DOCTYPE html>
<head>
</head>
<center>
<div class="header">
ONLINE CENSUS
P a g e | 27
<h1 style=" text-align: center; color: #474747; font-size: 28px; font-weight: 600; font-family:
">CENSUS</h1>
<div class="container">
<center>
</center>
</div>
</div>
<div class="footer">
<center>
</center>
</div>
</center>
ONLINE CENSUS
P a g e | 28
</body>
</html>
Admin login.php
<?php
session_start();
error_reporting(1);
include_once('connection.php');
if(isset($_POST['signIn']))
if($_POST['id']=="" || $_POST['pwd']=="")
else
$row=mysqli_fetch_object($d);
$fid=$row->user_name;
$fpass=$row->password;
ONLINE CENSUS
P a g e | 29
$_SESSION['sid']=$_POST['id'];
//header('location:HomePage.php');
echo "<script>window.location='HomePage.php'</script>";
else
$err="invalid id or pass";
?>
<html>
<head>
<meta charset="utf-8">
<title>Census</title>
<style type="text/css">
ONLINE CENSUS
P a g e | 30
body
background-color:white;
line-height: 1.5em;
a { text-decoration: none;
color: #5592f4;
a:hover {
text-decoration: underline;
cursor: pointer;
color: #1568ed;
h1 {
font-size: 24px;
color: #77A131;
ONLINE CENSUS
P a g e | 31
margin: 10px;
h1, p {
margin: 20px;
strong {
font-weight: bold;
#login {
width: 300px;
.btn {
background-color: blue;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
ONLINE CENSUS
P a g e | 32
color: white;
display: block;
font-size: 18px;
height: 50px;
width: 200px;
line-height: 50px;
margin: 0px;
text-align: center;
</style>
</head>
<body>
<center>
<div id="login">
<h1><strong>CENSUS</strong></h1>
<form action="AdminLogin.php">
ONLINE CENSUS
P a g e | 33
</form><form action="officerlogin.html">
<form action="userlogin.html">
<p><a href="index.html">HOME</a></p>
</div>
</center>
</body>
</html>
Admin home.php
<!DOCTYPE html>
<head>
</head>
<body background="">
ONLINE CENSUS
P a g e | 34
<div style=" text-align: left; color: #474747; float: left; margin-left: 30px; margin-top:
15px;">
</div>
</div>
<div class="sidenav">
<ul>
<hr>
</ul>>
</div>
</body>
ONLINE CENSUS
P a g e | 35
Add officer.php
<?php
include("connection.php");
session_start();
if($_SERVER["REQUEST_METHOD"] == "POST") {
$OfficerId = mysqli_real_escape_string($con,$_POST['OfficerId']);
$OfficerPwd = mysqli_real_escape_string($con,$_POST['OfficerPwd']);
$Name = mysqli_real_escape_string($con,$_POST['Name']);
$Email = mysqli_real_escape_string($con,$_POST['Email']);
$Phone = mysqli_real_escape_string($con,$_POST['Phone']);
$City = mysqli_real_escape_string($con,$_POST['City']);
$State = mysqli_real_escape_string($con,$_POST['State']);
if (mysqli_query($con,$sql)) {
ONLINE CENSUS
P a g e | 36
echo "<br><center>";
echo "<br><br>";
echo "</center><br><hr><br>";
else {
?>
<html>
<head>
<style type="text/css">
body {
ONLINE CENSUS
P a g e | 37
font-family: verdana;
font-size: 18px;
margin: 20px 0;
.inp {
font-size: 16px;
font-weight: normal;
min-width: 250px;
height: 30px;
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
ONLINE CENSUS
P a g e | 38
.btn {
font-size: 18px;
font-weight: bold;
width: 60%;
height: 40px;
padding: 8px;
background-color: #717171;
color: white;
border: none;
border-radius: 5px;
transition-duration: 0.5s;
.btn:hover {
background-color: white;
color: #717171;
ONLINE CENSUS
P a g e | 39
border-radius: 5px;
cursor: pointer;
.inpSmall {
font-size: 16px;
font-weight: normal;
height: 30px;
max-width: 180px;
table {
background-color: rgba(255,255,255,0.8);
border-radius: 10px;
width: 35%;
ONLINE CENSUS
P a g e | 40
.homeBtn {
width: 90px;
height: 30px;
padding: 10px;
position: fixed;
top: 10;
left: 10;
border-radius: 10px;
color: #717171;
background-color: white;
.homeBtn:hover {
ONLINE CENSUS
P a g e | 41
border-radius: 10px;
color: white;
background-color: #717171;
cursor: pointer;
</style>
</head>
<a href="Admin-Home.php">
<div class="homeBtn">
< Home
</div>
</a>
ONLINE CENSUS
P a g e | 42
<tr>
</tr>
<tr>
<td>Officer Id</td>
</tr>
<tr><br>
<td>Password</td>
</tr>
<tr>
<td>Name</td>
</tr>
<tr>
ONLINE CENSUS
P a g e | 43
<td>Email</td>
</td>
</tr>
<tr>
<td>Phone</td>
</td>
</tr>
<tr>
<td>City</td>
<option value="BENGALURU">BENGALURE</option>
<option value="MYSORE">MYSORE</option>
</select>
</td>
</tr>
<tr>
ONLINE CENSUS
P a g e | 44
<td>State</td>
<option value="KARNATAKA">KARNATAKA</option>
</select>
</td>
</tr>
<tr>
</td>
</tr>
</table>
</tr>
</table>
</form>
</body>
</html>
ONLINE CENSUS
P a g e | 45
Officer login.php
<?php
include("connection.php");
session_start();
if($_SERVER["REQUEST_METHOD"] == "POST")
$username = mysqli_real_escape_string($con,$_POST['username']);
$password = mysqli_real_escape_string($con,$_POST['password']);
$row = mysqli_fetch_array($result,MYSQLI_ASSOC);
$count = mysqli_num_rows($result);
if($count == 1) {
$_SESSION['sid']=$_POST['username'];
header("location: Officer-Home.php");
ONLINE CENSUS
P a g e | 46
else {
$err="invalid id or pass";
?>
<html>
<head>
<script type="text/javascript">
</script>
<style type="text/css">
body {
ONLINE CENSUS
P a g e | 47
background-color: #CCCCCC;
font-family: Helvetica;
#info {
color: black;
width: 30%;
padding: 10%;
margin-top: 20px;
float: left;
text-align: center;
#login {
color: black;
float: right;
ONLINE CENSUS
P a g e | 48
font-size: 20px;
.inp {
width: 300px;
height: 40px;
margin-bottom: 20px;
margin-top: 5px;
font-size: 20px;
border: none;
border-radius: 5px;
color: #474747;
background-color: white;
.btn {
ONLINE CENSUS
P a g e | 49
width: 180px;
height: 45px;
margin-bottom: 20px;
font-size: 20px;
border-radius: 5px;
color: white;
background-color: #474747;
transition-duration: 0.5s;
.btn:hover {
color: #474747;
background-color: white;
cursor: pointer;
ONLINE CENSUS
P a g e | 50
</style>
</head>
<body>
<div id="info">
<br>
</div>
<div id="login">
<form method="post">
<p>Username<br>
<p>Password<br>
ONLINE CENSUS
P a g e | 51
</form>
</div>
</body>
</html>
Officer home.php
<!DOCTYPE html>
<head>
</head>
<body background="">
<div style=" text-align: left; color: #474747; float: left; margin-left: 30px; margin-top:
15px;">
ONLINE CENSUS
P a g e | 52
</div>
</div>
<div class="sidenav">
<ul>
<hr>
</ul>>
</div>
</body>
Registration.php
<?php
include("connection.php");
session_start();
if($_SERVER["REQUEST_METHOD"] == "POST") {
$Name = mysqli_real_escape_string($con,$_POST['Name']);
ONLINE CENSUS
P a g e | 53
$DOB = mysqli_real_escape_string($con,$_POST['DOB']);
$Gender = mysqli_real_escape_string($con,$_POST['Gender']);
$Email = mysqli_real_escape_string($con,$_POST['Email']);
$Phone = mysqli_real_escape_string($con,$_POST['Phone']);
$Education = mysqli_real_escape_string($con,$_POST['Education']);
$Occupation = mysqli_real_escape_string($con,$_POST['Occupation']);
$Address = mysqli_real_escape_string($con,$_POST['Address']);
$Area = mysqli_real_escape_string($con,$_POST['Area']);
$City = mysqli_real_escape_string($con,$_POST['City']);
$State = mysqli_real_escape_string($con,$_POST['State']);
$Pincode = mysqli_real_escape_string($con,$_POST['Pincode']);
$Aadhaar = mysqli_real_escape_string($con,$_POST['Aadhaar']);
if (mysqli_query($con,$sql)) {
echo "<br><center>";
echo "<br><br>";
ONLINE CENSUS
P a g e | 54
echo "</center><br><hr><br>";
else {
?>
<html>
<head>
<title>Registration</title>
<style type="text/css">
body {
font-family: verdana;
font-size: 18px;
margin: 20px 0;
ONLINE CENSUS
P a g e | 55
.homeBtn {
width: 90px;
height: 30px;
padding: 10px;
position: fixed;
top: 10;
left: 10;
border-radius: 10px;
color: #717171;
background-color: white;
.homeBtn:hover {
ONLINE CENSUS
P a g e | 56
border-radius: 10px;
color: white;
background-color: #717171;
cursor: pointer;
.inp {
font-size: 16px;
font-weight: normal;
min-width: 250px;
height: 30px;
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
ONLINE CENSUS
P a g e | 57
.btn {
font-size: 18px;
font-weight: bold;
width: 80%;
height: 40px;
padding: 8px;
background-color: #717171;
color: white;
border: none;
border-radius: 5px;
transition-duration: 0.5s;
.btn:hover {
background-color: white;
ONLINE CENSUS
P a g e | 58
color: #717171;
border-radius: 5px;
cursor: pointer;
.inpSmall {
font-size: 16px;
font-weight: normal;
height: 30px;
max-width: 180px;
table {
background-color: rgba(255,255,255,0.8);
border-radius: 10px;
width: 35%;
ONLINE CENSUS
P a g e | 59
</style>
</head>
<a href="Index.php">
<div class="homeBtn">
< Home
</div>
</a>
<tr>
<td colspan=2>
ONLINE CENSUS
P a g e | 60
</td>
</tr>
<tr>
<td>Name</td>
</tr>
<tr>
<td>DOB</td>
</tr>
<tr>
<td>Gender</td>
</tr>
<tr>
ONLINE CENSUS
P a g e | 61
<td>Email</td>
</td>
</tr>
<tr>
<td>Phone</td>
</td>
</tr>
<tr>
<td>Education</td>
</td>
</tr>
<tr>
<td>Occupation</td>
</td>
ONLINE CENSUS
P a g e | 62
</tr>
<tr>
<td>Address</td>
</td>
</tr>
<tr>
<td>Area</td>
</td>
</tr>
<tr>
<td>City</td>
<option value="BENGALURU">BENGALURU</option>
<option value="MYSORE">MYSORE</option>
</select>
</td>
ONLINE CENSUS
P a g e | 63
</tr>
<tr>
<td>State</td>
<option value="KARNATAKA">KARNATAKA</option>
</select>
</td>
</tr>
<tr>
<td>Pincode</td>
</td>
</tr>
<tr>
<td>Aadhaar no.</td>
</td>
</tr>
ONLINE CENSUS
P a g e | 64
<tr>
</td>
</tr>
</table>
</form>
</body>
</html>
ONLINE CENSUS
P a g e | 65
ONLINE CENSUS
P a g e | 66
5.1 INTRODUCTION: -
Once source code has been generated, software must be tested to uncover (and correct) as many
errors as possible before delivery to customer. Our goal is to design a series of test cases that
have a high likelihood of finding errors. To uncover the errors software techniques are used.
These techniques provide systematic guidance for designing test that
(2) Exercise the input and output domains of the program to uncover errors in program function,
behavior and performance.
STEPS:
(1) Internal program logic is exercised using ―White box ‖ test case design techniques.
(2) Software requirements are exercised using ―Black box ‖ test case design techniques. In both
cases, the intent is to find the maximum number of errors with the Minimum amount of effort
and time.
A strategy for software testing must accommodate low-level tests that are necessary to verify that
a small source code segment has been correctly implemented as well as high-level tests that
validate major system functions against customer requirements.
A strategy must provide guidance for the practitioner and a set of milestones for the manager.
Because the steps of the test strategy occur at a time when deadline pressure begins to rise,
progress must be measurable and problems must surface as early as possible. Following testing
techniques are well known and the same strategy is adopted during this project testing.(5)
ONLINE CENSUS
P a g e | 67
Unit testing focuses verification effort on the smallest unit of software design- the software
component or module. The unit test is white-box oriented. The unit testing implemented in every
module of student attendance management System by giving correct manual input to the system,
the data are stored in database and retrieved. If you want required module to access input or get
the output from the End user, any error will have accrued the time will provide handler to show
what type of error will accrued.
ONLINE CENSUS
P a g e | 68
System testing is actually a series of different tests whose primary purpose is to fully exercise
the computer-based system. Below we have described the two types of testing which have been
taken for this project. It is to check all modules worked on input basis. If you want to change any
values or inputs will change all information. So, specified input is must. (5)
A module is sometimes used to describe a small subsystem composed of several “units.” For the
purposes of this article, the terms unit and module will be used interchangeably, referring to the
types of testing employed at the lowest level of system decomposition. The techniques described,
however, have greater applicability to testing outside of the unit or module. Testing directed to a
single module or unit is called module or unit testing. It consists of test planning, test data
development, test monitoring and execution, and evaluation of results. (5)
ONLINE CENSUS
P a g e | 69
Functional testing is a quality assurance(QA) process and a type of black-box testing that bases
its test cases on the specifications of the software component under test. Functions are tested by
feeding them input and examining the output, and internal program structure is rarely considered
(unlike white-box testing). Functional testing usually describes what the system does.
Functional testing does not imply that you are testing a function (method) of your module or
class. Functional testing tests a slice of functionality of the whole system. (5)
ONLINE CENSUS
P a g e | 70
CONCLUSION
ONLINE CENSUS
P a g e | 71
CONCLUTION:
With the theoretical inclination of our syllabus it becomes very essential to take the at most
advantage of any opportunity of gaining practical experience that comes along. The building
blocks of this Major Project ”ONLINE PERIODIC CENSUS” was one of these opportunities. It
gave us the requisite practical knowledge to supplement the already taught theoretical concepts
thus making us more competent as a computer engineer. The project from a personal point of
view also helped us in understanding the following aspects of project development:
The project also provided us the opportunity of interacting with our teachers and to gain from
their best experience.
ONLINE CENSUS
P a g e | 72
6.1Future Recommendation
Not that we have done are application in a mode, we can extend this to wireless mode. PDA’s are
coming with higher technological specifications like GPRS facility etc. We can easily extend our
scope of the application to wireless mode which would be more useful. Now to get the
fingerprints and retinal authorization we are using Aadhar number, fingerprints and retinal
authorization can also be included when higher computational PDA’s are used.
ONLINE CENSUS
P a g e | 73
APPENDICIES
ONLINE CENSUS
P a g e | 74
Home Page:
ONLINE CENSUS
P a g e | 75
Admin Login:
ONLINE CENSUS
P a g e | 76
Admin Home
ONLINE CENSUS
P a g e | 77
Add Officer
ONLINE CENSUS
P a g e | 78
Remove Officer:
ONLINE CENSUS
P a g e | 79
Officer Login:
ONLINE CENSUS
P a g e | 80
Officer Home:
ONLINE CENSUS
P a g e | 81
Approve Users
ONLINE CENSUS
P a g e | 82
Registration Form:
ONLINE CENSUS
P a g e | 83
BIBLIOGRAPHY: -
WEBSITES REFERENCES
1. www.censusindia.gov.in
2. http://www.w3schools.com/php.net/
3. http://www.mysql.com
ONLINE CENSUS