0% found this document useful (0 votes)
56 views5 pages

Online Examination System Project

The Online Examination System is a web-based application that facilitates efficient and automated examinations, allowing students to register, take exams, and receive instant results. It features secure logins, multiple question types, and a database-driven backend. The project aims to enhance the examination process by improving accessibility and reducing administrative burdens.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views5 pages

Online Examination System Project

The Online Examination System is a web-based application that facilitates efficient and automated examinations, allowing students to register, take exams, and receive instant results. It features secure logins, multiple question types, and a database-driven backend. The project aims to enhance the examination process by improving accessibility and reducing administrative burdens.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

ONLINE EXAMINATION SYSTEM

Final Year B.Tech CSE Project Report

Submitted by: Alok Samantaray

Under the guidance of: [Professor Name]


ABSTRACT

The Online Examination System is a web-based application designed to conduct


examinations in an efficient and automated manner. The system allows students
to register, take exams, and receive results instantly. Administrators can create
and manage question papers, set time limits, and analyze student performance.

Key Features:
- Secure login for students and admin
- Multiple-choice and descriptive questions
- Timer-based examination system
- Instant result generation
- Database-driven backend for exam storage

Technology Stack:
- Frontend: HTML, CSS, JavaScript
- Backend: Java, JSP, Servlet
- Database: MySQL

This project simplifies the examination process and enhances security and
efficiency in online assessments.
TABLE OF CONTENTS
1. 1. Introduction
2. 2. System Requirements
3. 3. System Design
4. 4. Database Schema
5. 5. Implementation & Features
6. 6. Testing & Validation
7. 7. Screenshots
8. 8. Conclusion
9. 9. References
10. 10. Source Code
1. INTRODUCTION
The Online Examination System aims to replace traditional pen-and-paper exams with an
efficient digital solution. This system is designed to improve accessibility and reduce the
administrative burden of conducting exams.
SOURCE CODE

// Online Exam System - Java Servlet Code (Snippet)

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;

public class LoginServlet extends HttpServlet {


protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String username = request.getParameter("username");
String password = request.getParameter("password");

try {
Class.forName("com.mysql.cj.jdbc.Driver");
Connection con =
DriverManager.getConnection("jdbc:mysql://localhost:3306/exam_db", "root", "");
PreparedStatement ps = con.prepareStatement("SELECT * FROM users WHERE
username=? AND password=?");
ps.setString(1, username);
ps.setString(2, password);
ResultSet rs = ps.executeQuery();

if (rs.next()) {
response.sendRedirect("dashboard.jsp");
} else {
response.sendRedirect("login.jsp?error=Invalid credentials");
}
} catch (Exception e) {
e.printStackTrace();
}
}
}

You might also like