WEB BASED DISTANCE EVALUATION SYSTEM full report
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
project topics
Active In SP
**

Posts: 2,492
Joined: Mar 2010
#1
18-04-2010, 02:07 PM



.doc   WEB BASED DISTANCE EVALUATION SYSTEM project_report_New.doc (Size: 4.73 MB / Downloads: 106)



WEB BASED DISTANCE EVALUATION SYSTEM
A PROJECT REPORT

Submitted by
JYOTI BHATTACHARYA (058257)
DEEP BANERJEE (058258)
MOUSUMI DATTA (058259)
Under the Supervision of
Mr. Subhajit Rakshit
HERITAGE INSTITUTE OF TECHNOLOGY, KOLKATA
WEST BENGAL UNIVERSITY OF TECHNOLOGY, KOLKATA

INTRODUCTION
It is an assessment software system that enables educators and trainers to author schedule, deliver, and report on surveys, quizzes, tests and exams. The software can be used all over the world by universities, schools, companies and independent teachers.
An e-exam (or CBT “ Computer Based Training)is an electronic exam that can be executed by using a personal computer or an equivalent electronic device(e.g. Handheld computer). The use of e-exam system instead of traditional paper-based tests, allows us to simplify entire system cycle, including generation, execution, evaluation, presentation and archieving.This simplification allows us to save time and money while improving exams reliability.
PRODUCT SCOPE
The scope of this product can be briefly described with the help of the following points:
? The product can be used in any institution which is involved with conducting exams, irrespective of purpose i.e industrial or educational.
? The product can be used without any geographical constraint .It will be having 24X7 accessibility .
? Quick processing of result irrespective of the number of users.
? Self evaluation can be done.
PRODUCT FEATURES
The following are the salient features of the product:-
? Easy accessibility
? User friendly
? Secured environment.
? Accurate evaluation.
? Cent percent Authentic.
USER CHARACTERISTICS
The intended users of the system are students or working professionals, above the age of 18 years, having a proficient working knowledge as an end user of windows environment.
CONSTRAINTS
¢ Due to the lack of proper penetration of Information technology in the developing countries, this form of exam can fail to deliver its full potential in the parts of the world.
¢ A minimum understanding of the windows environment is crucial, irrespective of the subject on which the exam is taken, which can also act as a hindrance.
¢ User interface is only in English i.e. no other language option is available.
¢ User can login only with his assigned username and password i.e. no guest facility is available.
FUNCTIONAL REQUIREMENTS
The functions that the product will perform can be broadly classified into the following :
? Registration
? User Login
? Taking Test
? Evaluation and Result
In this system the administrator has the full control over the system. He sets the question for both subjective and objective type questions. He can see the details of any user including their results.
REGISTRATION
In this stage the user registers itself for the test, by providing its details and email id, the administrator, in turn provides the user with an unique user id mail to his/her email.
USER LOGIN
The candidate will login using only the i.d provided by the administrator, hence reducing the chance of unauthentic access. The moment the user logs in the system will start keeping his time and will automatically logout when the prescribed time is over.
Once the user logs out or the time is over, whichever is first, the users cannot login again. Hence preserving the credibility of examination.
TAKING TEST
The test page is the most important page in this project and implimentation. Its easy understandability is most essential.
It will be having the following salient features:
? The questions are to be of two types-subjective and objective.There would be options for the student to chose the type .
? Display the questions clearly with the choices in the form of radio buttons so that it is less confusing.
? In case of Objective type questions the user will get marks instantly but in case of Subjective question , he has to wait for 24 hours until the administrator checks the result.
EVALUATION AND RESULT
The evaluation process will start almost instantaneously after the user logs out. And the result will be published on the web site accessible by the users account number.
Here the student can also check the actual answer of those multiple choice questions only after he has completed the exam.
TECHNOLOGY USED
Front end: java,jsp
Back end : oracle
Server used : Apache tomcat 6.0
BOTTLENECKS IDENTIFIED IN EXISTING SYSTEM
The first problem is that there are loads of hard copied documents being generated. This brings us to the age-old discussion of keeping information in the form databases versus keeping the same on sheets of paper.
Keeping the information in the form of hard-copied documents leads to the following problems:
¢ Lack of space “ It becomes a problem in itself to find space to keep the sheets of paper being generated as a result of the ongoing discussion. The documents being generated are too important to be ill-treated.
¢ Filing poses a problem “ Filing the documents categorically is a time consuming and tedious exercise.
¢ Filtering is not easy “ It becomes hard to filter relevant documents for the irrelevant ones if the count of the same crosses a certain manageable number.
¢ Reviewing becomes time-consuming -All the process done manually at the centers and all the records are maintained on the papers. So the maintenance of the record is very difficult in the departments and as well as it™s very difficult for the workers to check the record. The Existing system is paper based, time consuming, monotonous, less flexible and provides a very hectic working schedule. The chance of loss of records is high and also record searching is difficult. Maintenance of the system is also very difficult and takes lot of time.
¢ Result Processing is slow due to paper work and requirement of staff.
NEED FOR THE NEW SYSTEM
To solve these problems they required a computerized system to handle all the works. They required a web based application that will provide a working environment that will be flexible and will provide ease of work and will reduce the time for report generation and other paper works.
AIMS AND OBJECTIVE
The main purpose behind the proposed system is to provide a comprehensive computerized system, which can capture, collate and analyze the data from these wards and evaluate the impact of the program.
The scope of this product can be briefly described with the help of the following points:
¢ The product can be used in any institution which is involved with conducting exams, irrespective of purpose i.e industrial or educational.
¢ The product can be used without any geographical constraint .It will be having 24X7 accessibility .
¢ Quick processing of result irrespective of the number of users.
TECHNOLOGY USED IN WEB BASED DISTANCE EVALUATION SYSTEM
We have implemented the system using jsp and servlet technology.It is a very sophisticated web technology.Before we go to the details of our project and implimentation ,we discuss about the basic MVC architecture used to implement the project and implimentation.MVC is a design concept that attempts to separate an application into three different parts. One part is concerned with the actual work the application conducts, another part is concerned with displaying the data or information of an application, and another part coordinates the former two in order to display the correct interface or execute some work that the application needs to complete.These three parts are respectively:
Model - The model represents the part of an application that actually does the work and models the real-world problem that the application attempts to solve.
View -The view is the representation of the model that the user can see and interact with.
Controller - The controller is the part of the application that responds to commands from the user, deciding how the model should be chagedor retrieved and which View should be displayed.
The Model 2 architecture for designing JSP pages is in reality, Model View Controller (MVC) applied to web applications. Hence the two terms can be used interchangeably in the web world. MVC originated in SmallTalk and has since made its way into Java community. Model 2 architecure and its derivatives are the cornerstones for all serious and industrial strength web applications designed in the real world. Hence it is essential to understand this paradigm thoroughly.
The main difference between Model 1 and Model 2 is that in Model 2, a controller handles the user request instead of another JSP. The controller is implemented as a Servlet. The following steps are executed when the user submits the request.
1. The Controller Servlet handles the userâ„¢s request. (This means the hyperlink in the JSP should point to the controller servlet).
2. The Controller Servlet then instantiates appropriate JavaBeans based on the request parameters (and optionally also based on session attributes).
3. The Controller Servlet then by itself or through a controller helper communicates with the middle tier or directly to the database to fetch the required data.
4. The Controller sets the resultant JavaBeans (either same or a new one) in one of the following contexts “ request, session or application.
5. The controller then dispatches the request to the next view based on the request URL.
6. The View uses the resultant JavaBeans from Step 4 to display data. Note that there is no presentation logic in the JSP. The sole function of the JSP in Model 2 architecture is to display the data from the JavaBeans set in the request, session or application scopes.

