1
Online Exam System
Documentation
Online Exam System
2
By
Obaidullah Safi
4543-FOC/BSCS/F22
Abdul Baseer
4562-FOC/BSCS/F22
SECTION (A)
&
Supervised by
Mr. Sayed Saqlain Hassan
3
Contents
Introduction ...........................................................................................................................................................3
Objectives: .........................................................................................................................................................4
Scope: ........................................................................................................................................................................4
Admins: ...............................................................................................................................................................4
Students: .............................................................................................................................................................4
System Features: .............................................................................................................................................4
System Requirements ........................................................................................................................................4
Hardware Requirements: ...........................................................................................................................4
Software Requirements: ..............................................................................................................................4
Use Case Diagram ................................................................................................................................................5
Description: .......................................................................................................................................................5
Actors: .................................................................................................................................................................5
Database Schema .................................................................................................................................................6
Tables: .................................................................................................................................................................6
Entity-Relationship Diagram (ERD).............................................................................................................8
User Interface Flow .............................................................................................................................................9
Admin:.................................................................................................................................................................9
Student: ...............................................................................................................................................................9
Implementation Details .................................................................................................................................. 10
Project Images .................................................................................................................................................... 10
Conclusion ........................................................................................................................................................... 18
Introduction
The Online Exam System provides a platform for conducting online quizzes efficiently.
This system includes two main users: Admin and Students. Admins can create and
manage quizzes, including MCQ-based and short-answer quizzes. Students can attempt
these quizzes within a time frame. The system ensures automatic submission of quizzes
4
when the time expires, automatic grading for MCQs, and manual grade uploads for short-
answer questions to an LMS.
Objectives:
• Simplify quiz management for teachers/admins.
• Automate the submission process.
• Provide immediate feedback for MCQs.
• Support manual grading for subjective questions.
Scope:
Admins:
• Create and manage quizzes (MCQs and short-answer questions).
• Set quiz parameters (time limit, availability, attempts).
• Enable automatic grading for MCQs.
• Upload grades manually for short-answer questions to the LMS.
• Access detailed reports and analytics.
Students:
• Attempt quizzes within the specified time frame.
• Receive immediate feedback for MCQs.
• View grades once manually graded results are uploaded.
System Features:
• Automated quiz submission upon time expiry.
• Seamless integration with LMS for grade upload.
• Ensures efficient and user-friendly quiz management.
System Requirements
Hardware Requirements:
• Processor: Intel Core i3 or higher
• RAM: 4GB minimum
• Storage: 20GB available space
Software Requirements:
5
• Programming Language: Java (JDK 8 or higher)
• Database: MySQL
• Web Server: Apache Tomcat
• Tools: IDE (e.g., IntelliJ IDEA, Eclipse)
Use Case Diagram
Description:
The Use Case Diagram shows interactions between users (Admin and Student) and the
system.
Actors:
• Admin: Creates quizzes, manages users, grades short-answer questions.
• Student: Attempts quizzes, views results.
6
Figure 1
Database Schema
Tables:
7
The following tables are part of the database schema:
teacher_table:
Column Type
teacherID INT
username VARCHAR
Password VARCHAR
Role VARCHAR
student_table:
Column Type
studentID INT
username VARCHAR
Password VARCHAR
Role VARCHAR
quizzes:
Column Type
QuizID INT
quizName VARCHAR
quizType VARCHAR
teacherID INT
mcq_questions:
Column Type
questionID INT
QuizID INT
questionText TEXT
option1 VARCHAR
option2 VARCHAR
option3 VARCHAR
option4 VARCHAR
correctAnswer VARCHAR
student_answers:
Column Type
answerID INT
studentID INT
8
questionID INT
QuizID INT
answer VARCHAR
quiz_attempts:
Column Type
studentID INT
quizID INT
mcq_responses:
Column Type
quizID INT
studentID INT
questionID INT
answer_chosen VARCHAR
Entity-Relationship Diagram (ERD)
Visual representation of relationships between entities.
9
Figure 2
User Interface Flow
Admin:
1. Login.
2. Access dashboard.
3. Create quizzes.
4. Upload grades for short-answer quizzes.
Student:
1. Login.
2. View quizzes.
3. Attempt quizzes.
4. View results.
10
Implementation Details
• Programming Language: Java
• Database Management System: MySQL
• Server: Apache Tomcat
• Frameworks/Libraries: (Optional, based on your implementation)
Project Images
• Admin Panel
Figure 3
11
Figure 4
12
Figure 5
13
Figure 6
• Student Panel
Figure 7
14
Figure 8
15
Figure 9
16
Figure 10
Figure 11
17
Figure 12
18
Figure 13
Conclusion
The Online Exam System simplifies the process of conducting and managing quizzes. By
automating submissions and grading, it reduces the workload on teachers while providing
a seamless experience for students. With future enhancements, it can become a
comprehensive solution for online assessments.