VISVESVARAYA TECHNOLOGICAL UNIVERSITY
JNANA SANGAMA, BELAGAVI
Mini Project Report on
“SWAJAL WATER SUPPLY”
Submitted in partial fulfilment of the requirements of the 2nd semester in
MASTER OF COMPUTER APPLICATIONS
Submitted By USN_NO
1.Rasika Yadav 2AG21MC028
2.Aishwarya Borannawar 2AG21MC006
Under the Guidance of
Prof. Shreedhar kumbhar
Academic Year:2021-22
Angadi Institute of Technology and Management
Savagaon Road, Belagavi 590009
AITM College Page 1
Angadi Institute of Technology and Management
Savagaon Road, Belagavi 590009
2021-2022
Department of Master of Computer Application
Certificate
This is to certify that Miss .Rasika Yadav and Miss .Aishwarya Borannawar have completed
their project work-1 entitled “SWAJAL WATER SUPPLY” as a partial fulfilment for the
award of the Master of Applications degree, during the academic year 2021-2022 under my
supervision.
Internal Guide
Prof. Shreedhar kumbhar
Academic Year:2021-22
_______________ ___________________
Head of Department Principal
Dr.V.C.Hallur Dr. Aanand Deshpande
Assoc Prof. and Head, Dept of M.C.A. Angadi Institute of Technology and
Angadi Institute of Technology and Management Belgavi
Management Belagavi
Examiner 1 Examiner 1 Examiner 2 Examiner 2 Date
Name Signature Name Signature
CONTENT
AITM College Page 2
SNO INDEX PAGE NO
1 Introduction 4
2 Requirement Analysis 4-5
3 Hardware Requirements And Software Requirements 5-6
Analysis And Design
4.1] DFD
4 6 - 12
4.2] Use case diagram
4.3] ER – diagram
Implementation
5 12 - 18
5.1] Code
Testing
6 18 - 19
6.1] Functional testing
7 Database Table Structure 20
8 Input And Output Screen 21 - 23
9 Conclusion 23
AITM College Page 3
INTRODUCTION
Portable water being one of the most critical needs of mankind, next to oxygen, triggered
our journey to deliver pure & hygienic drinking water at the doorstep of every Indian
resident at an affordable price, quality & timely service. Though water supply from local
government is available in certain parts of India, it is generally not considered safe enough
to drink until it undergoes several filtering & processing steps. Indeed there are multiple
filtered water suppliers who deliver unknown labels, charge hefty price with poor quality
AITM College Page 4
and delivery service. There are also a few suppliers who deliver branded mineral water at a
very high price thus making it unaffordable for daily
This is where SWAJAL envisioned to build a plat form that can connect & bring the filtered
as well as mineral water sources from the neighborhood to the door step of India resident
ensuring highest water quality, affordable price & most important–timely service
Pure and hygienic drinking water can supply in few minutes, simply order online water can
and get it delivered at your door step through Swajal.
Requirement Analysis
Waterfall development:
Waterfall model is the simplest model of software development paradigm. It says the all the
phases of SDLC will function one after another in linear manner. That is, when the first
phase is finished then only the second phase will start and so on.
This model assumes that everything is carried out and taken place perfectly as
planned in the previous stage and there is no need to think about the past issues that may
arise in the next phase. This model does not work smoothly if there are some issues left at
the previous step. The sequential nature of model does not allow us go back and undo or
redo our actions.
This step onwards the software development team works to carry on the project. The
team holds discussions with various stakeholders from problem domain and tries to bring
out as much information as possible on their requirements. The requirements are
contemplated and segregated into user requirements, system requirements and functional
requirements. The requirements are collected using a number of practices as given –
AITM College Page 5
studying the existing or obsolete system and software,
conducting interviews of users and developers,
referring to the database or
Collecting answers from the questionnaires.
HARDWARE REQUIREMENT AND SOFTWARE
REQUIREMENT
Hardware Requirements:
Processor IntelPentium 4 or higher
Hard Disk min 20GB
RAM 512 MB
Software Requirements:
Operating System Windows xp/7/8/10
AITM College Page 6
Front End Php
Web Technology PHP
Data base MySQL
Web Server APACHE Tomcat
Design Tool Adobe Dreamweaver
Analysis And Design
Data Flow Diagram:
Data flow diagram is graphical representation of flow of data in an information system. It is
capable of depicting incoming data flow, outgoing data flow and stored data. The DFD does not
mention anything about how data flows through the system.
There is a prominent difference between DFD and Flowchart. The flowchart depicts flow
of control in program modules. DFDs depict flow of data in the system at various levels. DFD
does not contain any control or branch elements.
Types of DFD:
Data Flow Diagrams are either Logical or Physical.
Logical DFD- This type of DFD concentrates on the system process, and flow of data
in the system. For example in a Banking software system, how data is moved between
different entities.
AITM College Page 7
Physical DFD- This type of DFD shows how the data flow is actually implemented in
the system. It is more specific and close to the implementation.
DFD Components:
DFD can represent Source, destination, storage and flow of data using the following set of
components -
Entities- Entities are source and destination of information data. Entities are represented
by a rectangles with their respective names.
Process- Activities and action taken on the data are represented by Circle or Round-
edged rectangles.
Data Storage - There are two variants of data storage - it can either be represented as a
rectangle with absence of both smaller sides or as an open-sided rectangle with only one
side missing.
Data Flow - Movement of data is shown by pointed arrows. Data movement is shown
from the base of arrow as its source towards head of the arrow as destination.
DFD Diagram
AITM College Page 8
Sequence Diagram
AITM College Page 9
USECASE DAIGRAMS:
AITM College Page 10
ER-Diagram:
AITM College Page 11
Let us now learn how the ER Model is represented by means of an ER diagram. Any object, for
example, entities, attributes of an entity, relationship sets, and attributes of relationship sets, can
be represented with the help of an ER diagram.
Entity:
Entities are represented by means of rectangles. Rectangles are named with the entity set they
represent.
Admin Donor Volunteer
Attributes:
Attributes are the properties of entities. Attributes are represented by means of ellipses. Every
ellipse represents one attribute and is directly connected to its entity (rectangle).
Name D_id
Donor
D_addr
If the attributes are composite, they are further divided in a tree like structure. Every node is then
connected to its attribute. That is, composite attributes are represented by ellipses that
areconnected with an ellipse.
L_name
AITM College Page 12
F-name
Name D_id
Donor
Gender
Implementation:
Sample Code
<?php
session_start();
?>
<!DOCTYPE HTML>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="quiz.css" rel="stylesheet" type="text/css">
</head>
<body>
<?php
include("header.php");
AITM College Page 13
include("database.php");
extract($_POST);
extract($_GET);
extract($_SESSION);
if(isset($submit))
$rs=mysql_query("select * from mst_user where login='$loginid' and
pass='$pass'");
if(mysql_num_rows($rs)<1)
$found="N";
else
$_SESSION[login]=$loginid;
if (isset($_SESSION[login]))
echo "<h4 class='style8' align=center class='hatch'>Welcome to Catch Aptitude
Online Quize Test</h4>";
?>
<table border=1 align=center class="fadeIn" style="background-
image: url(image/bk2.jpg);background-repeat: no-repeat;background-size:
cover"><tr background="image/b2.jpg" class=style2>
<tr>
AITM College Page 14
<td width=300 align=center><p class="style7"><imgsrc="image/HLPBUTT2.JPG"
halign="center"><a href="sublist.php"><br>Mock Tests</a></p>
<td width=300 align=center><p class="style7"><imgsrc="image/DEGREE.JPG"
halign="center"><a href="result.php"><br>Result</a></p>
</tr>
<tr>
<td width=300 align=center><p class="style7"><imgsrc="image/students.png"
halign="center"><a href="#"><br>Profile</a></p>
<td width=300 align=center><p class="style7"><imgsrc="image/logout.png"
halign="center"><a href="signout.php"><br><?php echo $login?> Logout</a></p>
</tr>
</table>
<div style="position:absolute;width:100%;bottom:0px;height:15;">
<?php include("footer.php");
?>
</div>
<?php
exit;
?>
<center>
<div style="background-image: url(image/bk2.jpg);background-repeat: no-
repeat;background-size: cover" id="vasplus_programming_blog_wrapper1"
class="expandOpen">
<h5>Rule and Regulations</h5>
<hr/>
<h6 class='style8' align=Left class='hatch'>*User Name And Password Given By
College</h6>
<h6 class='style8' align=Left class='hatch'>*No Of Questions 60</h6>
AITM College Page 15
<h6 class='style8' align=Left class='hatch'>*Max Time 60 Min</h6>
<h6 class='style8' align=Left class='hatch'>*No Negative Marks</h6>
<h6 class='style8' align=Left class='hatch'>*Above 5 marks holder persons
only selected</h6>
<h6 class='style8' align=Left class='hatch'>*Once You Submit The Page, You
Cant Go Previous Page.</h6>
<hr/>
<center><div class="" align="center" style="width:230px;min-height:20px;
font-family:Verdana, Geneva, sans-serif; font-size:16px; font-
weight:bold;"><imgsrc="image/students.png"><br>STUDENT LOGIN</div></center>
<br><div class="vpb_lebels_info" align="left"> </div><span
class="errors">
<?php
if(isset($found))
echo "Invalid Username or Password";
?>
</span><br clear="all"><br>
<form name="form1" method="post" action="">
<div class="vpb_lebels" align="left">ID Number:</div>
<div class="vpb_lebels_fields" align="left"><input name="loginid" type="text"
id="loginid2" class="vasplus_blog_form_opt" placeholder="Enter Your ID
Number"/></div><br clear="all">
<div class="vpb_lebels" align="left">Password:</div>
<div class="vpb_lebels_fields" align="left"><input name="pass"
type="password" id="pass2" class="vasplus_blog_form_opt" placeholder="Enter
Your Password"/></div><br clear="all"><br clear="all">
AITM College Page 16
<div class="vpb_lebels" align="left"> </div>
<div style="width:300px;float:left;" align="center">
<input name="submit" type="submit" class="send_btn" id="submit"
value="Login"><br><br>
<div align="center"><span class="style4">New User ?<a
href="signup.php">Register here</a></span></div></div><br clear="all">
</div>
</form>
</center>
</div>
</center>
<div style="position:absolute;bottom:0px;top:900px;width:100%;height:15;">
<?php include("footer.php");
?>
</div>
<script>
$('#vasplus_programming_blog_wrapper1').click(function() {
$(this).addClass("expandOpen");
});
</script>
</body>
</html>
User code:
<?php
session_start()
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
AITM College Page 17
<html>
<head>
<title>Administrative Login - Online Exam</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../quiz.css" rel="stylesheet" type="text/css">
</head>
<body style="background-image: url(../image/background2.jpg);background-
repeat: no-repeat;background-size: cover">
<?php
include("header.php");
?>
<center>
<div style="" id="vasplus_programming_blog_wrapper1" class="expandOpen">
<center><div class="" align="center" style="width:230px;min-height:20px;
font-family:Verdana, Geneva, sans-serif; font-size:16px; font-
weight:bold;"><imgsrc="../image/students.png"><br>ADMIN LOGIN</div></center>
<div class="vpb_lebels_info" align="left"> </div><span class="errors">
</span><br clear="all"><br>
<form name="form1" method="post" action="login.php">
<div class="vpb_lebels" align="left">ID Number:</div>
<div class="vpb_lebels_fields" align="left"><input name="loginid" type="text"
id="loginid" class="vasplus_blog_form_opt" placeholder="Enter Your ID
Number"/></div><br clear="all">
<div class="vpb_lebels" align="left">Password:</div>
<div class="vpb_lebels_fields" align="left"><input name="pass"
type="password" id="pass" class="vasplus_blog_form_opt" placeholder="Enter
Your Password"/></div><br clear="all"><br clear="all">
AITM College Page 18
<div class="vpb_lebels" align="left"> </div>
<div style="width:300px;float:left;" align="left">
<input name="submit" type="submit" class="send_btn" id="submit"
value="Login"><br><br>
</div><br clear="all">
</div>
</form>
</center>
</div>
</center>
<div style="position:absolute;bottom:0px;width:100%;height:15;">
<?php include("footer.php");
?>
</div>
</body>
</html>
TESTING:
Functional Testing:
The functional testing part of a testing methodology is typically broken down into four
components - unit testing, integration testing, system testing and acceptance testing – usually
executed in this order.
AITM College Page 19
AITM College Page 20
Database Table Structure
Water bottle
Company
User
AITM College Page 21
INPUT AND OUTPUT SCREEN
WATER BOTTLE
ACCEPT ORDER
AITM College Page 22
MY ORDER
REGISTER
AITM College Page 23
LOGIN
CONCLUSION
From this study we conclude that while purchasing the drinking water customers
considers various factors during their purchasing decision. It was found that mostly
customer prefers brands while purchasing the drinking water as it is concern for their
life’s. It is also found that Bisleri is the market leader with the 60% share in the market
Mostly packaged drinking water pack size used by the customers are 500ml & 1L.
Customers are also willing to pay average price for packaged drinking water. The Online
Laundry web application system is developed using PHP and MYSQL_SERVER fully meets
the objectives of the system for which it has been developed.
AITM College Page 24