Model 2 Architecture
ADVANTAGES OF MVC MODEL 2 ARCHITECTURE
Since there is no presentation logic in JSP, there are no scriptlets. This means lesser nightmares. [although Model 2 is directed towards elimination of scriptlets, it does not architecturally prevent you from adding scriptlets. This has led to widespread misuse of Model 2 architecture.]
With MVC we can have as many controller servlets in our web application. In fact we can have one Controller Servlet per module. However there are several advantages of having a single controller servlet for the entire web application. In a typical web application, there are several tasks that we want to do for every incoming request. For instance, we have to check if the user requesting an operation is authorized to do so. We also want to log the userâ„¢s entry and exit from the web application for every request. We might like to centralize the logic for dispatching requests to other views. The list goes on. If we have several controller servlets, chances are that we have to duplicate the logic for all the above tasks in all those places. A single controller servlet for the web application lets us centralize all the tasks in a single place. Elegant code and easier to maintain.
Web applications based on Model 2 architecture are easier to maintain and extend since the views do not refer to each other and there is no presentation logic in the views. It also allows you to clearly define the roles and responsibilities in large project and implimentations thus allowing better coordination among team members.
So according to this architecture we have implemented our project and implimentation. So there should be always a servlet page between every two jsp pages.
Maintaining the MVC architecture our project and implimentation file structure looks like the following.
Here DAO stands for Data Access Object.The java classes build under this package has direct access to the database using JDBC connectivity.
Here POJO stands for Plane Old Java Object. It contains the java classes which uses the databse connectivity classes (under DAO) to establish the database connection.
The Servlet acts between every two jsp pages.
FEASIBILITY STUDY
1. ECONOMIC FEASIBILITY
Economic analysis is most frequently used for evaluation of the effectiveness of the system. More commonly knows as cost/benefit analysis the procedure is to determine the benefit and saving that are expected from a system and compare them with costs, decisions is made to design and implement the system.
This part of feasibility study gives the top management the economic justification for the new system. This is an important input to the management the management, because very often the top management does not like to get confounded by the various technicalities that bound to be associated with a project and implimentation of this kind. A simple economic analysis that gives the actual comparison of costs and benefits is much more meaningful in such cases. In the system, the organization is most satisfied by economic feasibility. Because, if the organization implements this system, it need not require any additional hardware resources as well as it will be saving lot of time.
2. TECHNICAL FEASIBILITY
Technical feasibility centers on the existing manual system of the test management process and to what extent it can support the system. According to feasibility analysis procedure the technical feasibility of the system is analyzed and the technical requirements such as software facilities, procedure, inputs are identified. It is also one of the important phases of the system development activities.
The system offers greater levels of user friendliness combined with greaterprocessing speed. Therefore, the cost of maintenance can be reduced. Since, processing speed is very high and the work is reduced in the maintenance point of view management convince that the project and implimentation is operationally feasible.
3. BEHAVIOURAL FEASIBILITY
People are inherently resistant to change and computer has been known tofacilitate changes. An estimate should be made of how strong the user is likely to move towards the development of computerized system. These arevarious levels of users in order to ensure proper authentication and authorization and security of sensitive data of the organization.
Data Tables
1. Student
Name Data Type Description
UserId varchar2(20) ID of examinee
Password varchar2(20) Password of the examinee
Username varchar2(30) Name of the examinee
Email varchar2(30) Email ID of examinee
2. Teacher
Name Data Type Descriptions
Adminid varchar2(20) ID of the administrator
Password varchar2(20) Password of administrator
3. SubjectiveQuestion
Name Data Type Description
Qid Number Id of question
Type varchar2(10) Question Topic
Question varchar2(10) Entire Question
Op1 varchar2(10) First Option
Op2 varchar2(10) Second Option
Op3 varchar2(10) Third Option
Op4 varchar2(10) Fourth Option
Correct varchar2(10) Correct Option number
4.Objective Result
Name Data Type Description
Userid Varchar2(20) Id of the User
Type Varchar2(20) Question Topic
Percentile Number Percentage of marks Obtained
5. Subjective question
Name Data Type Description
Qid Varchar2(20) Id of the User
Type Varchar2(20) Question Topic
Question Number Percentage of marks Obtained
6. Subjective Answer
Name Data Type Description
UserId varchar2(20) ID of examinee
Type varchar2(20) Password of the examinee
Question varchar2(30) Name of the examinee
Answer varchar2(30) Email ID of examinee
7. Subjective Result
Name Data Type Description
UserId varchar2(20) ID of examinee
Type varchar2(20) Password of the examinee
Question varchar2(30) Name of the examinee
Answer varchar2(30) Email ID of examinee
Marks Number Marks obtained
Screen Shots
1.This is the first login page
2.This is administrator login page
3.This is Administratorâ„¢s Home page
4.This is new Userâ„¢s Registration Page
5.This is Userâ„¢s Home Page
6.This is the page Where User have to choose their Objective examination type and the number of questions he wants to answer
7.Here the user performs their Objective examination
8.This the page immediately comes after performing examination
9.This is the result page showing userâ„¢s previous Objective exam results
10.This is the page for changing the Password
11. Here the user performs their Subjective examination after selecting the type and the number of questions he wants to answer
12.Here the administrator sets the objective question
13.Here the administrator evaluate the subjective answer

