You are on page 1of 130

INTRODUCTION

Sarthak Education

Overview of the project:

Sarthak education is an educational portal for the students. In this portal we


are trying to provide online services to the students & there guardian to lead
them in proper direction. It is a kind of online information directory for the
guardian to chose better school for there child. It this portal we are trying to
provide online quiz, assignments & games for the grooming of the children.
Using these portal students can get online books & assignments free of cost.

In manual system, communicating with people has been a difficult task. For
campus/organizations with more than hundreds or thousands of students,
contact with each students is impossible without an efficient system .

Objectives & Scope:

Objective:

 To provide online best career guidance.


 Improved Productivity / efficiency
 Optimal Utilization of Resources
 Reduction in time taken in execution of activities
 Better Information sharing / Transparency
 Better way of delivery of information to user at a place convenient to
him/her.
 Provide online information directory for instance solution.
 Provide online quiz & assignments to the students.
 Better customer support
Organization of the report:

The report consists of twelve (12) chapters each consisting of subsections.


Each chapter conveys an insight to the project. The first chapter Introduction
reveals the basic idea of the project, its scope, its purpose and overview.
The second chapter Requirement Analysis takes into account the problem,
the present scenario, and the proposed system. The Requirement Analysis is
one of the most important stages of project life cycle.
The third chapter Requirements specification describes the overall description
of the project, its characteristics, operating environment, user
characteristics, constraints, dataflow diagrams, entity relationship diagrams
etc.
The fourth chapter Feasibility Study expresses the level with which the
project is feasible, it includes hardware & software feasibility, technical
feasibility, economical feasibility, economic feasibility, operational feasibility.
The next chapter System Design describes tables and database used,
components involved, the user interfaces, data dictionary, reports.
The next chapter Technologies Used gives the description of the technologies
used in the project.
The chapter Coding gives the view of codes and logic being implemented.
The Design is followed by coding in the project life cycle hierarchy.
The next chapter Testing specifies the mode of testing done in the project,
test criteria followed and the test cases prepared.
The following chapter Implementation specifies the installation process, and
brief description of the user manual.
The next chapter Cost Estimation of the Project specifies the cost involved in
the project.
The next chapter PERT Chart/Network Diagram, Gantt Chart gives the view if
the project plan, the schedule followed in the project development phase.
The last chapter Conclusion and Future work summarizes the work done in
the project and the future enhancement which can be done.
REQUIREMENT ANALYSIS
Requirement Analysis
Present Scenario

The complete understanding of software requirements is essential for the


success of a software development effort. The requirements analysis task is a
process of discovery, refinement modeling and specification. The software
scope initially established by the system engineer and refined during
software project planning in detail. Modules of the required data, information
and control flow, and operational behavior and created. Alternative solutions
are analyzed and allocated to various software elements.

Both developer and client take and active role in requirements analysis and
specification. The client attempts to reformulate a sometimes-nebulous
concept of software function and performance into concrete detail. The
developer acts as an interrogator, consultant and problem solver.
Requirements analysis is a software engineering task that bridges the gap
between system level software allocation and software design.
Analysis, a Bridge Between System Engineering and Software
Design.

Requirement analysis enables the system engineer to specify software


function, performance indicate software’s interface with other system
elements and establish constraints that software must meet.
Software requirements analysis may be divided into five areas of effort:-
 Problem recognition.
 Evaluation and synthesis
 Modeling.

 Specification.
 Review.

Initially, the analyst studies the system specification and the software project
plan. Problem evaluation and solution synthesis is the next major area of
effort for analysis. Upon evaluating current problems and desired information
(input and output) the analyst beings to synthesize one or more solutions.
During the evaluation and solution synthesis activity, the analyst creates
models of the system to better understand data and control flow, functional
processing and behavioral operation, and information content. The model
serves as a foundation for software design and as the basis for the creation
of a specification for the software.
Identification of Need

As this is very well known fact that this era of information technology and the
world around us is full of competition. Today, when computerization is
essential in each and every aspect of human life to keep pace with the
technological changes in the world, the process and activities carried out in
various Internet Based Testingalso need to be refined and automate.

Till now each and every process and different activities of the Internet Based
Testingare carried out manually or managed manually which need to keep
records which cause many errors and bundles of paper-work. This process
may result wastage of lot of time and money, manpower and also it may not
result accurately.

In the existing system, humans performed all the tasks related to an


examination system. As in the human tendency, error is also a possibility.
Therefore, the inputs entered by the student who is coming for Examinations,
in the registers may not be absolutely foolproof and may be erroneous. As a
result of wrong input, the output reports etc will also be wrong which would
in turn affect the performance
Problem Definition

The problem was to develop an application that can automate the activities
of an Examination System. The developed project must be user-friendly and
efficient in processing. Also the project must be low in cost entry point with
flexible arrangement. That is the project must use a cheaper server system.

One very important fact, in this respect is that there is larger number of
problems in the management of an Internet Based Testing.

This project is a Web Based (Online) Application and has some features for
the Administrator side who is the user himself such as searching, displaying,
and keeping details of a particular student regarding an examination System.
Also the project must be useful from the management point of view for
viewing all examination activities. The User must view all details of student
related to examination by giving their unique student Id or name.
Only one person is required for managing the examination system.
 
The Challenge
Some of the key challenges faced during the course of the project were:

 Integration & managing the details of the schools.

 Development of online system which can be used for get all types of

information required by students & guardian to give an instant support to


its customer.

 Implementation of online quiz & study materials.

Softpro Solution
Softpro proposed reengineer of the existing practice to implement a cost
effective software solution to meet out the department requirements about
the system. The requirements of the client were analyzed and a web based
online system was proposed to cater the demands of the users.
The iterative, time-bound approach adopted by Softpro to address the client
requirements were as follows:

Analyze As-Is Processes

1. A core working group was formed consisting of Senior Designer and


Project Manager, Business Analysts and web programmer to go through
the current processes and understanding problems
2. Policy and technical issues were logged
3. Prepared the documentation for existing process and difficulties.

 Define To-Be processes

1. Came up with the solution of the existing problems.


2. Went through regressive reviews by different aspect of the system and
mapped 'as-is' with 'to-be' .
3. Prepared User Interface Requirement Document.

 Develop High Level Design and Low Level Design before


execution

1. Built a design of all the processes required for the Univ.

2. Conducted survey of the call centre and documented the realities.

3. Developed the architecture of the software solution


Developed the project design in detail for the software developer in the
company.
REQUIREMENT SPECIFICATION
Software Requirement Specification(SRS)

The SRS is produced at the culmination of the risk analysis task. The function
allocated to software as part of system engineering is refined by establishing
a complete information description, a detailed functional and behavioral
description, an indication of performance requirements and design
constraints, appropriate validation criteria, and other data pertinent to
requirements.

1. Introduction
 Purpose:
To automate/computerize “An Examination System” to
provide an “Internet Based Testing management system”

2. Overall Description
 Product Description:
The proposed system falls under RDBMS (Relational Database
Management System) category.
 Product Functioning:
Managing all records of students related to examination and
producing reports (as per norms of university).
3. Specific Requirements
 Interface Requirements: The interface contains the text
boxes where the user can enter login name & password. It also
contains Login button for login & cancel button for closing the
application.
 Easy to follow Interface
 Very less graphics
 No hidden buttons
 Proper error massages

 Functional Requirements:
 The system should have a login.
 On line examination form
 Providing attendance sheet, sheeting plan & duty list
etc.
 The system should have help screen
 Displaying tabulation chart and result notice (as per
norms of university).
 User should have the facility to change his/her
password.
 On successful login user may search student’s
information and can see all details of examination
system.
SOFTWARE ENGINEERING APPROACH

Model Used

Spiral Model

The Spiral Model is one that couples the iterative nature of prototyping with
controlled and systematic aspect of linear sequential or waterfall model. It
provides the potential for rapid development of incremental versions of the
system. Here it is used for successful development of Sales and Product
Management System.
Spiral Model consists of four phases:

 Planning
 Risk Analysis
 Engineering
 Customer Evolution

Risk Analysis
Planning PLANNING RISK ANALYSIS Based on initial
based on requirement
customer
evaluation

Towards a
completed
system

Customer
Evaluation
Initial
software
CUSTOMER prototype
EVOLUTION ENGINEERING

Software Development Process moves throughout these four phase until the
Software is not implemented .In the last phase (Customer Evaluation), End
User evaluates the product, and gives the comments according to
requirement. On basis Software either goes forward in the phases or for
implementation process.

Top – Down designing

The top - down designing approach started with major components of the
system. It is a stepwise refinement which starts from an abstract design, in
each steps the design is refined two or more concrete levels until we reach a
level where no – more refinement is possible or not needed.

Bottom – Up designing

In bottom – up designing the most basic and primitive components are


designed first, and we proceed to higher level components. We work with
layers of abstractions and abstraction are implemented until the stage is
reached where the operations supported by the layer is complete.
Approach we are following-

In this project we are following Mixed Approach i.e. A combination of top –


down and bottom – up. We are developing some of the components using
top – down designing approach (e.g. the WebPages) and the some
components in bottom – up designing approach (e.g. the middle tier classes).

Client side Software Requirement


 Internet Explorer 6.0 or higher
 Operating System

TOOLS USED

 Microsoft .NET framework 2.0 as Application architecture.


 Visual Studio 2005 & Dream weaver 8 are used for development of this
college portal.
 Microsoft SQL Server 2005 for back end database.
 Microsoft IIS 6 (Internet Information Services) as web server to host
our website.
 Photoshop CS2, Fireworks and Swismax for graphics and picture
editing and designing.

Environment
 The estudyzone Web Application will be written in C# .NET language.
 The development environment will be Microsoft Visual Studio .NET.
 The estudyzone Application will be tested on Windows XP platform.

Languages for Programming

 C# for ASP.NET.
 JavaScript for Client side validation.

Software Interface

Client on Internet: Web Browser, Operating System (any).

Client on Intranet: Client Software, Web Browser, Operating System (any)


.
Web Server: IIS 6 or higher, Operating System (windows).

Data Base Server: MS SQL SERVER 2005, Operating System (windows).

Development End: Visual Studio 2005 (ASP.NET, HTML, JavaScript), MS


SQL SERVER 2005, OS (Windows), Web Server (IIS 6 or higher).

User Characteristics:
There are following types of users in the SARTHAK EDUCATION:

The users of this website is administrator of an Internet Based Testingwho


conducts Internet Based Testing of some certificate courses running by a
university and use different features of this application. And the
administrator will be the person who is at managerial level and will create the
users and give permissions to the users on the modules.

Procedural Design:-
Procedural Design occurs after data, architectural and interface designs have
been established. The procedural specification is required to define for
algorithmic details , so that people outside the software domain could more
readily understand the specification, and no new learning would be required.

Error Handling
In this web application, I have used Try-Catch Block for Error Handling.
Errors are catch through Exception handling and all the possible errors are
catch in exception block.

Parameters Passing:
In this Web Application, Parameter Passing is applied because Object Oriented
Paradigm is used in our Website. Classes have used functions in which parameters are
called, later these function are called on a web form on their Click events by passing
parameters.

Validation Checks

Apache Tomcat introduced smart validation server controls to implement


page level validations. They are capable of performing both server side and
client side validations. So, Validation server controls offer the combined
power of both approaches such that the security of application is never
compromised.
Apache Tomcat-6.0 server controls

Presently, Apache Tomcat 6.0 offers six validation controls. It also added new
features like Validation groups and new JavaScript capabilities.

o RequiredFieldValidator
o CompareValidator

o RangeValidator

o RegularExpressionValidator

o CustomValidator

o ValidationSummary

Validation Properties

Usually, Validation is invoked in response to user actions like clicking submit


button or entering data. Suppose, you wish to perform validation on page
when user clicks submit button. To make this happen, simply set the
CauseValidation property to True for submit button as shown below.

RequiredFieldValidator

The RequiredFieldValidator control is simple validation control which checks


to see if the data is entered for the attached control. You can have a
RequiredFieldValidator control for each form element on which you wish to
enforce Mandatory Field rule.

CompareValidator Server Control

The CompareValidator control allows you to make comparisons between two


form elements as well as to compare values contained with in form element
to constants that you specify. For instance, you can specify that a form's
element value must be an integer and greater than a specified number.

