Online Examination System - Mini Project 1
Online Examination System - Mini Project 1
pg. 1
Online Examination System:
The Online Examination System is designed to facilitate the efficient administration and management
of examinations in a digital environment. This system serves various stakeholders, including students,
instructors, and administrators, ensuring a seamless experience for all users involved in the
examination process.
In today's educational landscape, online assessments have become essential for evaluating student
performance, offering flexibility in exam scheduling, and enhancing accessibility for learners. The
Online Examination System provides a comprehensive solution that encompasses user management,
course organization, exam scheduling, and results processing.
Key Features
1. Users Table
o Unique identification for each user.
o Role-based access control via role_id.
2. Roles Table
o Centralized management of user roles.
o Simplifies access permissions.
3. Courses Table
o Structured organization of courses.
o Easy addition and management of courses.
4. Subjects Table
o Clear hierarchy between courses and subjects.
o Supports organized educational content.
5. Exams Table
o Detailed exam management (name, subject, date, duration).
o Framework for scheduling assessments.
6. Questions Table
o Variety of question types linked to exams.
pg. 2
o Facilitates structured content creation.
7. Options Table
o Multiple-choice options with correct/incorrect markers.
o Flexible question design.
8. Student_Exams Table
o Tracks student exam attempts with timestamps.
o Links students to their exam performance.
9. Student_Answers Table
o Logs student responses for grading.
o Assesses performance on specific questions.
10. Results Table
o Stores exam results linked to attempts.
o Enables easy retrieval of performance data.
11. Exam_Timetables Table
o Manages exam scheduling.
o Informs students and instructors of exam times.
12. Notifications Table
o Sends alerts for exams and announcements.
o Enhances user communication.
13. Admin_Logs Table (optional)
o Tracks administrative actions.
o Provides a history for accountability.
14. Feedback Table (optional)
o Collects user feedback for system improvement.
o Identifies strengths and areas for enhancement.
pg. 3
pg. 4
ER Diagram
pg. 5
Users Table
user_id username password email role_id
Roles Table
role_id role_name
1 Admin
2 Instructor
3 Student
Courses Table
course_id course_name
1 Computer Science
2 Mathematics
Subjects Table
subject_id subject_name course_id
1 Data Structures 16
2 Database Management System 16
4 Digital Fundamental 16
6 Indian Constitution 16
Exams Table
exam_id exam_name subject_id exam_date duration
Questions Table
question_id exam_id question_text
pg. 6
2 1 Explain binary search.
3 2 What is integration?
4 2 Define a derivative.
Options Table
option_id question_id option_text is_correct
Student_Exams Table
student_exam_id user_id exam_id attempt_date
1 3 1 (current datetime)
2 3 2 (current datetime)
Student_Answers Table
answer_id student_exam_id question_id selected_option_id
1 1 1 1
2 1 2 3
3 2 3 5
4 2 4 8
5 1 3 2
6 1 4 1
7 1 5 4
8 1 6 3
9 2 1 1
10 2 2 2
11 2 5 6
pg. 7
12 2 6 7
13 3 1 5
14 3 2 3
15 3 3 1
16 3 4 4
17 3 5 2
18 3 6 6
19 4 1 3
20 4 2 5
21 4 3 7
22 4 4 8
23 5 5 1
24 5 1 4
25 5 2 2
26 5 3 5
27 5 4 3
28 5 5 6
29 5 6 8
30 5 7 5
Results Table
result_id student_exam_id score
1 1 85
2 2 90
3 3 80
4 4 76
5 5 95
6 6 56
7 7 49
8 8 86
9 9 88
10 10 99
pg. 8
Exam_Timetables Table
timetable_id exam_id schedule_time
1 1 2024-11-30 10:00:00
2 2 2024-12-2 10:00:00
3 3 2024-12-3 10:00:00
4 4 2024-12-4 10:00:00
5 5 2024-12-5 10:00:00
Notifications Table
notification_id user_id message created_at
1 3 Your Midterm Exam is scheduled for tomorrow. (current timestamp)
pg. 9