Important Program Codes under Package DAO
(DBConnect.java)
package DAO;
Code:
import java.sql.*;
public class DBConnect {
    Connection con=null;
    
    public void connect()
    {
        try{
            Class.forName("oracle.jdbc.driver.OracleDriver");
            con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:dev","scott","tiger");
            System.out.println("Error");
        }
        catch(Exception e)
        {
            System.out.print(e);
        }
    }
    
    public void queryCommand(String qry)
    {
        connect();
        
        try
        {
        PreparedStatement ps=con.prepareStatement(qry);
        ps.executeQuery();
        }
        catch(Exception ex)
        {
            
        }
    }
    public ResultSet query(String qry)
    {
        connect();
        ResultSet rs=null;
        try
        {
        PreparedStatement ps=con.prepareStatement(qry);
        rs=ps.executeQuery();
        
        }
        catch(Exception ex)
        {
            System.out.print(ex);
        }
        return rs;
    }
    
}
Important Program Codes under Package POJO
(Userlogin.java)
package POJO;
import DAO.*;
import java.sql.*;
import javax.servlet.http.*;
public class Userlogin
{
    
    public boolean registerChk(String uname,String pwd,HttpSession session)
    {
        DBConnect db=new DBConnect();
        String qry="select * from student where userid='"+uname+"' and password='"+pwd+"'";
        
        ResultSet rs=db.query(qry);
        try{
        if(rs.next())
        {
session.setAttribute("id",uname);
            return true;
        }
        else
        {
        return false;
        }
        }
        catch(Exception ex)
        {
            System.out.println(ex);
            return false;
        }
    }
     public void registerChk1(String uname,String pwd,String name,String email)
        {
            DBConnect db=new DBConnect();
            String qry="insert into student values('"+uname+"','"+pwd+"','"+name+"','"+email+"')";
            db.query(qry);
        }
     public boolean registerChk2(String uname,String pwd,HttpSession session)
        {
            DBConnect db=new DBConnect();
            String qry="select * from teacher where adminid='"+uname+"' and password='"+pwd+"'";
            ResultSet rs=db.query(qry);
            try{
            if(rs.next())
            {
                session.setAttribute("id",uname);
                return true;
            }
            else
            {
         return false;
            }
            }
            catch(Exception ex)
            {
                System.out.println(ex);
                return false;
            }
        }
    
}
(Addquestion.java)
package POJO;
import DAO.DBConnect;
public class Addquestion {
    public void newquestion(String type,String question,String op1,String op2,String op3,String op4,int correct)
    {
        DBConnect db=new DBConnect();
        String qry="insert into objectivequestion(type,question,op1,op2,op3,op4,correct) values('"+type+"','"+question+"','"+op1+"','"+op2+"','"+op3+"','"+op4+"',"+correct+")";
        db.query(qry);
        System.out.print("Value Entered");
        
    }
}
(Question.java)
package POJO;
public class Question
{
    String qid,ques,op1,op2,op3,op4,type;
    int ans;
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    
    public String getQid() {
        return qid;
    }
    public void setQid(String qid) {
        this.qid = qid;
    }
    public String getQues() {
        return ques;
    }
    public void setQues(String ques) {
        this.ques = ques;
    }
    public String getOp1() {
        return op1;
    }
    public void setOp1(String op1) {
        this.op1 = op1;
    }
    public String getOp2() {
        return op2;
    }
    public void setOp2(String op2) {
        this.op2 = op2;
    }
    public String getOp3() {
        return op3;
    }
    public void setOp3(String op3) {
        this.op3 = op3;
    }
    public String getOp4() {
        return op4;
    }
    public void setOp4(String op4) {
        this.op4 = op4;
    }
    public int getAns() {
        return ans;
    }
    public void setAns(int ans) {
        this.ans = ans;
    }
    public void enterQuestion(String quid,String t,String q,String o1,String o2,String o3,String o4,String a )
    {
        qid=quid;
        type=t;
        ques=q;
        op1=o1;
        op2=o2;
        op3=o3;
        op4=o4;
        ans=Integer.parseInt(a);
        
    }
    
}
(QuestionBank.java)
package POJO;
import DAO.*;
import POJO.*;
import java.util.*;
import java.sql.*;
public class QuestionBank
{
    Vector bank=new Vector();;
    int n;
    public void fetch(String type,int no)
    {
        String qry="select * from question where type='"+type+"'";
        DBConnect db=new DBConnect();
        ResultSet rs=db.query(qry);
        n=no;
        int i=1;
        int correct=0;
        try
        {
        System.out.println("In loop");
        while((i<=n) && (rs.next()))
        {
            Question obj=new Question();
            obj.enterQuestion(rs.getString(1), rs.getString(2), rs.getString(3), rs.getString(4), rs.getString(5), rs.getString(6), rs.getString(7),rs.getString(8));
            bank.addElement(obj);
            i++;
        }
        }
        catch(Exception e)
        {
         System.out.println("Error From loop"+e);
        }
    }
    