CompareFieldValidator

As shown in above output, you can see that ComparisonValidator makes


comparisons between two form elements. You can see that Enter password
textbox value is matched against Confirm Password textbox values to make
sure that they match. If they don't match in their values, you can display
error message by setting ErrorMessage property as shown above. In above
example, we need only a single CompareValidator control on the page
because a single comparison is made. Therefore, you use the
ControlToCompare property. This specifies what value is compared to
Textbox2. In this case, the value is Textbox3.

CODE EFFICIENCY

After they have been implemented and tested, software systems can
very seldom be used over a long time without modifications. In fact, usually
the opposite is true as the requirements are updated or extended after
completion of the product and during its operation, undetected errors or
shortcomings arise. The implementation must constantly be modified or
extended necessitating repeated reading and understanding of the source
code. In the ideal case the function of a program component should be
comprehensible without knowledge of the design documents. The source
code is the only document that always reflects the current state of the
implementation.

The readability of a program depends on the programming language used


and on the programming style of the implementer. Writing readable
programs is a creative process. The programming style of the implementer
influences the readability of a program much more than the programming
language used.

Most important elements of good programming style:

 Structured ness

 Expressiveness

 Outward form
 Efficiency

It has been recognized that good coding style can overcome many of the
deficiencies of primitive programming language. While poor

style can defeat the intent of an excellent language. The goal of a good
coding style is to provide easily understandable, straightforward and elegant
code. The guidelines of coding include:

 Use of a few standard control constants.

 Use of unconditional branching (go to) in a disciplined manner.

 Introduction of user defined data types to model entities in the problem


domain.

 Hiding of a data structure behind access functions.

 Providing standard documentation prologues for each subprograms and


compilation unit.

 Use of indentation, parenthesis, and blank spaces, blank lines, borders


and comments to enhance readability.
OPTIMIZATION OF CODE

The software designer should be concerned with developing a


presentation of software that will meet all functional and performance
requirement and merit acceptance based on design quality measures.

Refinement of program structure during the early stage of design should be


encouraged. Alternative presentation may be desired, refined and evaluated
for the best approach. This approach to optimization is one of the true
benefits desired from developing a presentation of software architecture.

It is important to note that structural simplicity often reflects both elegance


and efficiency. Design optimization should strive for the smallest number of
modules that is consistent with effective modularity and the least complex
data structure.

For performance-critical applications it may be necessary to optimize during


later design iteration and possibly during coding. It is not unreasonable to
propose the following approach for performance-critical software:-
1. Develop and refine program structure without concern for
performance-critical optimization.

2. Use tools that simulate runtime performance to isolate


area of inefficiency.

3. During later design iterations, select modules that are


suspect time hogs and carefully develop procedures,
algorithms for time efficiency.

4. Code in an appropriate programming language.

5. Instrument the software to isolate modules that


accelerate for heavy processor utilization.

6. If necessary, redesign or record in machine dependent


language to improve efficiency.

This web application has been optimized. To make it attractive


and concise all the optimization points are kept in mind before
making the application.

Decomposability:
In developing the project we have followed the principle of decomposability
i.e. dividing the original problem top down into sub problems and then
applying the decomposition to each sub problem recursively. This procedure
reflects the well-known Latin motto divide et impera (divide and conquer). As
in Developing CPO we have divided first whole problem in modules such as
Master-module, Client-Entry, Project Catalogue Management System , User
Info, Knowledge Base Management System, Sale & Order Book , Complain
Logging System , Reports and each of these modules are again divides into
various form modules then each form module is again decomposed into
carious sub routines. Finally our project assembles by taking modules and
combining them to form the required application.

Modularity:
The principle of modularity says to divide the big projects into simpler
pieces called modules. The project has been divided into simpler pieces called
modules. The software system developed by us is modular because it allows
the principle of separation of concerns to be applied in two phases:
When dealing with the details of each module in isolation (and ignoring
details of other modules) and when dealing with the overall characteristics of
all modules and their relationships in order to integrate them coherent
system.
The project developed by us and presented here consists of different modules
like Master-module, Client-Entry, Project Catalogue Management System ,
User Info, Knowledge Base Management System, Sale & Order Book ,
Complain Logging System , Reports and So We have developed the Software
application that completely follows modularity paradigm of Software
engineering.
Abstraction:

Abstraction is required to identify the system artifacts for modeling;


abstraction is required to separate meta language core constructs and
concerns into layers; abstraction is required to partition conceptual areas
within layers. UML is a method to construct system models from the core of
Model Driven Architecture. Abstraction is a method that is required to
construct elements of the common core. Abstraction is a general idea that is
not based on a physical, practical data. In software engineering SDLC
processes abstraction is the method that is used to simplify and generalize
the processes before concrete models can be built. Abstraction is used to list
the findings from the cognitive knowledge both tacit and explicit knowledge.
The steps to abstraction can be described as.

Correctness:
A program is functionally correct if it behaves according to the
specification of the functions it should provide. The specification of the
system is available and it is possible to determine unambiguously whether or
not a program meets the specifications. The correctness of our project
establishes the equivalence between the software and its specification. We
are more systematic and precise in assessing correctness depending on how
rigorous we are in specifying functional requirements.
Reliability:
The Software Developed by us and presented here fully reliable if the user
depends on it. The software application will operate as expected now and
over for long period also. As Software engineering can truly be called an
engineering discipline only when we can achieve software reliability
comparable to the reliability of other products. Our development is perfect in
this discipline.

Robustness:
Our application is robust, it behaves “reasonably” even in circumstances
that had been even not anticipated in the requirements specification-for
example when user inputs incorrect or incomplete data then it produce a
valid error message and either resumes for same operation or continues the
next operation depending upon the situation. The project performs all
necessary checks before processing the input if the input is not correct then
it does not process it any more and sends the error message to the user. For
example if the user give string value in text box that is for numeric value
then it doesn’t take and also inform the user and same for vise-versa. In our
software suppose in client module if user gives an already
User Friendliness:
The application is very much user friendly. The biggest reason behind it is
its GUI environment. Every user finds it easy to use. Novice programmer’s
use it qualifies as user friendly by virtue of different properties than an
application that is used by expert programmers. For example a
nonprogrammer appreciates the use of menus, while a programmer may be
comfortable with keyboard shortcuts. Both the features are provided in
software evenly. A novice user appreciates verbose messages and feels
comfortable while using software; if he commits any mistake he is prompted
with appropriate message to cancel the effect of mistake if possible. Same
feature is quite helpful for expert user also. The confirmation messages
before almost all those processes whose effect cannot be cancelled late on
gives more confident in working for both new and expert user. The software
always asks for the confirmation before any kind of deletion because the
record deleted once cannot be recalled so there very less possibility of
accidental of data loss.

External Interface Requirements


Hardware Interface

Client - Side:
Browser Processor RAM Disk Space
Internet Explorer6.0 or higher Pentium 4 512 MB 1 GB

Server - Side:
Processor RAM Disk Space
Apache Tomcat Pentium 4 512 MB 20 GB
Oracle 10g Pentium 4 512 MB 20 GB

Nodes for Client Side


 Internet Explorer 6.0
 Pentium 4
 256 MB
 1 GB
Nodes for Server Side
 Apache Tomcat
 Oracle 10g
 1 MB RAM
 20 GB Disk Space

Communications Interfaces

The system requires a SMTP server and a web connection with the direct
connection to the internet. It assumed that database connection established.

 Client on Internet will be using HTTP/HTTPS protocol.


 Client on Internet will be using TCP/IP protocol.

ENTITY RELATIONSHIP DIAGRAM


 ERD can express the overall logical structure of a database
graphically.

 ERD are simple and clear qualities that may well account in large
part for the widespread use of the ER-Model.

 The basic object that the ER model represents is an entity, which


is a “Thing” in the real world with an independent existence.

 A particular entity will have a value for each of its attributes.

 The attribute values that describe each entity become a major


part of the data stored in the database
E-R Diagram
DATA FLOW DIAGRAM (DFD)

 DFD are commonly used during problem analysis.

 A DFD shows the flow of data through a system.

 The DFD aims to capture the transformation that take place within
. the System to the input data so that eventually the out put data is
. produced.

 A DFD does not represent procedural information.

 DFD is a logical design of the flow of information between the


. modules.

 The DFD shows the interaction of one module with the other .
. module.
1 Level DFD
st
Level 2 DFD
DATA DICTIONARY

Data Dictionary is a catalogue of all elements in a system. It is a


document that collects, coordinates and confirms what a specific data
term means to different people Involved-both developers and users. It is
the basic reference work for finding the names and attributes of data
elements used throughout the system. Or in other words the data
dictionary is an organized listing of all the data elements that are
pertinent to the system, with precise, rigorous, definitions so that both
user and developers have a common understanding of all inputs, outputs,
components of stores and intermediate calculations.

Data Dictionary Notation:


There are many common notational schemas used by systems analysts and
here your don Scheme is being adopted. Your don’s notation is capable of
addressing the basic kinds of relationships which exist between/among data
items and elements.
The symbols associated with each type of relationship are as follows.

Symbols Description

& Concatenation

= Assignment and Comparison

‘ Comment

“” String
Snapshot & Code

 
Conclusion:

Future Scope:

 This project was prepared keeping in mind that this system will be used by
many users and very effective system is used in this project. But is number of
users will increased in future then with a very few enhancement it will be able
to work properly.
 Database SQL Server gives facility to add new fields, delete old fields, update,
increase width and size. So whenever required these operations and changes
can be easily applied.
 New contents and new features can be easily added by applying little work or
whenever it will be required in future.

CODING OF MODULES

Connection:-

Database Connection Code:-


<%@page import="java.sql.*" %>
<%
String MM_conn_DRIVER = "sun.jdbc.odbc.JdbcOdbcDriver";
String MM_conn_USERNAME = "sarthak";
String MM_conn_PASSWORD = "ashish";
String MM_conn_STRING = "jdbc:odbc:global";
Class.forName(MM_conn_DRIVER);

Code:-

Admin login code:-

<%@ include file="../connect/conn.jsp" %>


