Dilli SOAS document
Dilli SOAS document
SUBMITTED BY
Date:
Examiners
1. Name:
Signature
2. Name:
Signature
ACKNOWLEDGEMENT
Dr. S. SAKTHI, Principal, Government Arts and Science College, Perumbakkam who has
Department of Computer Science, Government Arts and Science College, Perumbakkam for
Arts and Science College, Perumbakkam for the encouragement and valuable guidance in the
Government Arts and Science College, Perumbakkam for suggesting this work, invaluable and
project work.
I wish to record my sincere thanks to all my teachers, friends and my family members
DILLI GANESH V
ABDUL RAHIMAN A G
GUNA J
INDEX
1 INTRODUCTION 1
SYSTEM ANALYSIS 2
2.1 Existing System
2
2.2 Proposed System
SYSTEM SPECIFICATION 5
3.1 Hardware Requirements
3
3.2 Software Requirements
SOFTWARE DESCRIPTION 6
4.1 PHP
4
4.2 MySQL
SYSTEM DESIGN 30
5.1 System Architecture
5
5.2 Dataflow Diagram
5.3 Database Design
SYSTEM IMPLEMENTATION 39
6.1 Screen shots
6
6.2 Source Code
7 SYSTEM TESTING 63
REFERENCES 69
ABSTRACT
The admission of the student is done manually by ink and paper which is very
slow and time consuming and much efforts .Every year, students from different
cities come for collecting forms and then again submitting the forms.they also
have to come for the entrance and to see the result of the entrance to get
admission in the college.In order to overcome all these problems,the Student
Online Admission System is developed.
User
Administrator
1
2. SYSTEM ANALYSIS
2
3. Fills it and submits it into office.
4. Filled form is first checked with documents like merit list
an details came from university and verified by an official
person , if there is any mistake then it is corrected.
5. At the time of submission of it the fees is deposited by the
candidate.
3
View all the details of the students.
4
3. SYSTEM SPECIFICATION
System : Multimedia PC
Processor : Pentium 4 or above
Memory : 512MB RAM
Hard Disk : 80GB or above
5
4. SOFTWARE DESCRIPTION
6
something such as this, you need a database application such
as MySQL.
Web Architecture
7
The numbers I used below beside the Label names
following 1 for Request flow and 2 for response flow.
8
generate any output) and sends to Apache
B2: Apache sends that content to browser
A2: Browser renders it to users' screen All static components
like HTML, CSS files, Image Files, Java Scripts etc doesn't
need interpreter. Our web browsers are built to render them
and display on screen properly. That is why if user requests
for these kind of components Apache collects them from
Document root and sends back to Browser directly.
9
Origins of PHP in the open source community
10
of PHP exploded beyond all belief.
Use of PHP
Strength of PHP’s:
11
MVC architecture: PHP mainly works on model view
architecture that helps in managing the code and separate the
model, view and controller files. It helps in connecting the
database very easily and the changes can be done easily
without affecting other file or module.
Frameworks: PHP has different frameworks that are Aura,
Yii, Symfony, Laravel, and Zend. The frameworks help in
achieving the neat and clean code, manageable and make the
development easier for the developers.
Web Server: PHP is mainly worked on web server software,
and used the Apache server.
Database: PHP can be used with any database but it is being
mainly used with MySQL.
12
content.
Autosuggest: In this introduction to PHP, the components are
ready to use to implement the search form with an autosuggest
feature using PHP and database MySQL.
Filters: In PHP, Filters are used to validate the data using
filter function. This filter function helps in checking the
invalid input that has been submitted to avoid the security
problem and break of web pages.
System Functions: In PHP, the system functions are
performed to open the file. It also helps in creating, reading
and writing the file as well.
Handle forms: In PHP, the forms are handled and able to get
the data from files, save the data, sending the email and return
data to a user. PHP can encrypt the data and able to access and
set the cookie variable. With the help of PHP, a developer can
restrict the user to access the pages.
PHP
13
These were released and extended to include a package called
the Form Interpreter (PHP/FI). While PHP originally stood for
"Personal Home Page", it is now said to stand for "PHP:
Hypertext Preprocessor", a recursive acronym.
PHP code is embedded into the HTML source document and
interpreted by a web server with a PHP processor module,
which generates the web page document. It also has evolved
to include a command‐line interface capability and can be
used in standalone graphical applications. PHP can be
deployed on most web servers and as a standalone interpreter,
on almost every operating system and platform free of charge.
In 1997 ZeevSuraski and Andi Gutmans along with Rasmus
rewrite PHP and released PHP version 3.0 in June 1998.After
this release PHP becomes so much popular.
The PHP version 4.0 was launched in May 2000.This version
includes session handling, output buffering, a richer cire
language and support for wide variety of web server
platforms.
The PHP 5.0 version released in 2004 with object-oriented
programming concept.
Apache
Web Server
14
number of programs installed on a computer connected to
internet or intranet for downloading the requested files using
File Transfer Protocol, serving e‐ mail and building and
publishing web pages.
A web server works on client server model. A computer
connected to internet or intranet must have a server program.
A computer connected to the internet for providing the
services to a small company or a department store may contain
the HTTP server to access and store WebPages and files,
SMTP server to support mail services, FTP server for files
downloading and NNTP server for newsgroup.
The computer containing all the above servers is called the
web server.
MySQL
PHP
Apache
To use PHP on a web site, you need a server that can process
PHP scripts. Apache is a free web Server that, once installed
on a computer, allows developers to test PHP scripts locally;
this makes it an invaluable piece of your local development
16
environment.
Like all web servers, Apache accepts an HTTP request and
serves an HTTP response.
MySQL
Client requests for the web page by entering the URL in the
browser using HTTP protocol.
Upon receiving the request from the user web server trying to
locate the requested web page on the server.
If the requested page by user does not exist on the server then
it will send error message displaying.
But if page requested by user exists on the server then it will
process the requested page.
If the page contains any server-side script then it will execute
17
the script.
After execution of script it will send the page in the form of
HTML to the client.
The client browser processes the page that is returned from the
server and displays it.
Basic Architecture
The client
18
unnecessary.
The server
19
Web server and the data-base server; it will also be used to
perform programmatic tasks on the information that comes to
and from the Web server. Figure I-1 represents this system.
20
heart of their applications is available to anyone who wants to
see it. They make use of an open-source development model,
which allows anyone who is interested to participate in the
development of the project. In the case of PHP, coders all over
the world participate in the development of the language and
see no immediate pay for their substantial work. Most of the
people who participate are passionate about good software and
code for the enjoyment of seeing people like you and me
develop with their tools.
21
Windows NT/2000.
WEB SERVER
22
the appropriate Web pages. In reality, it is a bit more
complicated than that, and because of the 24/7 nature of the
Web, stability of the Web server is a major issue.
There are many Web servers out there, but two Web
servers dominate the mar-ket. They are Apache and
Microsoft’s Internet Information Server (IIS).
23
amazingly stable. The most frequently stated complaint about
Apache is that, like many pieces of Unix software, there are
limited graphical tools with which you can manipulate the
application. You alter Apache by specifying options on the
command line or by altering text files. When you come to
Apache for the first time, all this can be a bit opaque.
MIDDLEWARE
24
The middleware is where you’ll be doing the vast
majority of your work. With a little luck, you can have your
Web server up and running without a whole lot of effort. And
once it is up and running, you won’t need to fool with it a
whole lot.
RELATIONAL DATABASES
25
PHP Features:
26
Power PHP developers have almost 200 native libraries
containing well over 1,000 functions, in addition to thousands
of third-party extensions. Although you’re likely aware of
PHP’s ability to interface with databases, manipulate form
information, and create pages dynamically, you might not
know that PHP can also do the following:
27
PHP’s flexible string-parsing capabilities offer users of
differing skill sets the opportunity to not only immediately
begin performing complex string operations but also to
quickly port programs of similar functionality (such as Perl
and Python) over to PHP.
28
security holes and potential problems are rapidly found and
fixed. This advantage was perhaps best summarized by open
source advocate Eric S. Raymond, who wrote “Given enough
eyeballs, all bugs are shallow.” Participation is encouraged:
Development teams are not limited to a particular
organization.
29
5. SYSTEM DESIGN
Student section
Administration User/Student
Database
30
5.2 DATA FLOW DIAGRAM
STUDEN
T
USER/ADMIN ONLINE
DATABASE
ISTRATOR ADMISS
ION
SYSTEM
31
ADMIN
Admin
Access
student
details
Login
Student details
Make the
Student
Admit short
list
32
STUDENT
33
5.3 DATABASE DESIGNS
ADMIN
FIELDNAME DATATYPE
ad_id Varchar(10)
ad_name Varchar(50)
ad_pswd Varchar(50)
ad_eml Varchar(50)
34
STUDENT LOGIN
FIELDNAME DATATYPE
s_id Varchar(10)
s_pwd Varchar(15)
s_dob date
s_name Varchar(45)
s_email Varchar(45)
s_mob Varchar(10)
s_signupdate Datetime(6)
35
STUDENT DETAILS
FIELDNAME DATATYPE
s_detid Varchar(15)
s_id Varchar(15)
s_phn1 Int(10)
s_phn2 Int(10)
f_name Varchar(15)
f_occ Varchar(15)
f_phn Int(10)
m_name Varchar(15)
m_occ Varchar(15)
m_phn Int(10)
36
STUDENT DOCUMENT
FIELDNAME DATATYPE
s_id Varchar(10)
s_pic Varchar(200)
s_tenmarkpic Varchar(200)
s_tencerpic Varchar(200)
s_twdmarkpic Varchar(200)
s_twdcwerpic Varchar(200)
s_idprfpic Varchar(200)
s_sigpic Varchar(200)
37
STATUS
FIELDNAME DATATYPE
s_id Varchar(50)
s_stat Varchar(45)
38
6.SYSTEM IMPLEMENTATION
6.1SCREEN SHOTS
39
40
41
42
43
44
6.2SOURCE CODE
HOME PAGE
<!DOCTYPE html>
<html>
<head>
<title>home</title>
<link rel="stylesheet" href="css/style.css">
</head>
</html>
<div class="container">
<img src="images/dag.jpg" class="logo">
</div>
<!---------- Main Menu HTML Starts ---------- >
<nav>
<div class="container">
<a href="index.html">Home</a>
45
<a href="index1.php">Apply</a>
<a href="adminlogin.php">Admin</a>
<a href="gallery.html">Gallery</a>
<a href="#">About us</a>
</div>
</nav>
<!---------- Main Menu HTML Ends ---------- >
<!---------- Slider HTML Starts---------- >
<div class="slider">
<img src="images/slide.jpg">
</div>
<!---------- Slider HTML Ends ---------->
<!---------- News, Event, Notice Board HTML Starts ------
--->
<div class="container">
<div class="main-section">
<!---------- News Section ---------- >
<div class="event">
<h2 class="heading">Campus News</h2>
<div>
<marquee direction="up" scrollamount="7"
style="height:400px;">
<ul>
<li><img src="images/new.gif"> Lorem Ipsum
is simply dummy text of the printing and typesetting
industry.</li>
<li><img src="images/new.gif"> Desktop
publishing software like Aldus PageMaker including
versions Lorem Ipsum</li>
46
<li><img src="images/new.gif"> Many desktop
publishing packages and web page editors now use</li>
<li><img src="images/new.gif"> Various
versions have evolved over the years, sometimes by accident,
sometimes on purpose (injected humour and the like).</li>
<li><img src="images/new.gif"> Welcome To
The Best Private University in MP</li>
<li><img src="images/new.gif"> Lorem Ipsum
is simply dummy text of the printing and typesetting
industry.</li>
<li><img src="images/new.gif"> Desktop
publishing software like Aldus PageMaker including
versions of Ipsum</li>
</ul>
</marquee>
</div>
</div>
<!---------- Event Section ---------- >
<div class="event">
<h2 class="heading">Events</h2>
<div>
<marquee direction="up" scrollamount="7"
style="height:400px;">
<ul>
<li><img src="images/new.gif"> Lorem Ipsum
is simply dummy text of the printing and typesetting
industry.</li>
<li><img src="images/new.gif"> Desktop
publishing software like Aldus PageMaker including
47
versions Lorem Ipsum</li>
<li><img src="images/new.gif"> Many desktop
publishing packages and web page editors now use</li>
<li><img src="images/new.gif"> Various
versions have evolved over the years, sometimes by accident,
sometimes on purpose (injected humour and the like).</li>
<li><img src="images/new.gif"> Welcome To
The Best Private University in MP</li>
<li><img src="images/new.gif"> Lorem Ipsum
is simply dummy text of the printing and typesetting
industry.</li>
<li><img src="images/new.gif"> Desktop
publishing software like Aldus PageMaker including
versions of Ipsum</li>
</ul>
</marquee>
</div>
</div>
<!---------- Notice Board Section ---------- >
<div class="event">
<h2 class="heading">Notice Boards</h2>
<div>
<marquee direction="up" scrollamount="7"
style="height:400px;">
<ul>
<li><img src="images/new.gif"> Lorem Ipsum
is simply dummy text of the printing and typesetting
industry.</li>
<li><img src="images/new.gif"> Desktop
48
publishing software like Aldus PageMaker including of
Lorem Ipsum</li>
<li><img src="images/new.gif"> Many desktop
publishing packages and web page editors now use</li>
<li><img src="images/new.gif"> Various
versions have evolved over the years, sometimes by accident,
sometimes on purpose (injected humour and the like).</li>
<li><img src="images/new.gif"> Welcome To
The Best Private University in MP</li>
<li><img src="images/new.gif"> Lorem Ipsum
is simply dummy text of the printing and typesetting
industry.</li>
<li><img src="images/new.gif"> Desktop
publishing software like Aldus PageMaker including
versions of Ipsum</li>
</ul>
</marquee>
</div>
</div>
</div>
<!---------- News, Event, Notice Board HTML Ends -------
-->
<!---------- About Us HTML Starts---------- >
<div class="main-section about-us">
<img src="images/principal1.png" >
<div>
<h2 class="heading">About Our Chairman</h2>
<p> Lorem Ipsum is simply dummy text of the printing
and typesetting industry. Lorem Ipsum is simply dummy text
49
of the printing and typesetting industry. Lorem Ipsum is
simply dummy text of the printing and typesetting industry.
Lorem Ipsum is simply dummy text of the printing and
typesetting industry. Lorem Ipsum is simply dummy text of
the printing and typesetting industry. Lorem Ipsum is simply
dummy text of the printing and typesetting industry. Lorem
Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum is simply dummy text of the printing
and typesetting industry. </p>
<img src="images/sign.png">
</div>
</div>
<!---------- About Us HTML Ends ---------- >
<!---------- Testimonial HTML Starts ---------- >
<div class="main-section">
<h2 class="heading">What Student Say's About
Courses</h2>
<marquee scrollamount="7">
<div class="testimonial">
<div class="testimonial-text"> Contrary to popular
belief, Lorem Ipsum is not simply <br>
It has roots in a piece of classical Latin literature
<br>
from 45 BC, making it over 2000 years old. Richard
,<br>
a Latin professor at Hampden-Sydney College in
look.
</div>
<div class="testimonial-detail">
50
<div class="testimonial-img"> <img
src="images/testimonial-1.png"> </div>
<div class="testimonial-name">
<h5>Niccky</h5>
<p>Web Devloper</p>
</div>
</div>
</div>
<div class="testimonial">
<div class="testimonial-text"> Contrary to popular
belief, Lorem Ipsum is not simply <br>
It has roots in a piece of classical Latin literature
<br>
from 45 BC, making it over 2000 years old.
McClintock,<br>
a Latin professor at Hampden-Sydney College in
look.
</div>
<div class="testimonial-detail">
<div class="testimonial-img"> <img
src="images/testimonial-2.png"> </div>
<div class="testimonial-name">
<h5>Richa</h5>
<p>Web Devloper</p>
</div>
</div>
</div>
<div class="testimonial">
<div class="testimonial-text"> Contrary to popular
51
belief, Lorem Ipsum is not simply <br>
It has roots in a piece of classical Latin literature
<br>
from 45 BC, making it over 2000 years old.
McClintock,<br>
a Latin professor at Hampden-Sydney College in
look.
</div>
<div class="testimonial-detail">
<div class="testimonial-img"> <img
src="images/testimonial-3.png"> </div>
<div class="testimonial-name">
<h5>frank</h5>
<p>Web Devloper</p>
</div>
</div>
</div>
</marquee>
</div>
<!---------- Testimonial HTML Ends ---------- >
<!---------- Placement HTML Starts ---------- >
<div class="main-section">
<h2 class="heading">Placement</h2>
<marquee class="placement" direction="left"
scrollamount="10">
<img src="images/company-1.png">
<img src="images/company-2.png">
<img src="images/company-3.png">
<img src="images/company-4.png">
52
<img src="images/company-5.png">
<img src="images/company-6.jpeg">
<img src="images/company-7.jpg">
<img src="images/company-8.png">
<img src="images/company-9.png">
<img src="images/company-10.png">
</marquee>
</div>
</div>
<!---------- Placement HTML Ends ---------- >
<!---------- Footer HTML Starts ---------- >
<div class="footer">
<div class="container">
<div class="footer-sect">
<h2>Best Institute For Education</h2>
<p>Contrary to popular belief, Lorem Ipsum is not
simply random text. It has roots in a piece of classical Latin
literature from 45 BC, making it over 2000 years old.
Richard McClintock.</p>
<img src="images/icon-fb.png">
<img src="images/icon-tw.png">
<img src="images/icon-in.png">
<img src="images/icon-li.png">
</div>
<div class="footer-sect">
<h2>Quick Links</h2>
<ul class="footer-menu">
<li><a href="#"> > Home</a></li>
53
<li><a href="#"> > About us</a></li>
<li><a href="#"> > Event</a></li>
<li><a href="#"> > Gallery</a></li>
<li><a href="#"> > Press Release</a></li>
<li><a href="#"> > Courses</a></li>
<li><a href="#"> > Contact Us</a></li>
</ul>
</div>
<div class="footer-sect">
<h2>Contact Info</h2>
<ul class="footer-contact">
<li><b>Email :</b>
[email protected] </li>
<li><b>Call :</b> +91 -80981 44014 </li>
<li><b>Fax :</b> +91 -123 4567890 </li>
<li><b>Website :</b> https://www.dag
university.com </li>
</ul>
</div>
</div>
</div>
</body>
</html>
<!---------- Footer HTML Ends ---------- >
ADMIN LOGIN
<?php
session_start();
error_reporting(0);
54
$con=mysqli_connect("localhost","root","","oas");
if(!isset($con)){
die("Database Not Found");
}
if(isset($_REQUEST["a_sub"])){
$aid=$_POST['a_id'];
$apwd=$_POST['a_ps'];
if($aid!=''&&$apwd!=''){
$query=mysqli_query($con ,"select * from t_admin where
ad_id='".$aid."' and ad_pswd='".$apwd."'");
$res=mysqli_fetch_row($query);
if($res){
$_SESSION['ad']=$aid;
header('location:admin.php');
}
else{
echo '<script>';
echo 'alert("Invalid Login ! Please try again.")';
echo '</script>';
}
}
else{
echo '<script>';
echo 'alert("Enter both username and password")';
echo '</script>';
}
}
?>
<html>
55
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<link type="text/css" rel="stylesheet"
href="css/login.css"></link>
<link rel="stylesheet"
href="bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="bootstrap/bootstrap-
theme.min.css">
<script src="bootstrap/jquery.min.js"></script>
<script src="bootstrap/bootstrap.min.js"></script>
<script language="javascript" type="text/javascript"
src="jquery/jquery-1.10.2.js"></script>
<script language="javascript" type="text/javascript"
src="jquery/jquery-ui.js"></script>
<link href="jquery/jquery-ui.css" rel="stylesheet"
type="text/css" />
<title></title>
</head>
<body style="background-
image:url('./images/inbg.jpg');">
<form id="adminlogin" action="adminlogin.php"
method="post">
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">
<img src="images/dag.jpg" width="100%"
style="box-shadow: 1px 5px 14px #999999; "></img>
56
</div>
</div>
</div>
<div id="adivtop">
<br> <br> <br> <br> <br> <br> <br>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">
<h3>Login</h3>
<input type="text" id="a_id"
name="a_id" class="form-control" style="width:200px;"
placeholder="Admin ID"><br><br>
<input type="password"
id="a_ps" name="a_ps" class="form-control"
style="width:200px;" placeholder="Password"><br><br>
<input type="submit" id="a_sub"
name="a_sub" value="Login" class="toggle btn btn-
primary"><br>
</div>
</div>
</div>
</div>
<input type="hidden" id="txtid" name="txtid"
><br/>
</form>
</body>
</html>
57
USER LOGIN
<?php
session_start();
$con=mysqli_connect("localhost","root","","oas");
if(!isset($con)){
die("Database Not Found");
}
if(isset($_REQUEST["u_sub"])){
$id=$_POST['u_id'];
$pwd=$_POST['u_ps'];
if($id!=''&&$pwd!=''){
$query=mysqli_query($con ,"select * from t_user_data
where s_id='".$id."' and s_pwd='".$pwd."'");
$res=mysqli_fetch_row($query);
$query1=mysqli_query($con ,"select * from t_user where
s_id='".$id."'");
$res1=mysqli_fetch_row($query1);
if($res){
$_SESSION['user']=$id;
header('location:admsnform.php');
}
else{
echo '<script>';
echo 'alert("Invalid username or password")';
echo '</script>';
}
if($res1) {
$_SESSION['user']=$id;
header('location:homepageuser.php');
58
}
else{
echo '<script>';
echo 'alert("Invalid username or password")';
echo '</script>';
}
}
else{
echo '<script>';
echo 'alert("Enter both username and password")';
echo '</script>';
}
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<link type="text/css" rel="stylesheet"
href="css/login.css"></link>
<link rel="stylesheet"
href="bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="bootstrap/bootstrap-
theme.min.css">
<script src="bootstrap/jquery.min.js"></script>
<script src="bootstrap/bootstrap.min.js"></script>
<title></title>
</head>
<body style="background-
59
image:url('./images/inbg2.jpg');" >
<form id="index1" action="index1.php"
method="post">
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">
<img src="images/dag.jpg" width="100%"
style="box-shadow: 1px 5px 14px #999999; "></img>
</div>
</div>
<div id="divtop">
<br> <br> <br> <br> <br> <br> <br> <br>
<br> <br> <br>
<div id="dmain" >
<center><img
src="./images/loginuser.png" width="120px"
height="100px" ></center>
<br>
<input type="text" id="u_id"
name="u_id" class="form-control" style="width:300px;
margin-left: 66px;" placeholder="Enter Your User ID"><br>
<input type="password" id="u_ps"
name="u_ps" class="form-control" style="width:300px;
margin-left: 66px;" placeholder="Enter Your
Password"><br>
<input type="submit" id="u_sub"
name="u_sub" value="Login" class="toggle btn btn-
primary" style="width:100px; margin-left: 160px;"><br>
<a href="signup.php" style="margin-
60
left: 180px;">Sign Up </a>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
</body>
</html>
DATABASE
-- phpMyAdmin SQL Dump
-- version 4.1.12
-- http://www.phpmyadmin.net
-- Host: 127.0.0.1
-- Generation Time: Oct 10, 2015 at 10:25 AM
-- Server version: 5.6.16
-- PHP Version: 5.5.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET
@OLD_CHARACTER_SET_CLIENT=@@CHARACTER
_SET_CLIENT */;
/*!40101 SET
@OLD_CHARACTER_SET_RESULTS=@@CHARACTE
R_SET_RESULTS */;
/*!40101 SET
@OLD_COLLATION_CONNECTION=@@COLLATION
_CONNECTION */;
61
/*!40101 SET NAMES utf8 */;
--
-- Database: `oas`
-- Table structure for table `t_admin`
--
CREATE TABLE IF NOT EXISTS `t_admin` (
`ad_id` varchar(10) NOT NULL,
`ad_name` varchar(50) NOT NULL,
`ad_pswd` varchar(50) NOT NULL,
`ad_eml` varchar(50) DEFAULT NULL,
PRIMARY KEY (`ad_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `t_admin`--
INSERT INTO `t_admin` (`ad_id`, `ad_name`, `ad_pswd`,
`ad_eml`) VALUES
('AD00000001', 'admin', 'admin', '[email protected]'),
('AD00002', 'Dilraj', 'QCoxFrwx',
'[email protected]');
-- Table structure for table `t_status`
--
CREATE TABLE IF NOT EXISTS `t_status` (
`s_id` varchar(50) NOT NULL,
`s_stat` varchar(45) NOT NULL,
KEY `s_id` (`s_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- Dumping data for table `t_status`
INSERT INTO `t_status` (`s_id`, `s_stat`) VALUES
('CUTM00008', 'Applied');
62
7.SYSTEM TESTING
Types of tests
Testing is the process of trying to discover every
conceivable fault or weakness in a work product. The
different types of testing are given below:
Unit testing
Unit testing involves the design of test cases that validate
that the internal program logic is functioning properly flow
should be validated. It is the testing of individual software
units of the application .it is done after the completion of an
individual unit before integration.
This is a structural testing, that relies on knowledge of its
construction and is invasive. Unit tests perform basic tests at
component level and test a specific business process,
application, and/or system configuration. Unit tests ensure
that each unique path of a business process performs
accurately to the documented specifications and contains
63
clearly defined inputs and expected results.
Features to be tested
●Verify that the entries are of the correct format
●No duplicate entries should be allowed
●All links should take the user to the correct page.
Integration testing
Integration tests are designed to test integrated software
components to determine if they actually run as one program.
Testing is event driven and is more concerned with the basic
outcome of screens or fields. Integration tests demonstrate that
although the components were individually satisfaction, as
shown by successfully unit testing, the combination of
components is correct and consistent. Integration testing is
specifically aimed at exposing the problems that arise from the
combination of components.
64
defects.
Functional test
Functional tests provide systematic demonstrations that
functions tested are available as specified by the business and
technical requirements, system documentation, and user
manuals. Functional testing is centered on the following
items:
Valid Input : identified classes of valid input must be
accepted.
Invalid Input : identified classes of invalid input must be
rejected.
Functions : identified functions must be exercised.
Output: identified classes of application outputs must be
exercised.
65
process flows; data fields, predefined processes, and
successive processes must be considered for testing. Before
functional testing is complete, additional tests are identified
and the effective value of current tests is determined.
System Test
System testing ensures that the entire integrated software
system meets requirements. It tests a configuration to ensure
known and predictable results. An example of system testing
is the configuration-oriented system integration test. System
testing is based on process descriptions and flows,
emphasizing pre-driven process links and integration points.
66
8.CONCLUSION
67
current state of portability.Overall, the system performs well,
and while it does not include all of the features that may have
been desired, it lives up to initial expectations. The majority
of features that are included work flawlessly and the errors
that do exist are minor or graphical.
FUTURE SCOPE
68
REFERENCES
69