    public Question getQuestion(int n)
    {
        Question q=new Question();
        q=(Question)bank.elementAt(n);
        return q;
    }
    public int getno(int no)
    {
     return no;
    }
}
Important Program Codes under Package Servlet
(Register.java)
package Servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import POJO.Userlogin;
/**
* Servlet implementation class for Servlet: Sign
*
*/
public class Register extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet {
static final long serialVersionUID = 1L;

/* (non-Java-doc)
     * @see javax.servlet.http.HttpServlet#HttpServlet()
     */
    public Register() {
        super();
    }     
    
    /* (non-Java-doc)
     * @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
     */
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        // TODO Auto-generated method stub
    }     
    
    /* (non-Java-doc)
     * @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
     */
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        // TODO Auto-generated method stub
        String uname,pwd;
        uname=request.getParameter("uname");
        pwd=request.getParameter("pwd");
        HttpSession session=request.getSession(true);
        if(uname.equals("") || pwd.equals(""))
        {
            response.sendRedirect("login.jsp?msg=Enter all fields");
        }
        else
        {
            Userlogin u=new Userlogin();
            boolean b=u.registerChk(uname,pwd,session);
            if(b==true)
            response.sendRedirect("home.jsp");
            else
            response.sendRedirect("login.jsp?msg=Invalid user");
        }
    }          
}
(Registerquestion.java)
package Servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import POJO.*;
/**
* Servlet implementation class for Servlet: Registerquestion
*
*/
public class Registerquestion extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet {
static final long serialVersionUID = 1L;

/* (non-Java-doc)
     * @see javax.servlet.http.HttpServlet#HttpServlet()
     */
    public Registerquestion() {
        super();
    }     
    