<%
try
{
String tuser_id = request.getParameter("usr_id");
String tpass = request.getParameter("pwd");

String dbpass="NULL";
String dbpass1="NULL";
int i=0;
ResultSet rs= stmt.executeQuery("select * from login where
user_name='"+tuser_id+"' and pwd='"+tpass+"' ");
session.setAttribute("user_id",tuser_id);
if(tuser_id.equals("Admin") ||tuser_id.equals("admin") ||
tuser_id.equals("ADMIN") ){
%>
<script language="javascript">
//alert("Successful Login ");
location="../html/admin.jsp";

</script>

<%
}
else{%>
<script language="javascript">
//alert("Successful Login ");
location="../html/user.jsp";
</script><%
}
}
catch(Exception e)
{ out.print(e);
}
%>

Code:-

Admin logout code:-

<%if (session.isNew()==true)
session.removeAttribute("user_id");
session.invalidate();
response.sendRedirect(response.encodeRedirectURL("../html/index.jsp"));
%>

<script language="javascript">
//alert("You have successfully Logged out ");
location="../html/index.jsp";
</script>

Code:-

Change Password Code:-

<%
try
{ %>
<%@ include file="../connect/conn.jsp" %>
<%
String name=request.getParameter("usr_id");
String pwd =request.getParameter("pass");

String qry="update login set PASSWORD='"+pwd+"' where


user_id='"+name+"'";

stmt.executeUpdate(qry);
%>
<script language="javascript">
alert("You have updated successfully ");
location="../html/adminuser.jsp";
</script>
<%

}
catch(Exception e)
{
out.println(e);
}
%>
Code:-

News code:-
<%
try
{ %>
<%@ include file="../connect/conn.jsp" %>
<%
String quest=request.getParameter("question");

//out.print(quest);

stmt.executeUpdate("insert into news values('"+quest+"')");


%>

<script language="javascript">
alert("You have been successfully entered these details ");
location="../html/admin.jsp";
</script>
<%

}
catch(Exception e)
{
out.println(e);
}
%>

Code:-
}
catch(Exception e)
{
out.print(e);
}
%>
Insert news code:
<%
try
{ %>
<%@ include file="../connect/conn.jsp" %>
<%
String ques_id=request.getParameter("quesid");
String question=request.getParameter("question");
String option1=request.getParameter("option1");
String option2 =request.getParameter("option2");
String option3=request.getParameter("option3");
String option4=request.getParameter("option4");
String option5=request.getParameter("option5");

stmt.executeUpdate("insert into question


values('"+ques_id+"','"+question+"','"+option1+"','"+option2+"','"+optio
n3+"','"+option4+"','"+option5+"')");
%>

<script language="javascript">
alert("You have been successfully entered these details ");
location="../html/admin.jsp";
</script>
<%

}
catch(Exception e)
{
out.println(e);
}
%>

Add user code:

<%
try
{ %>
<%@ include file="../connect/conn.jsp" %>
<%

String name=request.getParameter("usr_id");
String pwd =request.getParameter("pass");

stmt.executeUpdate("insert into login values('"+name+"','"+pwd+"')");


%>

<script language="javascript">
alert("You have been entered successfully ");
location="../html/index.jsp";
</script>
<%

}
catch(Exception e)
{
out.println(e);
}
%>

Insert feedback:
<%
try
{ %>
<%@ include file="../connect/conn.jsp" %>
<%
String name=request.getParameter("name");
String email=request.getParameter("email");
String msg =request.getParameter("message");

stmt.executeUpdate("insert into
feedback(name,email,message)values('"+name+"','"+email+"','"+msg+"')");
%>

<script language="javascript">
alert("You have been successfully entered Your Feedback ");
location="../html/user.jsp";
</script>
<%

}
catch(Exception e)
{
out.println(e);
}
%>

Insert query:

<%
try
{ %>
<%@ include file="../connect/conn.jsp" %>
<%
String name=request.getParameter("name");
String cls=request.getParameter("pass");
String school =request.getParameter("cpass");
String qry =request.getParameter("query");

stmt.executeUpdate("insert into quick_query


values('"+name+"','"+cls+"','"+school+"','"+qry+"')");
%>

<script language="javascript">
alert("You have been successfully entered Your Feedback ");
location="../html/user.jsp";
</script>
<%
}
catch(Exception e)
{
out.println(e);
}
%>

Insert user:

<%
try
{ %>
<%@ include file="../connect/conn.jsp" %>
<%
String name=request.getParameter("name");
String fname=request.getParameter("fathername");
String mname =request.getParameter("mothername");
String dob=request.getParameter("dd");
String gen=request.getParameter("Gender");
String cls=request.getParameter("select");
String school=request.getParameter("school");
String mob=request.getParameter("mobile");
String phn=request.getParameter("phone");
String usr=request.getParameter("usrname");
String pwd=request.getParameter("pass");
String ques=request.getParameter("ques");
String ans=request.getParameter("hintans");

//stmt.executeUpdate("insert into register


values('"+usr+"','"+name+"','"+fname+"','"+mname+"','"+dob+"','"+gen+"',
'"+cls+"','"+school+"','"+mob+"','"+phn+"')");
String qry1="insert into login
values('"+usr+"','"+pwd+"','"+ques+"','"+ans+"')";
out.print(qry1);
stmt.executeUpdate(qry1);

%>

<script language="javascript">
alert("You have been successfully entered these details ");
location="../html/index.jsp";
</script>
<%

}
catch(Exception e)
{
out.println(e);
}
%>
Html:-

About_us Code:-

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>

</head>

<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header3.jsp"%>
<tr>
<td colspan="3"><marquee truespeed="2">WELCOME TO SARTHAK EDUCATION-
Take our FREE Career Test <a href="#">Click Here for more
Details</a></marquee></td>
</tr>
<tr >
<%@ include file="../includes/leftside.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top"><b><h2 style="font-family:times new
roman;">ABOUT US</h2></b>
<span style="border-left:0px solid #cccccc; padding-top:20px; padding-
right:10px; padding-left:10px;">
<br />
Father of the Nation, Mahatma Gandhi
once said that &quot;Be the change you want to see in
the world.&quot; <br />
Sarthak is a movement by group
of individuals from various premier educational
institutions of the world. What
binds them together is Passion for Education &amp; Sincerity of
Purpose. </span> <br/><br/>

Sarthak felt that in the age of cut throat competition there is an


imminent need to mentor students from an early age and Focus their
Action on their Strengths (FAST) and divert their energy & attention to
core areas where they can make maximum positive difference. <br/><br/>
Since its inception, Sarthak has responded to the stimulus of
implementing innovative methods of preparation and instruction,
designing world class pedagogy and mentoring students to scale new
heights and achieve their dream destination. <br/><br/>

With an aim to create "Equitable Society through Education", Sarthak


envisages to bridge the gap between various strata of the society by
mentoring students and help them perform to the best of their abilities.

</td>
</tr>

<%@ include file="../includes/footer.jsp"%>


</table>

</body>
</html>

Html:-

Contact:-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>

</head>

<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header3.jsp"%>
<tr>
<td colspan="3"><marquee truespeed="2">WELCOME TO SARTHAK EDUCATION-
Take our FREE Career Test <a href="#">Click Here for more
Details</a></marquee></td>
</tr>
<tr >
<%@ include file="../includes/leftside.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top"><b><h2 style="font-family:times new roman;
font-size:18px;"><center>CONTACT US</center></h2></b>
<table>
<tr>
<td>
<h5 style="font-size:16px; font-family:Verdana, Arial, Helvetica, sans-
serif;">SARTHAK EDUCATION</h5>

<p>1st Floor, B1/293, Sector-G,<br/>


JankiPuram Lucknow<br/>
Landmark- Opposite ICON Hospital<br/>
Lucknow-226024<br/>
India </p>
<p>Contact No: 9415320634,94153206435</p>
<p>email: info@sarthakedu.com,<br/>
career@sarthakedu.com</p>
<p>Website: www.sarthakedu.com </p></td><td><img
src="../../sarthak/images/contact_us.gif" alt="contact us" width="290"
height="290" /></td>
</tr>
</table>
</td>
</tr>

<%@ include file="../includes/footer.jsp"%>


</table>

</body>
</html>
>

Html:-

Index:-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>

</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header3.jsp"%>
<tr>
<td colspan="3"><marquee truespeed="2">WELCOME TO SARTHAK EDUCATION-
Take our FREE Career Test <a href="#">Click Here for more
Details</a></marquee></td>
</tr>
<tr >
<%@ include file="../includes/leftside.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top"><b><h2 style="font-family:times new
roman;">WELCOME TO SARTHAK EDUCATION</h2></b><h5>Sarthak Education is an
education In the current age of e-learning, the number of career options
available to a "fresh out of school" student has increased by leaps &
bounds. It is imperative that students & parents choose the option that
is in sync with skills, personality and interest of the student.</h5>
<h2>OUR MISSION</h2>
To be the leader in implementing innovative methods of preparation and
instruction, designing world class pedagogy and mentoring students to
scale new heights and achieve their dream destination ...
<table width="500px" cellpadding="0" cellspacing="0" border="0"
style="padding-top:10px;">
<tr>
<h2>OUR VISION</h2>With an aim to create "Doctrina Aequum Society" i.e.
"Equitable Society through Education", Sarthak envisages to bridge the
gap between various strata of the society by mentoring students and help
them perform to the best of their abilities.
<td align="left" valign="top" width="20%" style="padding-right:4px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
style="border-right:1px dotted #666666; padding-right:6px;padding-
left:6px;" bgcolor="#FFFFFF">
<tr>
<td align="center" valign="top" height="26px" style=" font-
weight:bold; color:#5E9B6D;font-size:14px;letter-spacing:0.7px;font-
family:tahoma;"> Connect With Us</td>
</tr>
<tr><td align="center" valign="top"><img
src="../images/forum2.jpg" height="105px" width="185px" ></td></tr>

</table>
</td>
<td align="left" valign="top" width="20%" style="padding-right:4px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
style="border-right:1px dotted #666666; padding-right:6px;padding-
left:3px;" bgcolor="#FFFFFF">
<tr>
<td align="center" valign="top" height="26px" style="font-
weight:bold; color:#5E9B6D;font-size:14px;letter-spacing:0.7px;font-
family:tahoma;"> Take Online Examination</td>
</tr>
<tr><td align="center" valign="top"><img src="../images/p1.jpg"
height="105px" width="185px" ></td></tr>
</table>
</td>
<td align="left" valign="top" width="20%" style="padding-right:4px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
style="border-right:1px dotted #666666; padding-right:6px; padding-
left:3px;" bgcolor="#FFFFFF">
<tr>
<td align="center" valign="top" height="26px" style="font-
weight:bold; color:#5E9B6D;font-size:14px;letter-spacing:0.7px;font-
family:tahoma;"> Looking For...</td>
</tr>
<tr><td align="center" valign="top"><img src="../images/fh.jpeg"
height="105px" width="185px" ></td></tr>
<tr><td align="center" valign="top">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>

</body>
</html>

Html:-

Admin:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>

</head>

<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header2.jsp"%>
<tr>
<td align="right">
<%@ include file="../includes/menu2.jsp"%>
</td></tr>
<tr >
<%@ include file="../includes/leftside2.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top"><b><h2 style="font-family:times new roman;">
</td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>
</body>
</html>

Html:-

Career:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>
</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header3.jsp"%>
<tr>
<td colspan="3"><marquee truespeed="2">WELCOME TO SARTHAK EDUCATION-
Take our FREE Career Test <a href="#">Click Here for more
Details</a></marquee></td>
</tr>
<tr >
<%@ include file="../includes/leftside.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top"><b><h2 style="font-family:times new roman;
color:#FF0000;">Why CAREER COUNSELING ?</h2></b>
<span style="border-left:0px solid #cccccc; padding-top:20px; padding-
right:10px; padding-left:10px;">
<br />
The student community faces considerable confusion with regard to
choice of courses that would lead them to successful careers. The Career
choice that we make is more or less irrevocable. Career Choices, in our
country are usually made when the students enter the 11th grade or when
they enter college. It is then, they are confused to decide on courses/
careers.At such difficult, crucial decision making circumstances, career
counselling comes to the aid of students and guides them to choose the
right career path. <br /></span> <br/><br/>
<span><b><h3 style="font-family:times new roman;">START PHYCHOLOGICAL
TEST</h3></b></span><br/>

Career assessment is guidance provided by qualified qualified


professionals, after assessing the intelligence, interest and
personality of an individual to identify the careers in which the
individual will succeed and counsel him/her accordingly. It helps
students to select courses based on their level of intelligence,
interests, personality and to prepare for appropriate careers.
<br/><br/>

</td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>
</body>
</html>

Html:-

Contact:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>

</head>

<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header3.jsp"%>
<tr>
<td colspan="3"><marquee truespeed="2">WELCOME TO SARTHAK EDUCATION-
Take our FREE Career Test <a href="#">Click Here for more
Details</a></marquee></td>
</tr>
<tr >
<%@ include file="../includes/leftside.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top"><b><h2 style="font-family:times new roman;
font-size:18px;"><center>CONTACT US</center></h2></b>

<table>
<tr>
<td>
<h5 style="font-size:16px; font-family:Verdana, Arial, Helvetica, sans-
serif;">SARTHAK EDUCATION</h5>

<p>1st Floor, B1/293, Sector-G,<br/>


JankiPuram Lucknow<br/>
Landmark- Opposite ICON Hospital<br/>
Lucknow-226024<br/>
India </p>
<p>Contact No: 9415320634,94153206435</p>
<p>email: info@sarthakedu.com,<br/>
career@sarthakedu.com</p>
<p>Website: www.sarthakedu.com </p></td><td><img
src="../../sarthak/images/contact_us.gif" alt="contact us" width="290"
height="290" /></td>
</tr>
</table>
</td>
</tr>

<%@ include file="../includes/footer.jsp"%>


</table>

</body>
</html>

Html:-

My feedback:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>

</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header3.jsp"%>
<tr>
<td colspan="3"><marquee truespeed="2">WELCOME TO SARTHAK EDUCATION-
Take our FREE Career Test <a href="#">Click Here for more
Details</a></marquee></td>
</tr>
<tr >
<%@ include file="../includes/leftside.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top">

<table>
<tr>
<td>
<%@ include file="../includes/feedback1.jsp" %></td><td><img
src="../images/feedback.jpg" /></td>
</tr>
</table>
</td>
</tr>

<%@ include file="../includes/footer.jsp"%>


</table>

</body>
</html>

Html:-

New register:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>
</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header3.jsp"%>
<tr>
<td colspan="3"><marquee truespeed="2">WELCOME TO SARTHAK EDUCATION-
Take our FREE Career Test </marquee></td>
</tr>
<tr >
<%@ include file="../includes/leftside.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top">

<table>
<tr>
<td>
<%@ include file="../includes/register.jsp" %></td>
</tr>
</table>
</td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>
</body>
</html>

Html:-

Show result:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education:Online Test</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>

</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header4.jsp"%>
<tr >
<%@ include file="../includes/leftside3.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top"><b><h2 style="font-family:times new
roman;"></h2></b>
<%@ include file="../includes/inc_report.jsp"%></td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>
</body>
</html>

Html:-

Test online:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education:Online Test</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>
</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header4.jsp"%>
<tr >
<%@ include file="../includes/leftside3.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top"><b><h2 style="font-family:times new
roman;"></h2></b>
<%@ include file="../includes/question_show.jsp"%></td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>
</body>
</html>
Html:-

User:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>
</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header4.jsp"%>
<tr >
<%@ include file="../includes/leftside3.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top"><b><h2 style="font-family:times new
roman;"></h2></b></td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>
</body>
</html>

Html:-

User feedback:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education:Online Test</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>
</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header4.jsp"%>
<tr >
<%@ include file="../includes/leftside3.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top"><b><h2 style="font-family:times new
roman;"></h2></b><%@ include file="../includes/feedback2.jsp"%></td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>
</body>
</html>

Includes:-

Add news:-

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>

</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header2.jsp"%>
<tr>
<td align="right">
<%@ include file="../includes/menu2.jsp"%>
</td></tr>
<tr >
<%@ include file="../includes/leftside2.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:75px; font-size:16px;"
width="500px" valign="top" class="head" >Add News & Updates

<%@ include file="../includes/inc_news.jsp"%>


</td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>
</body>
</html>

Includes:-

Add ques:-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>
</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header2.jsp"%>
<tr>
<td align="right">
<%@ include file="../includes/menu2.jsp"%>
</td></tr>
<tr >
<%@ include file="../includes/leftside2.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:75px; font-size:16px;"
width="500px" valign="top" class="head" >Add Question

<%@ include file="../includes/inc_question.jsp"%>


</td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>

</body>
</html>

Include:-

Footer:-
<tr><td colspan="3" id="hr" width="1000px" height="75PX"
style="background:url(../images/footernew.jpg);" align="center"><a
href="#">Home</a> <span class="white">|</span> <a href="#">About Us</a>
<span class="white">|</span> <a href="#">Student</a> <span
class="white">|</span> <a href="#">Careers</a> <span
class="white">|</span> <a href="#">Contact Us</a>
<br /><br />Powered By: Softpro India Computer Technologies Pvt
Ltd.</td>
</tr>
Include:-

Header:-
<script type="text/javascript">
var GB_ROOT_DIR = "../greybox/";
</script>
<script type="text/javascript" src="../greybox/AJS.js"></script>
<script type="text/javascript" src="../greybox/AJS_fx.js"></script>
<script type="text/javascript"
src="../greybox/gb_scripts.js"></script>
<link href="../greybox/gb_styles.css" rel="stylesheet"
type="text/css" media="all" />
<script type="text/javascript"
src="../static_files/help.js"></script>
<link href="../static_files/help.css" rel="stylesheet"
type="text/css" media="all" /><center><tr >
<td colspan="3" width="1000px" height="165PX"
style="background:url(../images/header12.jpg) no-repeat; padding-
right:20px; padding-top:0px;" align="right">
<div style="height:55px; padding-top:20px;">
<a href="../includes/loginform.jsp" title="Login"
rel="gb_page_center[250, 180]">Login</a> <span class="white">|</span> <a
href="../html/newregister.jsp">Register</a></div>
<ul class="lavaLampWithImage" id="1">
<li class="current" style="padding-left:15px; padding-
right:15px;"><a href="../html/index.jsp">&nbsp;&nbsp;Home&nbsp;</a></li>
<li style="padding-right:20px;"><a href="../html/about.jsp">About
Us</a></li>
<li style="padding-right:20px;"><a href="../html/career.jsp">Career
Guidance</a></li>
<li style="padding-right:20px;"><a
href="../html/contact.jsp">Contact Us</a></li>
<li style="padding-right:20px;"><a
href="../html/myfeedback.jsp">Feedback</a></li>

</ul>

</td>
</tr></center>
Include:-

Header2:-
<script type="text/javascript">
var GB_ROOT_DIR = "../greybox/";
</script>
<script type="text/javascript" src="../greybox/AJS.js"></script>
<script type="text/javascript" src="../greybox/AJS_fx.js"></script>
<script type="text/javascript"
src="../greybox/gb_scripts.js"></script>
<link href="../greybox/gb_styles.css" rel="stylesheet"
type="text/css" media="all" />

<script type="text/javascript"
src="../static_files/help.js"></script>
<link href="../static_files/help.css" rel="stylesheet"
type="text/css" media="all" /><center><tr >
<td colspan="3" width="1000px" height="165PX"
style="background:url(../images/header12.jpg) no-repeat; padding-
right:20px; padding-top:0px;" align="right">
<div style="height:55px; padding-top:20px;">
<a href="../includes/loginform.jsp" title="Login"
rel="gb_page_center[250, 180]">Login</a> <span class="white">|</span> <a
href="../html/newregister.jsp">Register</a></div>
<ul class="lavaLampWithImage" id="1">
<li class="current" style="padding-left:15px; padding-
right:15px;"><a href="../html/index.jsp">&nbsp;&nbsp;Home&nbsp;</a></li>
<li style="padding-right:20px;"><a href="../html/about.jsp">About
Us</a></li>
<li style="padding-right:20px;"><a href="../html/career.jsp">Career
Guidance</a></li>
<li style="padding-right:20px;"><a
href="../html/contact.jsp">Contact Us</a></li>
<li style="padding-right:20px;"><a
href="../html/myfeedback.jsp">Feedback</a></li>

</ul>

</td>
</tr></center>

Include:-
</tr>
<tr>
<td align="left" valign="top" width="100px" height="25px"
class="text">Bareilly</td>
<td align="left" valign="top" width="200px" height="25px"
class="text">Army Recruiting Office
Fort Road, Bareilly - 243 001</td>
<td align="left" valign="top" width="150px" height="25px"
class="text">Bareilly, Badaun, Baharaich, Balrampur, Farrukhabad,
Pilibhit, Sharavasti, Shahjahanpur, Sitapur, Hardoi and Lakhimpur
Kheri.</td>
</tr>
<tr>
<td align="left" valign="top" width="100px" height="25px"
class="text">Agra</td>
<td align="left" valign="top" width="200px" height="25px"
class="text">Army Recruiting Office
900 322, C/O 56 APO</td>
<td align="left" valign="top" width="150px" height="25px"
class="text">Agra, Aligarh, Etah, Etawah, Firozabad, Jalaun, Jhansi,
Kasganj, Lalitpur, Mainpuri, Maha Maya Nagar and Mathura.</td>
</tr>
<tr>
<td align="left" valign="top" width="100px" height="25px"
class="text">Meerut</td>
<td align="left" valign="top" width="200px" height="25px"
class="text"> Army Recruiting Office
Meerut Cantt, 900468</td>
<td align="left" valign="top" width="150px" height="25px"
class="text">Meerut, Saharanpur, Bulandshahar, Ghaziabad, Bijnor,
Muzaffarnagar, Jyotiba Phule Nagar, Bagpat, GB Nagar, Rampur and
Moradabad.</td>
</tr>
<tr>
<td align="left" valign="top" width="100px" height="25px"
class="text">Agra</td>
<td align="left" valign="top" width="200px" height="25px"
class="text">Army Recruiting Office
900 322, C/O 56 APO</td>
<td align="left" valign="top" width="150px" height="25px"
class="text">Agra, Aligarh, Etah, Etawah, Firozabad, Jalaun, Jhansi,
Kasganj, Lalitpur, Mainpuri, Maha Maya Nagar and Mathura.</td>
</tr>
<tr>
<td align="left" valign="top" width="100px" height="25px"
class="text">Lansdowne</td>
<td align="left" valign="top" width="200px" height="25px"
class="text">Army Recruiting Office
900400</td>
<td align="left" valign="top" width="150px" height="25px"
class="text">Tehri Garhwal, Uttarkashi, Rudra Prayag, Chamoli, Dehradun,
Pauri Garhwal, Haridwar.</td>
</tr>
<tr>
<td align="left" valign="top" width="100px" height="25px"
class="text">Almora</td>
<td align="left" valign="top" width="200px" height="25px"
class="text">Army Recruiting Office
Almora- 263 601(UK)</td>
<td align="left" valign="top" width="150px" height="25px"
class="text">Almora, Bageshwar, Udham Singh Nagar and Nanital.</td>
</tr>
<tr>
<td align="left" valign="top" width="100px" height="25px"
class="text">Pithoragarh</td>
<td align="left" valign="top" width="200px" height="25px"
class="text">Army Recruiting Office
Pithoragarh - 262520</td>
<td align="left" valign="top" width="150px" height="25px"
class="text">Pithoragarh and Champawat.</td>
</tr>
</table>
</td>
<td align="left" valign="top" width="300px" style="border-left:1px
dotted #cccccc; padding:10px 10px 10px 10px;"><%@ include
file="../includes/side_menu.jsp" %></td>
</tr>
</table>

Include:-
Home content:-
<link href="../css/style.css" rel="stylesheet" type="text/css">
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top" height="219px">
<div id="left_content" style="height:215px;">
Zonal Recruitment Office, Lucknow was established in Dec 1937
and located in a MES hired building named, 'Cator House', at, 236
Mahatma Gandhi Rd, Lucknow. The Office was shifted to its present Key
Location Plan building on 01 May 1991 and the Recruitment Office (HQ) is
co-located with HQ Recruitment Zone (UP & Uttrakhand).
<br><br><br>
Initially, this organization was known as Zonal Recruitment Office,
Lucknow and was headed by a Lt Col as the Zonal Recruitment Officer. The
post was upgraded to the rank of Col in 1977 and finally to Brig. in
1983. The office has been re-designated as HQ Recruitment Zone (Uttar
Pradesh & Uttrakhand), consequent to the formation of Uttrakhand, on 09
Nov 2002.<br>

</div>
</td>
</tr>
<tr>
<td align="left" valign="top" width="600px" style="border-top:1px
solid #cccccc;">
<%@ include file="../includes/index_footer.jsp" %>

</td>
</tr>

</table>

Include:-

Contact:-

<table width="900px" border="0" cellspacing="0" cellpadding="0">


<tr>
<td align="left" valign="top" width="359px" style="padding:10px 10px
10px 10px;">
<form name="form1" method="post" action="../code/contact.jsp" >
<table width="450px" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top" width="450px" colspan="2"
style="font-family:Verdana, Arial, Helvetica, sans-serif; font-
size:16px; color:#666666; font-weight:bold;" height="35px">Contact
Us</td>

</tr></table>
<table width="450px" border="0" cellspacing="0" cellpadding="0"
style="background:url(../images/feedback.jpg) no-repeat; padding-
left:10px;">
<tr>
<td align="left" valign="top" colspan="2" height="8px"></td>
</tr>
<tr>
<td align="left" valign="top" class="head" width="120px"
height="25px">Name</td>
<td align="left" valign="top" class="head" width="239px"
height="25px"><input name="name" type="text" /></td>
</tr>
<tr>
<td align="left" valign="top" class="head" width="120px"
height="25px">Email</td>
<td align="left" valign="top" class="head" width="239px"
height="25px"><input name="email" type="text" /></td>
</tr>
<tr>
<td align="left" valign="top" class="head" width="120px"
height="25px">Phone Num</td>
<td align="left" valign="top" class="head" width="239px"
height="25px"><input name="phone" type="text" /></td>
</tr>
<tr>
<td align="left" valign="top" class="head" width="120px"
height="55px">Message</td>
<td align="left" valign="top" class="head" width="239px"
height="55px"><textarea name="message" cols="25"
rows="6"></textarea></td>
</tr>
<tr>
<td align="left" valign="top" colspan="2" height="8px"></td>
</tr>
<tr>
<td align="right" valign="top" class="head" width="120px"
height="35px"><input name="Submit" type="submit" value="Submit"
style="background-image:url(../images/b_btn_order.gif);"
/>&nbsp;&nbsp;</td>
<td align="left" valign="top" class="head" width="239px"
height="35px"><input name="Reset" type="reset" value="Reset"
style="background-image:url(../images/b_btn_order.gif);" /></td>
</tr>
</table>
</form></td>
<td align="left" valign="top" width="450px" style="border-left:1px
dotted #cccccc; padding-left:10px; padding-top:10px;">
<div style="font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:16px; font-weight:bold; color:#666666; height:30px;">Army
Recruiting Zone<br /></div>
<div style="font-family:Verdana, Arial, Helvetica, sans-serif; font-
size:12px; font-weight:bold; color:#999999; height:40px;">HQ Recruiting
Zone
236, M G Road,<br /></div>
<div style="font-family:Verdana, Arial, Helvetica, sans-serif; font-
size:12px; font-weight:bold; color:#999999; height:40px;">Above Lucknow
Cantt. 226002
(for Uttar Pradesh & Uttrakhand) <br /></div>

<div style="font-family:Verdana, Arial, Helvetica, sans-serif; font-


size:12px; font-weight:bold; color:#999999; height:30px;">HelpLine
Number<br /></div>

<div style="font-family:Verdana, Arial, Helvetica, sans-serif; font-


size:12px; font-weight:bold; color:#999999; height:30px;">Phone no.:
0522-2482279 <br /></div>
</td>
</tr>
</table>

Include:-

News:-

<%@ include file="../connect/conn.jsp" %>


<%
String news_content="null";
try{
ResultSet rs1 = stmt.executeQuery("select * from news");
while(rs1.next())
{
news_content=rs1.getString("news_content");%>
<br><br><br><br>
<%
out.println(news_content);

}
}
catch(Exception e)
{
out.print(e);
}
%>
Include:-

Add news:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>
</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header2.jsp"%>
<tr>
<td align="right">
<%@ include file="../includes/menu2.jsp"%>
</td></tr>
<tr >
<%@ include file="../includes/leftside2.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:75px; font-size:16px;"
width="500px" valign="top" class="head" >Add News & Updates

<%@ include file="../includes/inc_news.jsp"%>


</td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>
</body>
</html>

Include:-

Add ques:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>
</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header2.jsp"%>
<tr>
<td align="right">
<%@ include file="../includes/menu2.jsp"%>
</td></tr>
<tr >
<%@ include file="../includes/leftside2.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px
solid #cccccc; padding-top:20px; padding-right:75px; font-size:16px;"
width="500px" valign="top" class="head" >Add Question

<%@ include file="../includes/inc_question.jsp"%>


</td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>
</body>
</html>

Include:-

Chng pwd:
<script language="javascript">
function check()
{
if (document.register.eid.value=="" ||
document.register.eid.value=="null" )
{
alert("Employee ID Field is Empty");
return false;
}
if (document.register.usr_id.value=="" ||
document.register.usr_id..value=="null" )
{
alert("User Name Field is Empty");
return false;
}
if (document.register.cpass.value=="" ||
document.register.cpass.value=="null" )
{
alert("Confirm Password Field is Empty");
return false;
}
if (document.register.pass.value=="" ||
document.register.pass.value=="null" )
{
alert("Password Field is Empty");
return false;
}

return true;
}
</script>

<form action="../code/reset_user_pwd.jsp" method="post" name="register"


id="formID" onsubmit="return check();" >

<table width="459" border="0" cellspacing="0" cellpadding="0"


style="border:1px solid #cccccc; padding:10px; font-size:12px;
color:#000000">
<tr>
<td align="left" valign="top" colspan="3" class="head"
height="25px">Change Password</td></tr>

<td align="left" valign="top" height="10px" colspan="3"></td>

</tr>
<tr>
<td align="left" valign="top" height="25px" colspan="3"
style="border-top:1px solid #cccccc; font-size:14px; font-
weight:bolder;">User Details</td>

</tr>
<tr>
<td align="left" valign="top" width="153px" height="25px"
style="padding-left:25px;" class="headline">User ID<font
color="#FF0000">*</font></td>
<td><input type="text" name="usr_id" disabled="disabled" value="<
%=session.getAttribute("user_id")%>" /></td>
</tr>
<tr>
<td align="left" valign="top" height="4px" colspan="3"></td>
</tr>
<tr>
<td align="left" valign="top" width="153px" height="25px"
style="padding-left:25px;" class="headline">Password<font
color="#FF0000">*</font></td>
<td><input type="password" name="pass" /></td>
</tr>
<tr>
<td align="left" valign="top" height="4px" colspan="3"></td>

</tr>
<tr>
<td align="left" valign="top" width="153px" height="25px"
style="padding-left:25px;" class="headline">Confirm Password<font
color="#FF0000">*</font></td>
<td><input type="password" name="cpass" /></td>
</tr>
<tr>
<td align="left" valign="top" height="4px" colspan="3"></td>
</tr>
<tr>
<td align="right" valign="top" width="153px" height="25px"
style="padding-right:5px;" ><input name="Submit" type="submit"
value="Register" style="background-image:url(../images/b_btn_order.gif);
" /></td>
<td align="left" valign="top" width="153px" height="25px"><input
name="Reset" type="reset" value="Reset"
style="background-image:url(../images/b_btn_order.gif);"/></td>
<td align="left" valign="top" width="153px" height="25px"></td>
</tr>
</table>
</form>
SYSTEM DESIGN

Database Design

Database Design:

Database Name: Exam Database

Table Structure:

 Login Info
 Examinee

 QuesBank

 Result

1. Login Info:
Attributes of this table are as follows:

 User Id

 Passwd

 HintQues

 HintAns

FIELD NAME DATA TYPE CONSTRAINT DESCRIPTION


User Id Varchar2(10) Selection as identification of
Primary Key the user/admin
(not null)
Passwd Varchar2(10) Admin/user
Password
HintQues Varchar2(15) Hint Question

HintAns Varchar2(15) Hint Answer

2. Examinee

Attributes of this table are as follows:

 Enrollment

 Password
 ExamineeName

 FatherName

 Occupation

 DOB

 AddLine1

 AddLine2

 City

 PIN

 State

 Contact

 Email

 CollegeName

 Qualification

 Course

FIELD NAME DATA TYPE CONSTRAINT DESCRIPTION


Enrollment Varchar2(10) Selection as identification of
Primary Key the student (not
null)
Password Varchar2(10) Examinee
Password
ExamineeName Varchar2(15) Name of
Examinee
FatherName Varchar2(15) Father Name of
Examinee
Occupation Varchar2(12) Father’s
Occupation
DOB Date Date of birth of
Examinee
AddLine1 Varchar2(20) Address line first

AddLine2 Varchar2(20) Address line


second
City Varchar2(15) City Name

PIN Varchar2(7) City Pin

State Varchar2(20) Name of State

Contact Varchar2(10) Contact Number

Email Varchar2(15) Email Address

CollegeName Varchar2(20) Name of College

Qualification Varchar2(20) Qulaification of


Examinee
Course Varchar2(12) Course Name

3. QuesBank:

Attributes of this table are as follows:

 QuesId

 Question

 Subject

 Option1
 Option2

 Option3

 Option4

 Answer

 Level

FIELD NAME DATA TYPE CONSTRAINT DESCRIPTION


QuesId Varchar2(10) Selection as identification of
Primary Key the Question
(not null)
Question Varchar2(25) Store Question
Subject Varchar2(15) Name of
Subject
Option1 Varchar2(15) First Option

Option2 Varchar2(15) Second Option

Option3 Varchar2(15) Third Option

Option4 Varchar2(15) Fourth Option

Answer Varchar2(20) Right Answer of


the Question
Level Varchar2(10) Marks of
Question

4. Result:

Attributes of this table are as follows:

 Enrollment

 Marks

 Division

 Result
 Date

FIELD NAME DATA TYPE CONSTRAINT DESCRIPTION


Enrollment Varchar2(10) Selection as identification of
foreign Key the student
(not null)
Marks Varchar2(6) Marks of student

Division Varchar2(10) Division of


student
Result Varchar2(10) Result of
Student
Date Varchar2(15) Date of Exam

5- Admin

FIELD NAME DATA TYPE CONSTRAINT DESCRIPTION


Admin name Varchar2(10) Admin id

password Varchar2(6) Enter his


password

DATA INTEGRITY AND CONSTRAINT

Data Integrity
The relational model includes two general integrity rules. These integrity
rules implicitly or explicitly defines the set of consistence database states, or
change of state, or both. These are following types of integrity rules:
Primary Keys

TABLE NAME PRIMARY KEY FOEIGN KEY

USER INFORMATION USER ID

EXAMINEE INFORMATION ENROLLMENT NO. USED AS FOREIGN KEY IN


RESULT TABLE
QUESTION INFORMATION QUES ID

Entity Integrity
It states that “If the attribute A of relation R is a prime attribute of R then A
cannot accept null value”.
In my project I have maintained the entity integrity by making it sure that no
primary key have null value. Above relation all have primary key.
Referential Integrity
This rule is concerned with the foreign keys with the attributes of relation
having domain that are those of primary key of another relation .Referential
integrity can be stated as”Given two relation R and S suppose R refers to the
relation S via a set of attribute that forms the primary keys of S and this set
of attribute form a foreign key in R. Then the value of the foreign key in a
tuple R must either be equal to the primary key of a tuple of S or be entirely
null”.

SYSTEM CONSTRAINTS:-

PERFORMANCE CONSTRAINTS:-

 Should maintain the information of student table properly.


 Should carry out auto-solution for the Internet Based Testing
properly

 Should perform periodical reviews and observations of various


aspects of the examination management system.

The final report concerned to various concepts will be produced and printed
with accuracy.

Interface Design:
The architectural design provides a software engineer with a picture of the
program structure. Like the blue print for a house where as Interface design
focuses on the design of interface between software modules. The design of
inter faces between the software between the software and other non-human
procedures and consumers of information i.e other external entities and the
design of the interface between a human and the computer.
Developer’s Responsibilities Overview
The developer is responsible for
1. Developing the system.
2. Installing the Software on the Client’s hardware.
3. For conducting any user training that might be needed for using
the system.
4. Maintaining the system for usage after installation.

Overview of Modules

Module 1: Login Manager


This module is responsible for entering information like username
and password ,if the user is authenticated then he will be permitted
to use the website.
Table(s) : LoginInfo

Data Items Description

User Id The login identification of the


administrator

Passwd The password of the administrator

HintQues The Hint Question of the admin

HintAns The Hint Answer of the user/admin

Module 2: Examinee Module


This module is responsible for giving and collecting all the detail
records of the students.
Eg: name, father’s name , mother’s name ,date of birth, contact no ,
college name , address , qualification etc

Table(s) : Examinee

Data Items Description

Enrollment The login identification of the student

Password The password of the student


ExamineeName Name of the student

FatherName Name of the student’s father

Occupation Father’s Occupation

DOB Student’s Date of Birth

AddLine1 Address Line first

AddLine2 Address Line second

City City Name

PIN Pin Number

State Name of State

Contact Contact Number

Email Student Email Address

CollegeName Name of College

Qualification Qualification of Student

Course Name of Course

Center Center name of a branch(center

Module 3: Question Module


Question bank module is responsible for storing questions of
objective types and all the questions have four options in which one
option will be the correct answer.
Question bank information will be like question i.d , question,
options , answer , level etc.

Table(s) : QuesBank

Data Items Description

QuesId The question number of a question

Question The question detail

Subject Name of the Subject

Option1 choice 1 of the answers

Option2 choice 2 of the answers

Option3 choice 3 of the answers

Option4 choice 4 of the answers

Answer right answer for the question

Level Marks of Question

Module 4: Examination Module

This module is responsible for conducting examination in which level


wise question will be displayed and according to their answers
their marks will be calculated. There is a timer which is used to
calculate the time because every examinations have certain time limit.

Table(s) : Result
Data Items Description

Enrollment The login identification of the


student

Marks marks obtained by a student

Division division of student

Result result of student

Date Date of Result

Description of Modules

Process Logic of Each Module

The Internet Based Testing is customized and generalized project, which will
automate the examination process of a center which is running various
courses, through this Internet Based Testing will be conducted, online
certificates will be issued.

Methodology
These modules are carried out using object oriented methodology. The whole
module is divided into 3 parts, Graphics User Interface (GUI), Class, and
Database. For development of sophisticated GUI is done using Visual Studio
2005 and JAVA

Development of Class
LoginInfo class is developed using C# under visual studio 2005. To develop
database oriented functions ADO.net is used. Details of .Net classes and
namespaces are shown below

Namespace used
System.Data
System.Data.OleDb
FCL Classes used
OleDBConnection
OleDbCommand
OleDBDataReader
OleDBDataAdapter
DataSet
Module 1: Administrative Module

This module facilitates the administrator to login into the project, which is an
web centric application and to use the various options and features of the
project. The Administrator can add, modify and delete students. The
administrator can also add, Modify and deletes questions in a particular
course. The administrator will have the authentication to see the various
reports being generated and issue the certificates.

<html>
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>

</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header2.jsp"%>
<tr>
<td align="right">
<%@ include file="../includes/menu2.jsp"%>
</td></tr>
<tr >
<%@ include file="../includes/leftside2.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px solid
#cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top"><b><h2 style="font-family:times new
roman;">
</td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>
</body>
</html>

Module 2: Examinee Module

On the requisition from a center for a conducting the examination of the


students those who are going to appear for a specific exam. The following
tasks can be performed.

I) Add Student : Through this web-page , the student is


added to the database , so she/he can appear for the Internet
Based Testing. The idea behind it is to generate a student
enrollment, which will be later on used by the student and
authenticated at the time of examination
ii) Modify Student : The detail of the existing students can
be modified.

iii) Delete Student : The student details can be deleted.


<html>
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-8859-1"
/>
<title>Sarthak Education:Online Test</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="../includes/jquery-1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="../includes/jquery.js"></script>
</head>
<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header4.jsp"%>
<tr >
<%@ include file="../includes/leftside3.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-right:1px solid
#cccccc; padding-top:20px; padding-right:10px; padding-left:10px;"
width="500px" valign="top"><b><h2 style="font-family:times new
roman;"></h2></b>
<%@ include file="../includes/question_show.jsp"%></td>
</tr>
<%@ include file="../includes/footer.jsp"%>
</table>
</body>
</html>
Module 3: Question Module

This module helps to feed the question in the database according to the
module of a course.

 First question is entered and then followed by its 4 choices


and the right answer option is too filled

 The existing questions and the options can be modified.

 The questions can be deleted


<html>
<head>
<meta http-equiv="Con tent-Type" content="text/html; charset=iso-
8859-1" />
<title>Sarthak Education:Online Test</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../includes/jquery-
1.2.3.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.easing.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.lavalamp.min.js"></script>
<script type="text/javascript"
src="../includes/jquery.js"></script>

</head>

<body>
<table width="1000px" height="500px" border="0" align="center">
<%@ include file="../includes/header4.jsp"%>
<tr >
<%@ include file="../includes/leftside3.jsp"%>
<td colspan="2" style="border-left:0px solid #cccccc; border-
right:1px solid #cccccc; padding-top:20px; padding-right:10px;
padding-left:10px;" width="500px" valign="top"><b><h2
style="font-family:times new roman;"></h2></b>
<%@ include file="../includes/question_show.jsp"%></td>
</tr>

<%@ include file="../includes/footer.jsp"%>


</table>

</body>
</html>

Module 4: Examination Module

This is the most important module of the project, which helps the examinee
to go
through the examination.
 The examinee enters the exam-id and password.

 On validation , the welcome page comes and then questions


start popping one by one
 In any case , if the examinee cannot complete the whole
paper , for say disconnection of internet, power failure
she/he can resume the paper , where she/he had left .

Module 5: Administrator Module

This module facilitates the administrator to login into the project, which is an
web centric application and to use the various options and features of the
project. The Administrator can add, modify and delete students. The
administrator can also add, modify and deletes questions in a particular
course. The administrator will have the
 authentication to see the various reports being generated

Module 6: Expert Search

This module is used to create expert search engine


In this expert search engine there is no criteria of searching. That is it will
perform criterialess searching. By entering a particular word or statement it
will display all related records with that word or statement.

Module 7: Result Module

On successful completion of the paper, the set of information will be provided


and stored for the further references. For instance total number of questions,
attempted questions, right answers and marks obtained etc.

Module 8: Report Module

The various reports can be generated in this project. The following is the list

i) Examination Score report

