Project Report
Project Report
Submitted by
KARTHIK AGRAWAL 1VE23CS070
KISLAY KUMAR 1VE23CS080
CERTIFICATE
This is to certify that the mini project work entitled “ONLINE EXAM
SYSTEM”, submitted in partial fulfilment of the requirements for the 4th semester
........................................ ........................................
Signature of Guide Signature of HOD
Ms. VEDA N Dr. MUKESH
Asst. Prof, Dept. of CSE SINGH KUMAR
SVCE, Bengaluru Dept. of CSE
SVCE,
Bangalore
ACKNOWLEDGEMENT
The satisfaction and euphoria that accompany the successful completion of any task would be
incomplete without acknowledging those who made it possible — whose guidance and
encouragement were instrumental in our success.
We would like to express our sincere gratitude to the highly esteemed institution, Sri
Venkateshwara College of Engineering, for providing us with the knowledge and environment
necessary to grow and become software engineers.
We express our heartfelt thanks to Dr. B. M. Satish, Principal, SVCE, Bengaluru, for providing
the necessary facilities and constant support.
We are extremely thankful to Dr. Mukesh Singh Kumar, Head of the Department, CSE,
SVCE, for his encouragement and support throughout the project.
We are also deeply grateful to Ms. Veda N, Assistant Professor, Department of CSE, SVCE, for
her continuous guidance, encouragement, and valuable suggestions, which were pivotal in the
successful completion of this project.
We also extend our gratitude to all the Faculty Members of the Computer Science Department
and others who directly or indirectly supported us in this endeavor.
Finally, we are thankful to our Parents and Friends for their invaluable support, guidance, and
encouragement throughout this journey.
The advancement of technology in the field of education has led to the evolution of traditional
examination methods into more efficient and accessible online systems. This project, titled
"Online Examination System", aims to provide a secure, scalable, and user-friendly platform
for conducting examinations over the internet. The system is built using Java (Spring Boot),
MySQL, and JDBC, ensuring robust backend functionality, secure data management, and
responsive performance. This project allows administrators to manage exams and questions
effectively, while students can register, log in, and take exams from anywhere. The application
supports real-time evaluation of results, offering instant feedback and performance analysis.
Role-based access control ensures that users interact only with the features relevant to them—
students can only view and attempt exams, whereas administrators can manage all exam content
and view results. The core objectives of this system include reducing manual effort, eliminating
the need for physical exam infrastructure, and improving the speed and accuracy of result
processing. By integrating essential functionalities such as user authentication, question
management, and automatic result generation, the system streamlines the examination process
for educational institutions. This report outlines the complete development cycle of the project—
ranging from system requirements and design to implementation and future enhancements—
demonstrating how the Online Examination System serves as an effective solution for modern
digital learning environments.
TABLE OF CONTENTS
1. INTRODUCTION.......................................................................................................................1
CHAPTER 3...................................................................................................................................5
SYSTEM DESIGN..........................................................................................................................5
3.1 ER DIAGRAM.....................................................................................................................5
CHAPTER 4...................................................................................................................................7
4.1 ALGORITHM......................................................................................................................7
4.2 SNAPSHOTS........................................................................................................................8
CHAPTER 5................................................................................................................................10
5.1 CONCLUSION...................................................................................................................10
REFERENCES............................................................................................................................11
CHAPTER 1
1. INTRODUCTION
This project was developed keeping in mind the increasing demand for remote learning and
digital assessment platforms, especially in educational institutions and corporate training
environments. It ensures automated result calculation, time-bound exams, and secure login
authentication.
With technology-driven learning becoming the norm, the need for reliable and flexible
examination systems has grown. This system serves as a foundational step toward digitizing
academic evaluation.
1
CHAPTER 2
There is a significant dependency on physical infrastructure such as exam halls, printed question
papers, answer booklets, invigilators, and manual record-keeping. Additionally, this approach
can be error-prone, time-consuming, and insecure. Risks such as paper leakage, impersonation,
or loss of answer sheets are commonly associated with traditional examination systems.
Another major drawback of the existing system is the lack of instant feedback and results, which are
essential for modern learners. Students must often wait days or even weeks to get their results,
which slows down academic progress and decision-making.
The lack of automation and data analytics in traditional systems also makes it difficult to track
student performance trends or identify areas of improvement in academic delivery. In short, the
manual system is inefficient, resource-heavy, and not suitable for modern educational needs—
especially in remote or hybrid learning scenarios.
2
Students can:
This system brings in transparency, automation, and scalability. It provides features such as:
The proposed solution is particularly effective in academic institutions, coaching centres, and
corporate training programs. It ensures data security, reduces administrative workload
1. Hardware Requirements
Processor: A system with at least an Intel Core i3 processor (or equivalent AMD
processor) is required to handle application development and local server hosting
RAM (Memory): The minimum requirement is 4 GB of RAM. However, 8 GB or more
is recommended for better multitasking during development, such as running a database
server and IDE simultaneously.
Storage: A minimum of 500 GB HDD is sufficient for storing project files and MySQL
data. An SSD with at least 256 GB is preferred for faster read/write operations and
reduced application load times.
Display: A screen with a minimum resolution of 720p is acceptable, but for optimal
development experience, a 1080p Full HD display is recommended.
3
Input Devices: A standard keyboard and mouse are sufficient for development and
testing tasks.
Internet Connection: A stable broadband connection is essential for downloading
dependencies, frameworks, database tools, and testing web functionalities. A speed of at
least 1 Mbps is necessary, with 5 Mbps or more being ideal.
2. Software Requirements
Operating System: The system can be developed and run on Windows 10/11, macOS, or
any modern Linux distribution such as Ubuntu or Fedora.
Java Development Kit (JDK): JDK version 17 or higher is used to compile and run the
Java-based backend of the project. It enables the use of Spring Boot and related Java
features.
Integrated Development Environment (IDE): Visual Studio Code is the chosen IDE
due to its lightweight nature, plugin support, and ease of use. It also supports Maven
integration and Spring Boot development.
Build Tool: Apache Maven is used to manage project dependencies and build
automation, ensuring consistency across different environments.
Database: MySQL Server 8.0 or higher is used as the relational database to store user
information, questions, exams, and results. MySQL Workbench is used for GUI-based
database interaction and schema design.
Web Server: Although Spring Boot has an embedded Tomcat server, Apache Tomcat
can be optionally used to test deployment in a real-world servlet container environment.
Web Browser: Google Chrome, Mozilla Firefox, or Microsoft Edge are used for testing
and running the web application. Chrome Developer Tools help debug HTML, CSS, and
JavaScript.
4
CHAPTER 3
SYSTEM DESIGN
3.1 ER DIAGRAM
The Entity-Relationship (ER) Diagram represents the logical structure of the database, illustrating
the key entities involved in the Online Examination System and their interrelationships.
It helps in understanding how users, exams, questions, and results are connected, ensuring efficient
data flow and consistency within the system.
5
3.2 DATABASE SCHEMA
Tables:
1. users (user_id, username, password, role)
2. exams (exam_id, exam_name, subject)
3. questions (question_id, exam_id, question, option_a, option_b, option_c, option_d,
correct_answer)
4. results (id, user_id, exam_id, score)
6
CHAPTER 4
◆ 1. User Registration
This process begins with the registration of a new user. The algorithm collects the user's details
such as username, password, and role (admin/student). It performs validation to ensure that all
required fields are filled, and that the passwords match. The system checks if the username already
exists in the database to prevent duplicates.
◆ 2. Login Authentication
Once registered, the user can log in. The login algorithm first verifies the existence of the entered
username in the database. If found, it compares the entered password (after hashing) with the
stored one. If the credentials match, the user is redirected to their respective dashboard based on
the role. If not, an error message is displayed indicating invalid credentials.
After login, students can view a list of available exams. Upon selecting an exam, the system retrieves
the relevant questions from the questions table. Each question is displayed with multiple-choice
options. The user answers each question and the responses are recorded temporarily until final
submission.
On submission, the system automatically evaluates the student's responses by comparing them
with the correct answers stored in the database. For every correct answer, the system awards
marks and calculates the total score. The result, including percentage and performance summary, is
stored in the results table. The student is then shown a detailed result page for the exam.
7
The final stage involves result access. Students can view their individual performance summaries
for all exams they have attempted. Administrators, on the other hand, can access all students’
results, search and sort them by exam, date, or student. This ensures transparency and enables
further analysis if needed.
4.2 SNAPSHOTS
Login Page
8
Exam List Page
9
CHAPTER 5
5.1 CONCLUSION
In conclusion, the Online Examination System provides a reliable and efficient platform for
managing and conducting exams online. The implementation of Spring Boot with MySQL and
JDBC ensures a strong backend foundation, while the frontend enhances user experience through
clear, intuitive interfaces. From registration to result viewing, the system covers every critical
component of a digital assessment lifecycle.
The project successfully demonstrates how modern web technologies can be leveraged to
simplify and automate complex academic processes. It also opens up possibilities for further
enhancements such as question randomization, automatic proctoring, performance analytics, and
support for multiple question types.
Overall, this system not only addresses the core challenges of traditional examination methods
but also lays a strong groundwork for scalable and customizable digital assessment tools
10
REFERENCES
7. W3Schools – https://www.w3schools.com/
8. GeeksforGeeks – https://www.geeksforgeeks.org/
11