    /* (non-Java-doc)
     * @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
     */
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        // TODO Auto-generated method stub
    }     
    
    /* (non-Java-doc)
     * @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
     */
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        // TODO Auto-generated method stub
        String type,question,op1,op2,op3,op4;
        int correct=0;
        
        type=request.getParameter("type");
        question=request.getParameter("question");
        op1=request.getParameter("op1");
        op2=request.getParameter("op2");
        op3=request.getParameter("op3");
        op4=request.getParameter("op4");
correct=Integer.parseInt(request.getParameter("correct"));
        try{
            
            Addquestion u=new Addquestion();
            u.newquestion(type, question, op1, op2, op3, op4, correct);
         response.sendRedirect("homeadmin.jsp?msg=Question is entered");
    
     }
        catch(Exception e)
        {
            System.out.print("Here is the error");
        }
    }    
}
Important JSP Codes
(login.jsp)
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "w3TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>LOGIN PAGE</title>
    <script type="text/javascript">
function formValidation()
    {
        var id=document.getElementById('uname').value;
        var pswd=document.getElementById('pwd').value;
        if(id=="" || pswd=="")
        {
        document.getElementById("show").innerHTML="complete the form";
        return false;
    }
    else
    return true;
    }
</script>
</head>
<body>
<strong><br>For Admistrator login
</strong> <a href="Adminlogin.jsp">Click Here</a> <br>
<img src="onlineExam3.jpg" width="972" height="96">
<div align="center">
<p>&nbsp;</p>
<p><font color="#FF0033" face="Georgia, Times New Roman, Times, serif"><strong><font size="6">Web
Based Dis</font></strong></font><font color="#FF0033" face="Georgia, Times New Roman, Times, serif"><strong><font size="6">tance
Evaluation System</font></strong></font> </p>
</div>
<form action="Register" method="post">
<table width="691" border="0" bgcolor="#CCFFCC">
<!--DWLayoutTable-->
<tr>
<td height="21" colspan="2">
<%String msg=request.getParameter("msg");
if(msg!=null)
     out.println(msg);