ii) Enrollment wise Examinee report

iii) Date Wise Report

iv) Center Wise Date Wise Report.

Module 9: Online quiz Module


 This is responsible for creating quiz sessions for the students.
 Creation of Quiz Papers, evaluation of papers and display of result.

Module 10: e-Books management Module

 This module provides the facility to upload and/or download e-books


from the server easily.
 All users have the rights to upload their study material on the site.

Module 11: Connection manager Module

In this module is responsible for creating connection between different


Databases.

Module 12: Connection manager Module

 In this module the users are free chat with the another user.
 It is type chatting service.
User Interface Design

Technologies Used

This project is a WEB BASED APPLICATION.


The proposed system falls under RDBMS (Relational Database Management
System) category.
Tools & Platforms Used

The NetBeans, the middle tier, with My Eclipse 8.6 environment and C# used
as front end of the project and the SQL SERVER 2005 is used as the back end
of the project.

NetBeans is more than the next version of Active Server Pages (ASP); it
provides a unified Web development model that includes the services
necessary for developers to build enterprise-class Web applications. While
NetBeans is largely syntax compatible with Java , it also provides a new
programming model and infrastructure for more scalable and stable
applications that help provide greater protection. You can feel free to
augment your existing Java applications by incrementally adding NetBeans
functionality to them.

