Final Project Report
Final Project Report
By
Faizan Ahmed 70076777
1
DEDICATION
I dedicate my dissertation to all the faculty members of the Department of Computer
Science & Information Technology at the University of Lahore, whose guidance has
made this achievement possible. I express my gratitude to them for their efforts in
nurturing my skills and shaping us into contributing members of society. Lastly, we
dedicate our work to our parents, who have consistently supported us through thick and
thin. Their unwavering prayers have brought us to this momentous day.
1
DECLARATION
I declare that this dissertation is my original work, except where otherwise
acknowledged in the text and references. This work has not been submitted in any form
for another degree or diploma at any university or other tertiary education institution,
nor will it be submitted by me in the future for obtaining any degree from this or any
other university or institution.
Faizan Ahmed
70076777
1
CERTIFICATE OF APPROVAL
It is certified that the project titled “Web-Based Exam Management System” was
carried out by Faizan Ahmed, Reg. No. 70076777, under the supervision of Sir
Mehmood ul Hassan, University of Lahore is fully adequate, in scope and quality, as
a final year project for the degree of BS of Software Engineering.
2
ACKNOWLEDGMENT
1
ABSTRACT
Key features of WBEMS include exam scheduling, question bank management, student
registration, automated grading, and result generation. Administrators can easily create
and manage exam schedules, allocate resources, and monitor exam progress in real-
time. Instructors have access to a centralized question bank, allowing them to create,
edit, and organize questions for exams with ease. Students can register for exams,
access study materials, and receive timely notifications about exam dates and results.
1
EXORDIUM
In the name of Allah, the Compassionate, the Merciful.
1
PREFACE
It is great opportunity for me to have the BACHELORE OF SOFTWARE
ENGINEERING (BSSE) in University of Lahore. In the accomplishment of this
degree, I am submitting a project report on “Web Based Exam Management
System”.
2
TABLE OF CONTENTS
CHAPTER NO. 1
GATHERING & ANALYZING INFO............................................................................9
1.1 INTRODUCTION……………………………………………………….10
1.3 SCOPE………………………………………………………………….10
CHAPTER NO. 2
DESIGNING THE PROJECT.......................................................................................37
2.1 INTRODUCTION…………………………………………………………38
3
2.2 PURPOSE…………………………………………………………38
CHAPTER NO.3
DEVELOPMENT............................................................................................................48
3.1 DEVELOPMENT PLAN (ARCHITECTURE DIAGRAM)
4
CHAPTER 1
Gathering & Analyzing Info
5
CHAPTER NO. 1
1.1 Introduction
Web based exam system will encourage its clients to lead the online exam in campuses
or at home utilizing web. Administrator will deal with the entire framework. Teacher
will add question and generate exam. Students will able to participate in exam and
teacher will check the exam and announce the result.
1.2 Scope
In the age of modern learning people prefer the distance learning. in this
scenario teacher can teach and student can learn. but how to confirm that student
learned all that teach by the teacher? There was a need of exam.
The introduction of Web based exam management system replaced the conventional
system of assessment. The purpose of the system is to completely automate the old
manual procedure of conducting exam to a computerized System. That will reduce an
organization’s administrative burden but also saves cost and time.
Following are some reason for the introduction of the web-based exam management
system:
1. Backbone of the E-Learning: Exam is the only way to access that what student
have learned, but it was problem in e learning to get the answer of the above
question. solution of this problem generates the idea of exam management
system.
2. Conduct exams effortless: Computer based tests as a way of conducting
associate assessment modify users to manage associate test simply. The
functionalities of associate test package like easy dashboard, support for
multiple question sorts and formats, elaborate coverage, automatic instant
results help in smooth conduction.
3. Reduce exam anxiety Amongst test takers: The flexibility associated with
computer-based tests reduces exam anxiety among test takers as they can take
the exam at any time of the day that coincides with their preferred sleep/ wake
cycle.
6
4. Prevents cheatings: Cheating amongst the test-takers in the examination hall is
one of the major drawbacks of pen paper-based assessment. Online examination
managed avoids the possibilities of secretly using unfair means to get the right
answers. The presence of various functionalities in exam system prevents
cheating irrespective of the test taker’s location.
5. Safe and secure data: Various tools will offer by exam system that will enable
the assessment conducting agencies to manage the crucial data related to
examination questions and test-takers safely.
6. Reduce administrative burden: Organizing and running exams online not only
reduces an organization’s administrative burden but also saves cost and time.
7. Online examination with its objective to make evaluation massive but simple,
cost-effective and faster has replaced the pen paper-based assessment.
1. Admin can login to the Exam system using his/her ID and password.
2. Admin can add new teachers.
3. Admin can search teachers.
7
4. Admin can permanently delete teacher’s data from the database.
5. Admin can update teacher’s data.
6. Admin can add new subjects.
7. Admin can search subjects.
8. Admin can permanently delete subjects from the database.
9. Admin can update subjects.
10. Admin can allocate subjects to teacher.
11. Admin can change his/her password.
12. Admin can view figure of existing subjects, teachers and students.
13. Admin can view announcement made by teachers.
14. Admin can view his/her profile.
15. Admin can logout from the exam system.
8
31. Student can sign up.
32. Student can login for the Exam Portal.
33. Student can enroll in different courses.
34. Student can take paper.
35. Student can view profile
36. Student can view announcement.
37. Student can reset password.
38. Student can logout.
Security:
1) User identification:
The system should be able to recognize is it student, teacher or
Admin?
2) Login ID:
Any user who makes use of the system need to hold a login ID and
password.
Modification:
Any modification like insert, delete, update, etc., for the database can be
synchronized quickly and also will perform only by the authorized actor for
that particular modification.
1) Teachers Rights:
Teacher can add new questions but he/she can’t change the subject
information. And only will responsible for the assigned subjects.
Similarly, they can view their profile but can’t modify it except password.
2) Administrator Rights:
9
The administrator can view as well as alter any information in the Exam
system.
3) Students Rights:
Student can only take exam and view non editable profile except password.
Performance:
1) Response Time:
The system provides paper in just one second once the student clicks
to get paper.
2) Capacity:
The system needs to support at least 1000 people at once.
3) User Interface:
The user interface acknowledges within five seconds.
Maintainability:
1) Backup:
The system offers the efficiency for data backup.
2) Errors:
The system will track every mistake as well as keep a log of it.
Reliability:
The system can update its content in real time. Therefore, changes such as
addition, deletion or modification can be done immediately. This ensures that
the content of the system is up-to-date, reliable and can be trusted. The system
will also be able to produce all related output to queries.
Availability:
The system can operate 24 hours per week and 365 days a year. As long as the
user not shut down the desktop. All the information will be keep in the
database. Even though, the browser is shut off information still exist in the
database.
Portability:
The system is being developed as web base using the PHP language and
MySQL. Before the system release to system needs to compile without any
error before the system run. Therefore, the exam portal will be able to run at any
kind of browser.
10
Flexibility:
Flexibility System is working easily on the Internet with the username and
password of the user. The system has given the rights to the admin, teachers and
the students to use the system with their username. The system can also work on
other kind of technology with the little modification. System should be quite
flexible to use and maintain.
Efficiency:
System should be efficient enough to meet all kinds of requirements as required
by the admin, teachers and students. The system should not hang or lose its
efficiency in any kind of worse conditions. It should provide the correct output
in all manners.
User friendliness:
System should be user friendly, so that any user can use and access the system
with easiness.
11
1.6.2 Usage Scenarios
A usage scenario, or scenario for short, describes a real-world example of how one or
more people or organizations interact with a system. They describe the steps, events,
and/or actions which occur during the interaction.
12
the system.
Alternative Paths Forget Password
Pre-Conditions Admin have already record in DB.
Post-Conditions Admin successfully logged in.
exceptions Problem with network connection. Admin not
available into DB
Author (BC170401126)
Scenarios no. 1:
Scenarios no. 2:
Use case title Add teacher
Use case Id 2
Actions Enter teacher information and click add button.
System should provide confirmation message.
Description Admin can add and manage teachers.
Alternative Paths N /A
Pre-Conditions Admin have already logged in.
Post-Conditions Update system
exceptions Unable to login an admin
Author (BC170401126)
Scenarios no. 3:
Use case title Search teacher
13
Use case Id 3
Actions Enter teacher id and click search button.
System should provide teacher information.
Description Admin can view and manage teachers.
Alternative Paths N /A
Pre-Conditions Admin have already logged in.
Teacher have already record in DB
Post-Conditions Teacher information displayed successfully.
exceptions Unable to login an admin. Teacher not available in DB
Author (BC170401126)
Scenarios no. 4:
Use case title Delete teacher
Use case Id 4
Actions Hit delete teacher button.
System should provide confirmation message.
Description Admin can update and manage teachers.
Scenarios no. 5:
14
Use case title Update teacher
Use case Id 5
Actions Enter teacher information and click update button.
System should provide confirmation message.
Description Admin can update and manage teachers.
Scenarios no. 6:
Use case title Add Subject
Use case Id 6
Actions Enter subject information and click add button.
System should provide confirmation message.
Description Admin can add and manage subjects.
Alternative Paths N /A
Pre-Conditions Admin have already logged in.
Post-Conditions Update system
exceptions Unable to login an admin
Author (BC170401126)
Scenarios no. 7:
15
Use case title Search subject
Use case Id 7
Actions Enter subject code and click search button.
System should provide subject information.
Description Admin can view and manage subject.
Alternative Paths N /A
Pre-Conditions Admin have already logged in.
Subject have already record in DB
Post-Conditions Subject information displayed successfully.
exceptions Unable to login an admin. Subject not available in DB
Author (BC170401126)
Scenarios no. 8:
Use case title Delete Subject
Use case Id 8
Actions Hit delete subject button.
System should provide confirmation message.
Description Admin can update and manage subject.
Scenarios no. 9:
16
Use case title Update Subject
Use case Id 9
Actions Enter Subject information and click update button.
System should provide confirmation message.
Description Admin can update and manage subject.
19
Post-Conditions Admin see announcement successfully.
20
Pre-Conditions Teacher have already record in DB.
Post-Conditions Teacher successfully logged in.
exceptions Problem with network connection. Teacher not
available into DB
Author (BC170401126)
22
Alternative Paths Add question
Pre-Conditions Teacher and question should be already record in DB.
Post-Conditions Teacher successfully search question.
exceptions Problem with network connection.
Author (BC170401126)
23
Use case Id 22
Actions Select subject and hit to view enrolled student button.
Description Teacher can view enrolled students for specific
subject.
Alternative Paths N/A
Pre-Conditions Teacher should be logged in.
Post-Conditions Teacher successfully view enrolled students.
exceptions Problem with network connection.
Author (BC170401126)
Scenarios no. 23
Use case title View Enrolled student
Use case Id 22
Actions Select subject and hit to view enrolled student button.
Description Teacher can view enrolled students for specific
subject.
Alternative Paths N/A
Pre-Conditions Teacher should be logged in.
Post-Conditions Teacher successfully view enrolled students.
exceptions Problem with network connection.
Author (BC170401126)
24
Description Teacher can make exam schedule.
25
Description Teacher can make announcement.
26
exceptions Problem with network connection.
Author (BC170401126)
27
Scenarios no. 31:
Use case title Logout
Use case Id 31
Actions Click on the logout button.
28
Use case Id 33
Actions Enter user name, password and press login button.
Description Student will enter name and password to make login
in the system.
29
Pre-Conditions student have already logged in.
Post-Conditions student can successfully see his/her profile.
exceptions Server error occurs to viewing the user’s profile.
Author (BC170401126)
30
Post-Conditions Student password update successfully.
exceptions old password incorrect, Server not available
Author (BC170401126)
Many methodologies exist a now days and a variety of model used various people to
their need and nature of their work.
31
The water fall methodology goes to the cycle of analysis, design, coding, testing, and
maintenance. The simplest version of this is called the "waterfall" methodology. The
systems services, constraints and goals are defined by consulting the system with users.
The requirement is classified into hardware and software systems. It gives overall
architecture of the system.The system is installed and gives to practical use. The
system checks errors are corrected them and improve it.
32
Waterfall model:
1
Spiral Methodology: -
To avoid the risk that might be faced in development of software the spiral
methodology is used. For example, the risk might be a resignation from the key person
There are two dimensions in a Spiral Model; A Radial dimension which represents the
cumulative cost to date, and an angular dimension which represents the progress
through the spiral.The spiral model is very sensitive to risks. Due to its spiral nature the
development and maintenance run in parallel. This method is used for development of
large-scale and in-house software.
1
Planning phase covers scope, requirements and functionality of the system. Second
phase Risk analysis is most important phase of spiral model which defines cost-
effective strategies in project development. Risk at any stage indicates that
requirements must be reviewed to find out solution for the problem by given data in the
previous phase before proceed to the next. Development phase covers the designing,
coding and testing and finally application is delivered to client for further evaluation.
In case of any change it is required to iterate the application from all four phases again.
That's why it is called spiral model. Our developers use the spiral iterative methodology
to build software applications in the shortest possible time and with zero risk. In this
process, an application will go through different stages, such as:
2
1
VU Process Model: -
It is the combination of waterfall methodology and spiral methodology. It is also called
hybrid approach of system development. It has five phases, and which are Gathering
and analyzing requirement, planning, analysis and design, development and final
report. In the requirement phase the system goals, services and constrains are
established after discussion with user. The planning phase is synchronized effort to find
all the potential roadblocks and draft a robust plan to tackle each. This phase usually
involves a lot of brainstorming within software development team as well as with
respective client. It maximizes the quality of system and minimizes any risks and
errors.
1
For making our software we adopted VU Process Model which is a combination of
both waterfall and spiral models. The idea behind this model is that to get the benefits
of both these models.
1
1.7.3 Work Plan (Gantt Chart)
581
CHAPTER 2
Designing the Project
582
2.1 INTRODUCTION
The analysis phase defines the requirements of the system, independent of how these
requirements will be accomplished. This phase defines the problem that the customer is
trying to solve. The deliverable result at the end of this phase is a requirement
document. Ideally, this document states in a clear and precise fashion what is to be
built. This analysis represents the “what” phase. The requirement document tries to
capture the requirements from the customer's perspective by defining goals and
interactions at a level removed from the implementation details.
2.2 PURPOSE
The main purpose of this is to formally document the design of software. Well
documented code is easier to reuse. It captures important design decision such as
responsibilities that drive the performance. It supports software integrating and unit
testing of the associated modules by describing their interface.
2.3 SCOPE
In this document, we have included ERD, Sequence and Class Diagram
Database and Interface Design, and Test Cases. Design document describe the system
requirements, system and subsystem architecture, processing logic and external
interface.
583
Architectural layered Diagram:
Admin Area
584
Teacher Area
585
Student Area
586
2.7 OBJECT MODEL/LOGICAL MODEL: CLASS DIAGRAM
587
2.8 DATABASE MODEL (DATABASE DIAGRAM)
588
2.9 GRAPHICAL USER INTERFACES
589
58
10
55 1
CHAPTER 3
Development
The deployment diagram is the UML that models the physical deployment of nodes
and artifacts. Following is the deployment diagram of our system.
REFERENCES
[1] Xampp server www.apachefriends.org
[2] Software Engineering CS504 Handouts Virtual University of Pakistan
[3] Database Management System CS403 Handouts VU
[4] Wekipedia.com
[5] Tutorials www.youtube.com
[6] Sublime Text Editor https://www.sublimetext.com/
[7] UML Diagrams draw.io
573
574
APPENDIX
List of Figures
585