%>
<div id="show"></div></td>
<td width="98">&nbsp;</td>
<td width="244">&nbsp;</td>
<td width="98">&nbsp;</td>
<td width="21"></td>
</tr>
<tr>
<td width="197" height="24">&nbsp;</td>
<td colspan="2" valign="top"> <div align="center"><font color="#993333"><strong><font face="Arial, Helvetica, sans-serif">USERID</font></strong></font></div></td>
<td colspan="2" valign="top"><input type="text" id="uname" name="uname" / ></td>
<td></td>
</tr>
<tr>
<td height="24">&nbsp;</td>
<td colspan="2" valign="top"><div align="center"><font color="#993366" face="Arial, Helvetica, sans-serif"><strong>PASSWORD</strong></font></div></td>
<td valign="top"><input type="password" name="pwd" id="pwd" / ></td>
<td>&nbsp;</td>
<td></td>
</tr>
<tr>
<td height="26">&nbsp;</td>
<td colspan="3" valign="top"><input name="submit" type="submit" value="Signin" onClick="return formValidation();">
</td>
<td>&nbsp;</td>
<td></td>
</tr>
<tr>
<td height="3"></td>
<td width="7"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<strong>Dont Have Account ..</strong> </form>
<a href="Signup.jsp">Sign Up</a>
</body>
</html>
(home.jsp)
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "w3TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script language="JavaScript" type="text/JavaScript">
javascript:window.history.forward(-1);
</script>
</head>
<body>
<%
if(session.getAttribute("id")==null)
{
    %>
    <jsp:forward page="login.jsp">
    <jsp:param name="msg" value="log in first"></jsp:param>
    </jsp:forward>
<%
}
%>
Welcome <%=session.getAttribute("id") %>
<br><a href="logout.jsp">LogOut</a>
<div align="center">
<p>&nbsp;</p>
<p><font color="#FF0033" face="Georgia, Times New Roman, Times, serif"><strong><font size="6">Web
Based Dis</font></strong></font><font color="#FF0033" face="Georgia, Times New Roman, Times, serif"><strong><font size="6">tance
Evaluation System</font></strong></font> </p>
<p><img src="onlineExam3.jpg" width="1030" height="162"></p>
</div>
<form >
<table width="666" border="0" bgcolor=white>
<!--DWLayoutTable-->
<tr>
<td height="21" colspan="2">
    <br> <a href="changepassword.jsp">Change Password</a>