NetBeans is a compiled, JAVA-based environment; you can author


applications in any JAVA compatible language, including My Eclipse Java, C#,
and JScript Java. Additionally, the entire JAVA Framework is available to any
NetBeans application. Developers can easily access the benefits of these
technologies, which include the managed common language runtime
environment, type safety, inheritance, and so on.

SQL Server 2005 is at present at the backend, the most reliable and secure
RDBMS tool. SQL works to efficiently manage its resource, a database of
information among the multiple clients requesting and sending data in the
network. SQL has many important features that make it an excellent
database server choice for client/server database computing.

JAVA Platform : NetBeans, Java Framework


Language : C#, JAVA Script
RDBMS/Backend : SQL Server
Internet Technologies: JAVA Script, IIS (Internet Information Server)
Operating System : Windows XP
Application Area : Internet Based Testing Management

FRONT END

Language Used: C# and NetBeans

The causes of selecting this language are;


● Highly technical language.
● Highly security full.
● Its is platform dependent language.

BACK END

Database Used: SQL

The important features of SQL are:


● It provides better security aspect to the system.
● Better portability that enables user to be flexible on work.
● Can manage large amount of data.
● It provides reliable system with better integrity and validity of data.
IDE:
The Integrated Development Environment
is My Eclipse 8.6
Platform: Windows XP service pack-2, JAVA Framework

Hardware & Software Requirement Specification

Software Configuration:

Operating System: Windows 2000 Server, Windows XP

Front End: C# Java, JAVA Script

Environment: My Eclipse 8.6

Middle Tier: NetBeans

Back End: Microsoft SQL Server 2000

Web Server: IIS (Internet Information Server)

Hardware Configuration:

CPU Pentium-4 or above

RAM 1 GB or above

Memory 40GB or above


ABOUT SOFTWARE

INTRODUCTION

WHAT IS JAVA
 The JAVA Framework is Microsoft's application development platform
that enables developers to easily create Windows applications, web
applications, and web services using a myriad of different
programming languages, and without having to worry about low-level
details like memory management and processor-specific instructions.
The Runtime

 At the heart of JAVA is the Common Language Runtime, commonly


referred to as the CLR. The CLR is made up of a number of different
parts, which I will be covering here piece by piece (if you didn't want a
technical article then you should've followed the marketing link).

Language Independence
One of the most important facets of the JAVA Framework is language
independence. You can write JAVA applications using any number of different
programming languages. The most popular languages tend to be C# and
NetBeans, but many other languages now have JAVA versions including
Python, COBOL, and more. You can see a list of many of the languages you
can use with JAVA over at

Language independence is attained through the use of an intermediate


language (IL). What this means is that instead of code being compiled in
actual machine code (code that the CPU would run), it is instead compiled
into a high-level generic language. This means that whatever language you
write your code in, when you compile it with JAVA it will become IL. Since all
languages eventually get translated into the intermediate language, the
runtime only has to worry about understanding and working with the
intermediate language instead of the plethora of languages that you could
actually use to write code.

Just-in-Time Compilation

If your mantra is, "Why do something now you can put off till tomorrow?"
then you have something in common with the CLR. When you compile your
code and it is translated to the intermediate language it is then simply stored
in an assembly. When that assembly is used the CLR picks up that code and
compiles it on-the-fly for the specific machine that is running the code. This
means the runtime could compile the code differently based on what CPU or
operating system the application is being run on. However, at this point the
CLR doesn't compile everything in the assembly; it only compiles the
individual method that is being invoked. This kind of on-the-fly compilation,
referred to as jitting, only happens once per method call. The next time a
method is called, no compilation occurs because the CLR has already
compiled that code.

Memory Management
One of the constant assailants on productivity in unmanaged programming
One of the constant assailants on productivity in unmanaged programming
One of the constant assailants on productivity in unmanaged programming
many applications. JAVA removes the hassle of manually managing memory
through the use of the aptly named garbage collector. Instead of the
developer needing to remove objects from memory, the garbage collector
looks at the current objects in memory and then decides which ones aren't
needed anymore. For some developers this will be a tough pill to swallow; if
you are used to managing memory then turning it over to an automated
process can be somewhat troubling. This is when you have to take a step
back, stop worrying, and embrace the runtime. There are bigger problems to
solve (namely the business problems that are probably the real goal).

Alternative CLR Implementations

The JAVA runtime is actually based on a standard developed by Microsoft


called the CLI or Common Language Infrastructure, portions of which have
been submitted to Ecma as an international standard. Because the CLR is
based on an open standard, there have been a number of alternative CLR
implementations, most notably Rotor and Mono. Rotor was a project from
Microsoft Research, is a version of the CLR that will run on Mac OS, and is
shared source. Mono is an independent open source implementation of the
CLR that runs on various Linux distributions. While "Write once, run away" is
not always realistic with JAVA, there are some options available when it
comes to other platforms. (Some code can be moved without issue, but most
will require some tweaking, as different implementation includes different
functionality.)

The Library

While the runtime is definitely the most important part of JAVA, you can't do
too much with it by itself. This is where the Base Class Library (or BCL)
comes in. The BCL includes a lot of the plumbing of JAVA, including the
system types, IO, and functions for working with text. In addition to the BCL,
there is the Framework Class Library (FCL). The FCL is an extended library
that makes working with the JAVA Framework practical and includes the
following major pieces:

NetBeans

Most current applications involve working with databases, normally more


than one. ADO JAVA is the data access component of the JAVA Framework
and includes built-in providers for SQL Server, ODBC, OLEDB, as well as
Oracle.

NetBeans Architecture
Application

NetBeans

Driver

Data Source

NetBeans

NetBeans is the part of the JAVA Framework dedicated to building web


applications. Using NetBeans you can build everything from a small starter
website to enterprise-level web applications. NetBeans allows you to write
web applications without the need for a scripting language, everything can be
written in your JAVA language of choice.

Since NetBeans applications are simply rendering HTML for the browser,
there is no requirement for the JAVA Framework on the client. Chances are
you have used a number of sites that have been written in NetBeans and you
might not even have known it.

Evolution of dynamic content technologies NetBeans


For the simplest web requests, a browser request an HTML document, and
the web server finds the corresponding file and returns it . if the HTML
document includes any images, the browser will in turn submit request for
the image document, as well . as described here, all of these request are fore
static files. That is, the document that are request never change depending
upon who requested them.

INTRODUCTION

When they were requested, or which (if any) additional parameter were
included with the request. New version of the document might be placed on
the server, but at any given time, every request for those documents returns
exactly the same result. In such cases, the web server needs only to locate
the file corresponding to the requested document, and respond to the web
browser with the contents of that file.
Much of the date delivered over the web today, however, is dynamic in the
nature. Up-to-the minute stock prices and the latest weather reports can be
managed. Consumers can add contents that e-commerce staple, the online
shopping cart, by clicking on picture of the item they wish to buy. All of this
data is transient in nature, because the information it is based on is
constantly changing, or because it must be personalized for each individual
viewer, or both.
Dynamic web content, than, requires that the web server to some additional
Processing of the corresponding request in order to generate a customized
response. In addition to the URL of the request, the from of customized
response might be dependent upon additional parameter values included with
the request. Alternatively, it might be based on the date and time, the
location on the network from which the request was made, or on some
representation of the identity of the user making the request. Indeed, the
exact details of the response might depend upon a combination of some or
all of these factors.

Common Gateway Interface


The earliest HTTP server did not include any built-in mechanisms for
generating responses dynamically. Instead, interfaces were provided for
calling other programs to translate requests into run-time content. The first
standard for dynamic web content was based on the Common Gateway
Interface, or CGI, which specified a mechanism for web servers to pass
request information to external programs, which were then by the web
server to generate responses at runtime. The Perl language is a popular
choice for writing CGI programs, but

CGI codes can be written in any language that can be called as a stand-alone
program by the HTTP server, For example, a CGI program could be written in
any scripting language supported by the local operating system.
Alternatively,it could be written in C and compiled into native object code.
CGI programs could even be written as java application. When Sun
Microsystems first introduced java technology
To the computing community, it was in the context of small programs,
referred to as applets, which could also be used to write stand-alone
applications, but interactive program running inside the browser certainly
received most of the early attention.

Evolution of dynamic content technologies


Nevertheless, Java-based CGI programs first appeared shortly after Java was
made available to the public in 1995.It was eventually recognized that the
benefits of the Java Platform applied equally as well to the server as to the
client, and today serverside Java plays prominent role in the continuing
evolution of the java platform.
The tradi tional CGI approach to generating dynamic content has some
inherent inefficiencies, which ultimately limit its applicability to large-scale
deployment of Web-based applications. Asindicateted in figure 1.1,CGI
program.There is some overhead associated with creating and
communicating with this separate process, and each process requires its own
share of the local machine’s memory asources.Furthermore, CGI programs
are designed to handle only a single request, after which they return their
results to the web server and exit. This means that each time a request for
dynamic content is received by the web browser, it must start anew process
for running the corresponding CGI program for that specific request, send it
the request information, wait for result, then pass those results back in its
response to the browser. Thesedayss, it is not uncommon for popular web
sites to be handling thousands of simultaneous requests, so even if the
inefficiecies of individual CGI program execution are fairly small, they
quicklyadd up to significant performance penalties. As a result, a number of
vendors have introduced new systems for dynamic generation of web
content. In some cases, new HTTP servers that provide built-in dynamic
content capabilities have been introduced. Today, however, the HTTP server
market has com to be dominated by a small number of suppliers, making
such all-in-one approaches less commercially. Current Dynamic content
systems more typically take the form of add-on code modules that leverage
server-specific application.
APIs

Programming interfaces (APIs) in order to interact directly with the web


server process. by plugging in as a subprocess of the web server, these
systems avoid much of the overhead associated with conventional CGI
programs, and offer dynamic content capabilities with much better
scalabilities than the traditional approach. As indicated earlier, dynamic
content generation requires the server to processes requests at run time in
order to construct an appropriate request-specific response. Instructions are
required in order to perform this processing, so at one level or another it is
clear that some programming is required. As a result, many of the most
popular dynamic content systems, such as Allaire’s ColdFusion, Microsoft’s
Active Server Pages, Java scape’s Sever-Side Java Script, and PHP(an open
source hypertext preprocessor) enable dynamic Content to be specified using
scripting languages. The use of scripting languages is a particularly
appropriate choice here because web developers are used to rapid
turnaround when testing their web pages: as soon as the HTML in a static
web page is modified, the results of that change can be viewed in a web
browser. By relying on scripting languages that do not require lengthy edit-
compile-link cycle before any code can be run, these dynamic content tools
provide the same immediate feedback web developers have grown
accustomed to with HTML.
Similarly, in recognition of the page-centric nature of web development,
these tools enable scripts for dynamic content generation to be embedded
directly in the web pages in which the dynamic content is to appear. The
static elements of the page, governing page layout and base content, can be
coded in HTML in the usual manner. Appearing alongside this static HTML in
the source document are the scripts of generating the dynamic content.
When the document is requested by an end user, the web server will pass
along the static HTML elements, which often comprise the bulk of the page,
unchanged .The scripts, however, will be turned over to the dynamic system
for execution, with the results of running these scripts embedded into the
document in place of the script’s original source code. Because the static
HTML elements provide a framework into which the dynamic content
generated by the scripts will be inserted, such tools are commonly referred to
as template system.

Application

As its name suggests, the application is the front-end you develop to work
with the database. It uses ODBC API call to establish a connection to the
database and the uses SQL commands to manipulate the data.
Driver

The Driver actually implements the ODBC API for a particular database
management system. It establishes the connection to the server, submits the
SQL queries, and returns the result sets or error messages to the application.

Web Services

With NetBeans Web Services Microsoft has created a number of time-saving


features to make it easy to quickly write and expose web services from your
application. Just like the rest of Java, NetBeans Web Services can be written
in any NetBeans language. Through the use of the Web Services Extensions
(free download from Microsoft), you can also add support for the new and
ever-growing list of WS-* specifications to your NetBeans Web Services.

The Tools

One of the benefits of the JAVA Framework is the great tools that are
available to the JAVA developer. My Eclipse has long been considered one of
the premier IDEs on the market and does a lot to increase developer
productivity when working with the framework. There are also a large
number of open source tools available for JAVA, including many that mimic
the tools available on other platforms. Some of these include an Unit for unit
testing, Ant for building projects, Cover for testing code coverage, Hibernate
for object persistence, and much more.

SYSTEM TESTING AND IMPLEMENTATION

SYSTEM TESTING
Software testing is a critical element of Software Quality Assurance and
represents the ultimate review of specification, design and coding. This point
was kept in mind throughout the software development activity and a
conscious effort was made to test the system as thoroughly as possible. The
objective behind this was to systematically uncover different classes of error
with a minimum amount of time and effort.
IMPLEMENTATION:

Implementing the software is another task during the software development,


my Application is customized to implement for our client .

Login screen
The following screen that inputs the user name & password from the user for
authentication of the user to the system is:

Login Id

Password
Cancel Login

The user enters the user name and password and clicks the login button. The
system connects with the RDBMS and verifies them in the related database.
if both are valid: allow the user to enter the system with the allowed access
rights for that user. Otherwise prompt wrong Username-password massage
and take the user to the screen where she can re-enter the username
password.

TESTING METHODOLOGIES

Introduction:
Testing presents an interesting anomaly. A series of test cases are created

that are intended to “demolish” the software that has been created. Testing

requires that the developer discard preconceived notions of the “correctness”

of the software just developed and overcome a conflict of interest that occurs

when errors are uncovered.

Testing objectives:

These are follows:-

1. Testing is process of executing a program with the intent of finding an

error.

2. A good test case is one that has a high probability of finding an as-yet

undiscovered error.

3. A successful test is one that uncovers as-yet undiscovered error. If the

testing is conducted successfully it will uncover errors in the software.

Testing cannot show the absence of defects, it can only show those

software errors are present.

Testing principles:

1. All tests should be traceable to customer requirements.

2. Tests should be planned long before testing beings.

3. The pare to principle applies to testing (this principle implies that 80%

of all errors uncovered during testing likely be traceable to 20% of all

program modules).

4. Testing should begin “in the small” and progress toward testing “in the

large”.

5. Exhaustive testing is not possible.


Types of testing:

UNIT TESTING

Unit testing begins at the vortex of the spiral and concentrates on each unit

of the software as implemented in source code. Testing progress by moving

outward along the spiral, to integration testing, where the focus is on design

and the construction of the software architecture. Taking another turn

outward on the spiral, we encounter validation testing, where requirements

against the software that has been constructed. Unit testing makes heavy

use of white-box testing techniques, exercising specific paths in a module’s

control structure to ensure complete coverage and maximum error detection.

System testing

Software is only one element of a larger computer-base software is


incorporate with other system element and series of system integration and
validation not conducted test are conducted. These tests fail outside the
scope of the software process and are by software engineer.
A classic system-testing problem is “finger-pointing”. This occurs when an
error is uncovered, and each system element developer blames the other for
the problem. The software engineer should anticipate potential interfacing
problem and…..
1) Design error-handling path that test all information coming from
other element.
2) Conduct a series of test that stimulate bad data.
3) If finger pointing dose occur then record the result of test.