<br><a href="Exam.jsp">Exam</a>
<br><a href="Resultshow.jsp">Result</a>
<%String msg=request.getParameter("msg");
if(msg!=null)
     out.println(msg);

%>
<div id="show"></div></td>
</tr>
<tr>
<td height="3"></td>
<td width="7"></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>

</form>
</body>
</html>
(Test.jsp)
<%@ page language="java" import="POJO.*" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "w3TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script language="JavaScript" type="text/JavaScript">
var ctr=1;
var f=0;
function showTimer()
{
    var t=document.getElementById('total').value;
    t=parseInt(t)*2;
        if(ctr<=t)
        {
            document.getElementById('show').innerHTML=ctr;
            document.getElementById('ctr').value=ctr;
            ctr=parseInt(ctr)+1;
        }
        else
        {
            document.getElementById('number').value=document.getElementById('timber').value;
            clearInterval();
         window.location.href="Check";
            
            
        }
}
function count()
{
    ctr=document.getElementById('ctr').value;
    setInterval('showTimer()',3000);
}
function formValidation()
    {
    
        var radiobutton=document.getElementById('radiobutton').value;
        
        if(radiobutton=="" )
        {
        document.getElementById("show").innerHTML="complete the form";
        return false;
    }
    else
    return true;
    }
javascript:window.history.forward(-1);
</script>
</head>
<body onload="count()">
<input type="hidden" id="total" value='<%=request.getParameter("tot") %>'>
<%

int i,ti,correct;
i=Integer.parseInt(request.getParameter("n"));
ti=Integer.parseInt(request.getParameter("t"));
correct=Integer.parseInt(request.getParameter("correct"));
Question q=new Question();
QuestionBank b=new QuestionBank();
b=(QuestionBank)session.getAttribute("Bank");
q=b.getQuestion(i);
%>
<%
if(session.getAttribute("id")==null)
{
    %>
    <jsp:forward page="login.jsp">
    <jsp:param name="msg" value="log in first"></jsp:param>
    </jsp:forward>
<%
}
%>
<a href="logout.jsp">LogOut</a>
<div align="center">
<p>&nbsp;</p>
<p><font color="#FF0033" face="Georgia, Times New Roman, Times, serif"><strong><font size="6">Web
Based Dis</font></strong></font><font color="#FF0033" face="Georgia, Times New Roman, Times, serif"><strong><font size="6">tance
Evaluation System</font></strong></font> </p>
</div>
<form action="Check" method="post" name="test">
<input type="hidden" id="ctr" name="ctr" value='<%=request.getParameter("ctr") %>'>
<input type="hidden" id="type" name="type" value='<%=request.getParameter("type") %>'>
<table width="666" border="0" bgcolor="#CCFFCC">
<!--DWLayoutTable-->
<tr><td><div id="show"></div></td></tr>
<tr>
<td width="67" height="21">&nbsp;</td>
<td colspan="4" valign="top">
<%String msg=request.getParameter("msg");
if(msg!=null)
     out.println(msg);

%>
<div id="show"></div></td>
<td width="91">&nbsp;</td>
</tr>
<tr>
<td height="26"></td>
<td width="60"></td>
<td colspan="2" valign="top"> <div align="center"><font color="#993333"><strong><font face="Arial, Helvetica, sans-serif">
<%out.print(q.getQues()); %>
</font></strong></font></div></td>
<td width="220"></td>
<td></td>
</tr>
<tr>
<td height="0"></td>
<td></td>
<td width="83"></td>
<td width="119"></td>

</tr>
<tr>
<td height="24"></td>
<td></td>
<td colspan="2" valign="top"><div align="center"><font color="#993366" face="Arial, Helvetica, sans-serif"><strong>
<%out.print(q.getOp1()); %>
</strong></font></div></td>
<td>&nbsp;</td>
<td></td>
</tr>
<tr>
<td height="0"></td>
<td></td>
<td></td>

</tr>
<tr>
<td height="24"></td>
<td></td>
<td colspan="2" valign="top"><div align="center"><font color="#993366" face="Arial, Helvetica, sans-serif"><strong>
<%out.print(q.getOp2()); %>
</strong></font></div></td>
<td></td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="24">&nbsp;</td>
<td>&nbsp;</td>
<td colspan="2" valign="top"><div align="center"><font color="#993366" face="Arial, Helvetica, sans-serif"><strong>
<%out.print(q.getOp3()); %>
</strong></font></div></td>
</tr>
<tr>
<td height="24">&nbsp;</td>
<td>&nbsp;</td>
<td colspan="2" valign="top"><div align="center"><font color="#993366" face="Arial, Helvetica, sans-serif"><strong>
<%out.print(q.getOp4()); %>
</strong></font></div></td>
</tr>
<tr>
<td height="37"></td>
<td></td>
<td colspan="2" valign="top"><input type="radio" name="radiobutton" value="1" id="radiobutton">
<input type="radio" name="radiobutton" value="2" id="radiobutton" >
<input type="radio" name="radiobutton" value="3" id="radiobutton" >
<input type="radio" name="radiobutton" value="4" id="radiobutton" ></td>
<td>&nbsp;</td>
<td></td>
</tr>
<tr>
<td height="37"></td>
<td></td>
<td colspan="2" valign="top"><input type="hidden" name="answer" value=<%=q.getAns()%> id=<%=q.getAns()%>>
</td>
<td>&nbsp;</td>
<td></td>
</tr>
<tr>
<td colspan="2" valign="top"><input type="hidden" id="number" name="number" value=<%=i%> id=<%=i%> >
</td>
</tr>
<tr>
<td colspan="2" valign="top"><input type="hidden" id="timber" name="timber" value=<%=ti%> id=<%=ti%> >
</td>
</tr>
<tr>
<td colspan="2" valign="top"><input type="hidden" id="cor" name="cor" value=<%=correct%> id=<%=correct%> >
</td>
</tr>
<tr>
<td colspan="2" valign="top"><input name="submit" type="submit" value="Submit" onClick="return formValidation();">
</td>

</tr>
</table>
</form>
</body>
</html>
Use Search at http://topicideas.net/search.php wisely To Get Information About Project Topic and Seminar ideas with report/source code along pdf and ppt presenaion
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page

Quick Reply
Message
Type your reply to this message here.


Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Brain Chips full report seminar class 2 3,297 13-07-2016, 03:38 PM
Last Post: jaseela123
  Intranet Mailing System full report seminar tips 4 1,617 06-05-2016, 11:25 AM
Last Post: mkaasees
  WCPS Web Based Claims Processing System A PROJECT REPORT study tips 1 473 05-04-2016, 12:33 PM
Last Post: mkaasees
  WEB BASED CLAIM PROCESSING SYSTEM REPORT study tips 1 664 05-04-2016, 12:32 PM
Last Post: mkaasees
  chat server full report project report tiger 10 16,538 06-11-2015, 07:20 PM
Last Post: Guest
  Web Traffic Analyzer mechanical wiki 3 1,995 01-07-2015, 02:51 PM
Last Post: Guest
  SMS Based Student Intimation Report study tips 1 3,239 25-04-2015, 09:55 AM
Last Post: Guest
  email flyer design full report project report tiger 9 27,911 26-02-2015, 03:06 PM
Last Post: oiajecuot
  Online Rental House Web Portal smart paper boy 5 4,008 30-01-2015, 12:29 PM
Last Post: bharath9530
  Content-based image retrieval (CBIR) System project topics 15 12,393 12-10-2014, 07:19 AM
Last Post: anmol chopra