4) Participate in planning and design of system test to ensure that the


software is tested.
System testing is actually a series of different test whose primary purpose is
to fully exercise the computer-based system. Each have different purpose, all
work have been properly integrated and perform function.
We discuss the type of system test for software-based system:-

a) Recovery testing:- Recovery testing is a system test that force


the software to fail verifies that recovery is properly performed. If
recovery is automatic, reinitialization, check pointing mechanisms,
data recovery requires human intervention, the mean-time-to-repair
(MTTR) is evaluated to determine whether it is within acceptable
limits.
b) Security testing:- Security testing attempt to verify that
protection mechanism built in to a system will in fact, protect it from
improper penetration to quote beizer: “the system’s security must, of
course, be tested for invulnerability from frontal attack-but must also
be tested for invulnerability from flank or rear attack.”
During system testing, the tester plays role of individual who desire to
penetrate the system. Anything goes! The tester may attempt to acquire
password through external means: may attack the system with custom
software designed to breakdown any defense that have been constructed:
may overwhelm the system, may through insecure data, hoping to find the
key to system entry.
c) Stress testing:- Stress testing executes a system in a manner
that demands resources in abnormal quantity, frequency or volume.
E.g. special test may design that generate ten interrupt per second,
when one or two is the average rate.
A variation of stress testing is techniques called sensitivity testing. In some
situation, a very small range of data contained within the bound of valid data
for a program may cause extreme and even erroneous processing
performance.
d) Performance testing:- Performance testing is design to test the
run-time performance of software within the context of an integrated
system. Performance testing occurs throughout all steps in the testing
process. Even at the unit level, the performance of an individual
module may be accessed as white-box test are conducted.
Performance test and software instrumentation. That is, it is often
necessary to measure resource utilization in an extorting fashion.

White-box testing:

Sometimes called glass-box testing, is a test design method that uses the
control structure of the procedural design to device test cases. Using white-
box testing methods, the software engineer can derive test case that:
1. Guarantee that all independent paths within a module have been
exercised at least once.
2. Exercise all logical decision on their true and false sides;
3. Execute all loops at their boundaries and within their operational
bounds; and
4. Exercise internal data structure to assure their validity.
A reasonable question might be posed at this juncture: “why spend time and
energy worrying about (and testing) logical minutiae when we might better
expand effort ensuring that program requirements have been met?” started
another way, why don’t we spend all of our energies on black-box test? The
answer lies in the nature of software defects.
 Logic errors and incorrect assumptions are inversely proportional to
the probability that a program path will be executed. An error tends to
creep into our work when we design and implement function,
conditions or controls that are out of the mainstream. Everyday
processing tends to be well understood (and well scrutinized),
while “special case” processing tends to fall into the cracks.
 We often believe that a logical path is not likely flow to be executed
when, in fact, it may be execute on a regular basis. The logical flow of
a program is sometimes counterintuitive, meaning that our
unconscious assumption about flow of control and data may lead us to
make design errors that are uncovered only once path testing
commences.
 Typographical errors are random. When a program is translated into
programming language source code, it is likely that typing errors will
occur. Many will be uncovered by syntax checking mechanisms, but
others will go undetected until testing begins it is as likely what a typo
will exist on an obscure logical path as on a mainstream path.
 Each of these reason provides an argument for conducting white-box
tests. Black box testing, no matter how throught, may miss the kinds
of errors noted above. As beizer has stated [BE190]: “Bugs lurks in
corners and congregate at boundaries.” White-box testing is for more
likely to uncover them.

Black-box testing:-

Focuses on the functional requirements of the software. That is, black-box


testing enables the software engineer to drive sets of input conditions that
will fully exercise all functional requirements for a program. Black-box
testing is not an alternative to white-box techniques. Rather, it is a
complimentary is not an alternative to white-box methods.
 Black-box testing attempts to find errors in the following categories:
 Incorrect or missing functions.
 Interface errors.
 Errors in data structures or external database access.
 Performance errors and
 Initialization and termination errors.
 Unlike white-box testing, which is performed early in the testing
process, black-box testing tends to be applied during later stages of
testing. Because black-box testing purposely this regards control
structures, attention is focused on the information domain. Tests are
designed to answer the following questions:
 How is functional validity tested?
 What classes of input will make good test cases?
 Is the system particularly sensitive to certain input values?
 What data rates and data volume can the system tolerate?
 What effect will specific combinations of data have on system
operation?
 By applying black-box techniques, we drive a set of test cases that
satisfy the following criteria :
 Test case that reduce, by account that is greater than on, the number
of additional test cases that must be design to achieve reasonable
testing, and
 Test cases that tell us something about the presence or absence of
classes of errors, rather than errors associated only with the specific
test at hand.

Test Case Designs and Reports:

Project Name: Internet Based Testing Document No.


Management System
Test Case Author: Date

Purpose
Identifier Function Parameters Expected Actual Bugs
Result Result
Project Name Call Processing Optimization System Document No. TestCase\
2009\1.1
Test Case Author: Saurabh Date
Test Cases

Project Internet Based Testing Page No


Test Case Document No. TestCase/2009/1.1
Author Saurabh Date

Purpose : Testing of unit ‘Examinee Module’

Identifier Function Parameter Expected Actual Remarks


Values Result Result Bug
E001 Save Examinee No False False Object
Info() Parameters instance is
not set
Exception
E002 Save Examinee No True True No
Info() parameters
E003 Update Int Order True True No
Examinee Info() Id
E004 Update Int Order True False SystemIO
Examinee Info() Id Exception
E005 Delete Examinee Int Order False False System
Info() Id Exception
E006 Get Examinee No True True No
Info() Parameters

Bug Report Id:


Purpose: Bug Report of unit ‘Examinee Module’

Project Internet Based Testing Page No


Bug Report Document No. TestCase/2009/1.4
Author Saurabh Date

Bug Detected Description Status Severity Code


Id By Improvement
BR001 Save Input string is Resolved Not Sevier
Examinee not incorrect
Info format
BR002 Update Input string is Resolved Not Sevier
Examinee not incorrect
Info format
BR003 Delete Resolved Not Sevier
Examinee
Info

Implementation of Security Mechanism

As technology keeps advancing, it is equally important to ensure that the

data of the organization is protected and reports/queries provide appropriate

control information to tell the user that the data integrity is assured. Security

and controls are required not only for preventing inadvertent mistakes made

by users, but also to prevent misuse of the system and ensure data integrity.

Let us look at some basic aspects of security and control in an automated

system.

1. Risk Analysis
It is easy to state that all systems must have the best possible security to

ensure that there is no misuse of the system. Since in this project, data is

very confidential, all measure have been taken to ensure the best security.

2. Password Control

Password is the most commonly used and one of the most effective methods

of control. The administrator and the students are given the password. This

is important and critical to this software. It prevents from illegal access of the

various options.

3. Access Control

It has been ensured that no a single user without a valid login and password

should access the Internet Based Testing. There is mechanism of access

control by issuing the login and password to each and every student.

Moreover the administrator is involved into various activities such as add

students, generating reports and issuing certificates. So access control is

given to the administrator

4. Validations

Various validation checks have been made to ensure the security of the

software. For say every student is validated before appearing in the exam.

The administrator is too validated.

5. Data Integrity
It is very necessary that the data should be well integrated with each other
to obtain the fast response from the system. Databases are designed keeping
normalization in the mind. As the application progresses, by different means
it has been made sure that data are going into respective places.
The system security problem can be divided into four related issues-security,
integrity, privacy, confidentiality.

System security:
Refers to the technical innovations and procedures applied to the hardware
and operating system to protect against deliberate or accidental damage
from a defined threat. In contrast data security is the protections against
data from loss disclosure, modification and destruction.

System integrity:
Refers to the proper functioning of hardware and programs, appropriate
physical security, and safe against external threats such as eavesdropping
and wire-tapping.
In contrast data integrity makes sure that data do not differ from their
original form and have not been accidentally or intentionally disclosed,
altered or destroyed.

Privacy:
Defines the right of the users or organization to determine what information
they are willing to share with or accept from others and how the other
organizations can be protected against unwelcome, unfair or excessive
dissemination of information about it.

Confidentiality:
Is a special status given to sensitive information in a database to minimize
possible invasion of privacy. It is an attribute of information that
characterizes its need for protection.
Implementation

Implementation
System implementation is the stage when the user has thoroughly
tested the system and approves all the features provided by the system. The
various tests are performed and the system is approved only after all the
requirements are met and the user is satisfied.
The new system may be totally new, replacing an existing
manual or automated system, or it may be a major modification to an
existing system. In either case, proper implementation is essential to provide
a reliable system to meet organizational requirements. Successful
implementation may not guarantee improvement in the organization using
the new system (that is a design question), but improper will prevent it.
Implementation is the process of having systems personnel check
out and put new equipment into use, train users, install the new application
and construct any files of data needed to use it. This phase is less creative
than system design. Depending on the size of the organization that will be
involved in using the application and the risk involved in its use, systems
developers may choose to test the operation in only one area of the firm with
only one or two persons. Sometimes, they will run both old and new system
in parallel way to com-pare the results. In still other situations, system
developers stop using the old system one day and start using the new one
the next.
The implementation of the web based or LAN based networked project
has some extra steps at the time of implementation. We need to configure
the system according the requirement of the software.

Installation

To install the Offline Counseling Admission System, you have to follow


following steps:

Operating System: Windows XP


Software requirements: SQL Server 2005, My Eclipse 8.6

1. Database Deployment:

First create a database “e-shop”.


Import data provided for different tables into tables.
Now Database is ready to work.

2. Web Application Deployment:

 Add the database as a data source in the IIS application


developer.
 Modify the resource reference in the deployment
descriptor of the project.

3. NetBeans and C# application client deployment:

Modify the connection string, login id & password to suit your


database. These are located at admin login, buyer login,
Modify the constraints located at product by admin.
Cost Estimation of the Project

Cost Estimation of the Project


For cost estimation of the project, The COCOMO Model is being followed. The
Basic Model of the COCOMO Model is being followed.

Assumptions: There are following assumptions being made:


 The Basic Model of the COCOMO Model is being used for cost
estimation.
 The Organic Model is being used.

Formula: The following formula is being used:

E = ab * (KLOC)bb

D = cb * (E)db

Where, E is effort in person-months,


D is Development Time in Months,
KLOC stands for thousand (Kilo) Lines of Code,
ab for Basic Model is 2.4,
bb for Basic Model is 1.05,
cb for Basic Model is 2.5,
db for Basic Model is 0.38

COST ESTIMATION OF PROJECT


For any given set of requirement it is desirable to know how much it will cost
to develop the software to satisfy the given requirement and how much time
development will take.
These estimates are needed before development is initiated. The primary
reason for cost and schedule estimation is to be enable the client or
developer to perform a cost benefit analysis and for project monitoring. And
control. a more practical use of these estimates is in bidding for software
project.
Cost in a project is due to the requirement for software, hardware and
human resource .Hardware resource are such thing as the computer time
terminal time and memory required for the project whereas software
resource include the tool and compiler needed during development .The bulk
of cost of software development is due to the human resources needed and
most cost estimation procedure focus on this aspect most cost estimates are
determine in terms of person-month. by properly including the overhead in
rupee cost of a person-month ,beside including the direct cost of the person
month, most costs for a project can be incorporated by using PM as the basic
measure .Estimate can be based on subjective opinion of some person or
determine through the use of model.
There are many ways of estimating cost of project I have use
COCOMO(Constructive Cost Model) .the model has following hierarchy:

Model 1
The basic COCOMO model computed software development efforts land cost
as a fuction of a program size expressed in estimated lines of code.
Model 2:
The intermediated COCOMO model computer software development effort as
a program size and a set of”cost driver” that include subjective assessment
of vehicle, hardware personnel and project attributes.
Model 3:
The advance COCOMO model incorporates all characteristics of the
intermediate version with an assessment of the cost driver’s impact on each
step of software engineering.
The basic COCOMO equation takes the form
E=abKLOCbb
D=CbEdb
Where E is the effort applied in person month, D is the development time in
the chronological month , and KLOC is the estimated number of delivered
lines of code for the project . The coefficient a b and cb and the exponent bb
and db were taken as:
This project is organic so
ab=4
bb=1.05
cb=2.5
db=0.38
LOC=1555

KLOC =3000/1000 = 3.0

2.5
E=2.4(KLOC)

=7.6

=7 PERSON PER MONTH

New calculated the D the development time in chronological months


D=2.5 E0.35 =5.2 months approximately
PERT Chart, Gantt chart

ECONOMICAL BEHAVIORAL
PRELIMINARY FEASIBILITY FEASIBILITY
INVESTIGATION
25
4 5 5
0 2 I/O DESIGN
10
7
1 5 10 8
5
BEGIN
PROTOTYPE 8
3
35 6 51
TECHNICAL
FEASIBILITY SRS DATABASE 8
SPECIICATION DESIGN
16
3
9
67
70 CODING
10
10
TESTING
IMPLEMENTATION

11

10 80

90
12

MAINTENANCE

Total No. of Days for Completing of Project – (90 days)


Gantt Chart:
GANTT CHART

A Gantt chart uses a calendar-oriented chart to represent the project


schedule. Each activity is represented as a bar in the calendar, starting from
the start date of the activity and ending at the ending date for that activity.
The start and end of each activity becomes milestones for the project.

A Gantt chart can be developed for the entire project or a separate


chart can be developed for each function. A tabular form is maintained
where rows indicate the tasks with milestones and columns indicate
duration (week/months). The horizontal bars indicate that span and
columns indicate duration of the task
We have to estimate the number of days required for each of the
seven tasks as follows

Task Activity Expected time of


No. completion

1 Requirement Analysis 15 days(1 Jan-15 Jan)

2 Design 19 days (16 Jan-3 Feb.)

3 Coding 15 days (4 Feb-18 Feb.)

4 Testing and Quality Assurance 20 days(19 feb-10 mar)

5 Write Manual 10days(11 mar-20 mar)

6 Implementation 6days(21 mar-27 mar)

7 Final Review 2days (27 mar-29 mar)


The Gantt chart for this project is:

Task
No. Task Description Time Line
1- 16- 4- 19- 10- 21- 27-
Jan Jan Feb Feb Mar Mar Mar
Requirement
1 Analysis  
2 Design  
3 Coding  
Testing & Quality
4 Assurance  
5 Write Manual  
6 Implementation  
7 final review  
Future scope and further enhancement of the Project

 The Proposed project being a Customized and Generalized it can be


configured to be adapted in any kind of Internet Based Testing whether it
is a specialized one or a large one or a small one with limited no students.

 Due to automation many loopholes that exist in the manual maintenance


of the records can be removed.

 The speed of obtaining and processing the data being fast any branch
(center), which implements this software, would expect good results.

Bibliography

Books for system analysis and design:-

 Analysis And Design Of Information System – by V. Raja


Raman

 Analysis And Design Of Information System – by James


A. Senn

 Structured Analysis and System Specification – by Tom


De Marco.

 Managing the Structure Technique – by Edward Yourdon.

 System Analysis, Design and Development – by Perry


Edwards.

Books for front-end tool (NetBeans IDE 6.9.1):-

 The Complete Reference C# 2.0 – by Herbert Schildt.


Appendices (if any)
Appendix A: Project Team Contact Directory

Project Team Contact Directory


Name Course Name Contact No. e-mail addres

SAURABH UTTAM BCA 9795727774 saurabh.uttam000@gmail.com

You might also like