Literature Online Quiz System For Project
Literature Online Quiz System For Project
2018
ONLINE QUIZ SYSTEM
2018
DECLARATION
I hereby declare that this report is based on my original work except for quotations and
citations, which have been duly acknowledged. I also declare that it has not been
previously or concurrently submitted for any other degree at Universiti Sultan Zainal
________________________________
Date : ..................................................
i
CONFIRMATION
This project report entitle Online Quiz System was prepared and summited by
Roshidayu Binti Ibrahim (Matric Number: BTAL15039981) and has been found
________________________________
Date : …………………………….
ii
DEDICATION
First of all, I would like to express my gratitude to Allah The Almighty for His grace
and mercy, which give me the opportunity to complete my final year project. I sincerely
thanks to my supervisor, Dr. Siti Sabariah Binti Abas for the continuous support, advice
and tutoring for this project, for believing in me and the motivations he gave throughout
this project.
I am also would like to thanks to all of presentation panels who give valuable feedback
and useful advices during the presentation which really helpful in completing my
project.
My thanks and appreciation goes to my beloved friends who always help me during
the hardship in this project while completing theirs. Because of them, I have got a lot
of ideas and courage to complete my system. Throughout my life there are persons who
had always been there during those difficult and trying times. I would like to dedicate
this thesis and everything I do to my parents who always surrounded me with strong
and supportive momentum even before the project started to the end of the project
submission. Without them, I would not be able to reach at this level and finished my
project presentation.
iii
ABSTRACT
Online Quiz System is a web-based quiz system for accessing students. It is a system
by which students can sit in a quiz which need no pencil and paper. Nowadays, students
take quiz manually .Lecturers need spend more time on grading. Other than that, the
quiz paper maybe will be missing. Students need to wait for lecturers finish grading to
get their result. Therefore, this system will help lecturers save their time because of
automated marking. Lecturers can set up a quiz which is it will auto-grade itself.
Students can answer the quiz from any location and get fast result. This online quiz
iv
ABSTRAK
Sistem kuiz dalam talian adalah sebuah sistem kuiz berasaskan web untuk mengakses
pelajar. Ia adalah sebuah sistem di mana pelajar boleh menduduki kuiz yang tidak
memerlukan pensel dan kertas. Pada masa kini, pelajar mengambil kuiz secara
manual.Pensyarah memerlukan lebih banyak masa untuk menggred. Selain itu, kertas
kuiz mungkin akan hilang. Pelajar perlu menunggu pensyarah selesai menggred untuk
mendapatkan keputusan mereka. Oleh itu, sistem ini akan membantu pensyarah
menjimatkan masa mereka kerana tandaan automatik. Pensyarah boleh membina kuiz
yang mana ia akan auto-gred sendiri.Pelajar boleh menjawab kuiz dari mana-mana
lokasi dan mendapatkan keputusan dengan cepat. Sistem kuiz dalam talian ini
cara yang berguna. Algoritma berasaskan peraturan yang digunakan dalam sistem ini
v
CONTENTS
PAGE
DECLARATION i
CONFIRMATION ii
DEDICATION iii
ABSTRACT iv
ABSTRAK v
CONTENTS vi
LIST OF TABLES x
LIST OF FIGURES xii
LIST OF ABBREVIATIONS xiii
CHAPTER I INTRODUCTION
1.1 Introduction 1
1.3 Objectives 3
1.4 Scopes 4
vi
CHAPTER II LITERATURE REVIEW
2.1 Introduction 8
3.1 Introduction 13
vii
3.5 System Design 23
3.5.4 Algorithm 39
viii
CHAPTER IV IMPLEMENTATION AND RESULT
4.1 Introduction 50
CHAPTER V CONCLUSION
5.1 Introduction 60
5.5 Conclusion 62
REFERENCES 63
65
APPENDIX
ix
LIST OF TABLES
x
4.1 Table A Test Case 1 (Login Page Validation Success) 56
4.2 Table B Test Case 2 (Login Page Validation Success) 57
4.3 Table C Test Case 3 (Change Password Success) 57
4.4 Table D Test Case 4 (Change Password Failed) 58
4.5 Table E Test Case 5 (Change Password Failed) 59
xi
LIST OF FIGURES
xii
LIST OF ABBREVIATIONS / TERMS / SYMBOLS
CD Context Diagram
DFD Data Flow Diagram
ERD Entity Relationship Diagram
FYP Final Year Project
OQS Online Quiz System
SDLC Software Development Life Cycle
PHP Hypertext Pre-Processor
HTML Hyper Text Markup Language
UniSZA Universiti Sultan Zainal Abidin
xiii
LIST OF APPENDICES
XIV
CHAPTER 1
INTRODUCTION
1.1 Introduction
Nowadays, a lot of universities in our country and each of the university consist
may cause a lot of problems especially in management of the quiz manually. Currently,
almost all universities in our country using the manual procedure to setup quiz for
students. The manual procedure means in every quiz, students must attend university to
sit in the quiz at a specific time. After that, lecturers will collect quiz paper. Sometimes,
there are students does not attend university for a reason and lecturers assumed the
students absent for that quiz. This scenario is unfair for student that missed the quiz. So
the suitable solution for this problem is by design a system that all student can sit in a
1
Online Quiz System (OQS), is a web–based quiz system; a system that can be
The purpose of Online Quiz System is to save lecturer’s time since the answers
2
1.2 Problem Statement
The first problem is lecturers need spend more time on grading. This is because
The second problem is difficult for students to answer quiz from any location.
Quiz give an impact in coursework. Sometime some students have their own reason
cannot take quiz on time.
In reality, lecturers and students were really important and they play a big role
in setup the quiz. Besides, lecturers can test their students’ knowledge by grading. Here,
the reasons to develop a web-based quiz system.
1.3 Objectives
The objectives of this project have been defined as we can know whether the
goals of the system have been achieved. There are the following objectives that
ii) To implement a system that enables the student to answer a quiz from any
location.
iii) To test the system whether it can help the lecturers in conducting a quiz.
3
1.4 Scopes
The scope of the system basically means everything that will be covered in the
project and who involves in it. It defines clearly the extent of content that will be
covered by the whole system. The scope of the study has to be defined at a preliminary
1.4.1 Admin
iii) Students can view personal information and also update their
information.
4
1.4.3 Students in UniSZA.
iii) Students can view personal information and also update their information.
The system will focus on quiz such as multiple choice question, true false and
short answer only. The system can be used by the UniSZA’s lecturer and student only.
This system is developing on web based so that it only can be open using a web browser
the administrator. Additionally, this system also less time consuming and is more
automated. Result will be very precise and accurate and will be declared in very short
span of time because calculation and evaluations are done by the simulator itself.
5
1.7 Project Planning
and finished project on time has given. This Online Quiz System takes four
months to develop after passing through several major phases in the development
of as system.
The first chapter of this report is the introduction to the projects which includes
outcome and planning for this project. The overall logic of the system is stated here.
The second chapter is literature review. This chapter provide better understanding based
on the explanation of related research done in the related field. Third chapter describe
the methodology used in this system. It discuss project methodology and requirement
of software and hardware that guide the system development, it deals with project
design and modelling which the core part in the development process. The data flow
diagram and the context diagram for this system is shown. Entity relationship diagram
is also included to provide better understanding on database design. Fourth chapter will
explain the function and flow of the system with interfaces provided, and a few tests are
done. In the last chapter which is conclusion, the result has been discussed, concluded
and summarised.
6
1.9 Chapter Summary
This chapter basically deliver the early stages about this project development.
7
CHAPTER 2
LITERATURE REVIEW
2.1 Introduction
The purpose of this chapter is to present selected literature review, which is very
important for the research. This chapter also describes and explains of the literature
review carried out on the system that will be used as references in developing this
system. Previous research or existing system will also be discussed in this section.
Literature review aim to review the critical points of the current knowledge on a
particular topic. Therefore, the purpose of the literature review is to find, read and
analyse the literature or any works or studies related to this system. It is important to
well understand about all information to be considered and related before developing
this system. For this project, some research has been done to understand about Quiz and
8
2.2 What is Rule-Based System?
(The parts of the system that controls the process of driving conclusions).
9
2.3 Comparison existing systems
10
Hongmei Design and Hongmei Nie Math, Physics and Random,
Nie Development Information Engineering College heuristic
(2014) of the Online Online examination is the crucial and
[4] Examination parts among online education. It is genetic
System Based efficient and fast enough and algorithm
on B/S reduces the large amount of
Structure material resources. Examination
system is developed based on web.
This paper describes the principle
of the designed system which
presents the main functions of the
system, analyses the algorithm of
auto-generating test paper, and
discusses the security of the
system.
11
2.4 Chapter Summary
This chapter discusses literature review that had been reviewed during feasibility
studies. The literature review helps developer to discover the problem of previous
development. Furthermore, it also helps to gain understanding about the system that
12
CHAPTER 3
METHODOLGY
3.1 Introduction
scientific way to overcome problems, structure, plan, and control the process of
developing an information system. This chapter will explain about rule-based system.
The system will use Iterative Model development as a framework methodology. After
system has been completely developed, it should be tested to make sure it achieves the
13
3.2 Requirement Analysis
needs to be chosen wisely for making a better planning on the flow of the system
development. There are various types of model in Software Development Life Cycle
Model, Spiral Model, Iterative Model and Agile Model. One of the type is an Iterative
Model.
life cycle (SDLC) that focuses on an initial, simplified implementation, which then
progressively gains more complexity and a broader feature set until the final system is
development will also often be used liberally and interchangeably, which describes the
incremental alterations made during the design and implementation of each new
iteration, “[7].”
14
3.2.2 Development Design
Figure above shows the methodology that will be used in this research. The
iterative model is best thought of as a cyclical process. After an initial planning phase,
a small handful of stages are repeated over and over, with each completion of the cycle
recognized and implemented throughout each iteration, allowing the next iteration to be
at least marginally better than the last. Consider an iterative life cycle model which
consists of repeating the following four phases in sequence. The six stages involved in
15
1. Initial Planning Phase
2. Planning Phase
3. Requirement Phase
6. Evaluation Phase
7. Deployment Phase
In this phase, all the activities are plan according to a given period to complete
the system. This phase begins with the brainstorming session with the supervisor to
come up with the idea and the title for the project. From the brainstorming session with
the supervisor, the title for this project is decided which is Online Quiz System (OQS)
and will implement the rule-based algorithm. This system will develop as a web based
system by using PHP and MySQL. Next, the journal about quiz have been selected to
system, it makes this system is much needed to lecturer where it can help the lecturer to
16
3.3.2 Planning Phase
After the initial planning, the planning phase has taken place. In planning, the
problem statements have been defined through several study and observation. The main
discussion of a problem can be defined based on lecturer need spend more time on
grading. To design the system for lecturer to manage quiz easily. Next, the scope also
was defined for lecturer to setup quiz for student. Student can answer quiz in the system.
The time planning to develop a system is only in three months where the
implementation will do in one months while the report and documentation will do in
one month.
During this phase, existing systems are analysed and all the requirements that are
needed to develop the new system are identified. In this phase, the information
regarding Online Quiz System (OQS) either in the form of journal, articles or research
papers are gathered and studied. The finding is summarized and analysed to find the
17
3.3.4 Analysis and Design Phase
In this phase, Context Diagram (CD), Data Flow Diagram (DFD) and Entity
Relationship Diagram (ERD) are made based on the system being developed. The goal
is to design a system based on the user requirement. Firstly, we have to identify entities,
relationships and attributes in Online Quiz System. Then, we can model the data. The
purpose of data modelling is to help us in understanding the data and to manage data as
resource. We use MySQL as a database to store data and bootstrap to design interface
of the system. Then, system is created and the development of the prototype based on
the functionalities that will be built such as add quiz, update quiz and delete quiz. The
data or requirement obtained during the requirement phase is transformed into a design.
The requirement obtained has been figured out at this phase which has been identified
ii) The information about quiz and algorithm not in the one source.
So, based on the requirement gathered. A data and process modelling has been
designed. Data for quiz and result based on system. Then the process modelling is
divided into three modules which is admin process, lecturer process and student process.
18
Admin
Lecturers in UniSZA
iii) Students can view personal information and also update their
information.
Students in UniSZA.
iii) Students can view personal information and also update their information.
19
3.3.5 Implementation and Testing Phase
This phase is important because all the coding is coded. Online Quiz System was
built by using PHP, JavaScript, and MySQL. Firstly, admin module was developed
because admin module is very important where only admin can manage the data of the
system. Then finally, developed lecturer module where lecturer can conduct quiz.
While, student module where a student can answer the quiz. After completing the
admin, lecturer and student module, the module was tested to ensure the system is
working fully and meets the user requirement. For admin module, login process was
In the evaluation phase, Online Quiz System will be evaluated to test whether
the objective system is achieved. Firstly, will evaluate the system for admin to manage
lecturer and student. Second, will evaluate the system for lecturer to setup quiz for
student. Next, to evaluate develop Online Quiz System using Rule-Based algorithm
which is short answer based on keyword. Then evaluate whether the system is
20
3.3.7 Deployment Phase
Once the evaluation is done, the Online Quiz System is deployed in the
environment so that the targeted lecturer and student can use the system. The system
will be released to end user to implement whether the application correct functioning or
not.
21
3.4 System Requirement
In the making of this project, software and hardware tools are very important and
essential. The system cannot be developed successfully without these software and
hardware requirements. In order to complete the project, the facilities from hardware
and software must be used. The consumption of these facilities depend on what already
provided or what they have been used before. These are details of the requirement for
Table 3.1: Show the software used for Online Quiz System.
Software Description
22
3.4.2 Hardware Requirement
Table 3.2: Show the hardware used for Online Quiz System.
Hardware Description
Intel Core i5
DDR 4GB
The framework and design for Online Quiz System such as framework, context
diagram (CD), data flow diagram (DFD) level 0, level 1 and entity relationship diagram
(ERD) are explained in detailed. Data modelling is required to facilitate the interaction
between system designer, programmer and end-user. Making an early modelling can
help to identify the needs, problem and possible solutions during the project.
All design in data modelling is focused because this data model will determine on how
the flow of the system. But the more important is CD because it will show which entities
23
3.5.1 Framework Design
guide for the building of something that expands the structure into something useful.
iii) Pink boxes describe the main system involved in this system.
iv) The database icon depicts where we store all the data associated with this
system.
24
3.5.2 Process Model
Process models are processes of the same nature that are classified together into
must/should/could be done in contrast to the process itself which is really what happens.
A process model is roughly an anticipation of what the process will look like. What the
The Context Diagram shows the system under consideration as a single high-
level process and then shows the relationship that the system has with other external
25
The context diagram for Online Quiz System is shown in the Figure 3.3. The
Online Quiz System is at the centre of the diagram. There are three entities (Admin,
Student and Lecturer) placed around the centre process. Thirteen data flows are
involved in the interaction between the central process and the entities.
Description
The student entity have one outgoing data flows which is student class quiz detail.
The incoming data flows is answer information. The lecturer has three outgoing data
flows which are subject overview detail, quiz question detail and quiz detail. The
incoming data flow is report. The Admin has six outgoing data flows which are student
detail, staff detail, subject detail, class detail, question type detail and faculty detail. The
26
3.5.2.2 Data Flow Diagram (DFD Level 0)
27
28
Figure 3.4: Data Flow Diagram Level 0
29
Description
In Online Quiz System there are three entities used in the DFD Level 0 which
are ADMIN, LECTURER and STUDENT. While there are sixteen processes involve
CLASS QUIZ and GENERATE REPORT. In the meanwhile this system has fifteen
data stores which are ADMIN, STUDENT, STAFF, SUBJECT, CLASS, FACULTY,
LOGIN process which outputs USERNAME and PASSWORD into ADMIN, STAFF
30
5. ADMIN enters CLASS DETAIL to MANAGE CLASS process which outputs
which outputs QUESTION TYPE INFORMATION into QUESTION TYPE data store.
8. LECTURER enters QUIZ DETAIL to MANAGE QUIZ process which output QUIZ
store.
11. LECTURER enters CLASS QUIZ DETAIL to ASSIGN CLASS QUIZ process
process which output STAFF CLASS INFORMATION to STAFF CLASS data store.
31
15. STUDENT enters STUDENT CLASS QUIZ DETAIL to STUDENT CLASS QUIZ
16. ANSWER RECORD from ANSWER data store add to STUDENT CLASS QUIZ
process.
17. ADMIN enters ALL REPORT RECORD to GENERATE REPORT process which
32
3.5.2.3 Data Flow Diagram (DFD Level 1)
33
3.5.2.5 Data Flow Diagram (DFD Level 1)
34
3.5.2.7 Data Flow Diagram (DFD Level 1)
35
3.5.2.9 Data Flow Diagram (DFD Level 1)
Figure 3.11 : Data Flow Diagram Level 1 Process Manage Quiz Question
Figure 3.12 : Data Flow Diagram Level 1 Process Manage Class Subject
Overview
36
3.5.3 Data Model
Data modelling in software engineering is the process of creating a data model for
an information system by applying certain formal techniques. Data models have been
built during the analysis and design phases of a project to ensure that the requirements
for a new application are fully understood. A data model can be thought of as a
good database design. It is used as a high-level logical data model, which is useful in
developing conceptual designs for database. There are three basic elements in ERD:
i) Entities are the "things" for which we want to store information. An entity is a
37
Figure 3.13 : Shows the Entity Relationship Diagram
38
3.5.4 Algorithm
algorithm, a set of rules must be unambiguous and have a clear stopping point. Short
development.
39
3.5.5 Data Dictionary
1. TABLE ADMIN
2. TABLE ANSWER
3. TABLE CLASS
4. TABLE CLASS_QUIZ
5. TABLE CLASS_SUBJECT_OVERVIEW
6. TABLE FACULTY
7. TABLE QUESTION_TYPE
8. TABLE QUIZ
9. TABLE QUIZ_QUESTION
40
3.5.5.1 Overall Table
Table 3.3 shows the entities that involve in the project which consist of admin,
subject.
Table 3.4 shows the database of the Admin’s tables. It has three attributes which
are admin_id, username , password . The admin_id is the primary key for this table.
41
3.5.5.3 Answer Table
Table 3.5 shows the database of the Answer’s tables. It has four attributes which
Table 3.6 shows the database of the Class’s tables. It has two attributes which are
class_id and class_name. The class_id is the primary key for this table.
42
3.5.5.5 Class_Quiz Table
Table 3.7 shows the database of the Class_Quiz’s tables. It has four attributes
43
3.5.5.7 Faculty Table
Table 3.9 shows the database of the Faculty’s tables. It has two attributes which
are faculty_id and faculty_name. The faculty_id is the primary key for this table.
Table 3.10 shows the database of the Question_Type’s tables. It has two attributes
which are question_type_id and question_type. The question_type_id is the primary key
44
3.5.5.9 Quiz Table
Table 3.11 shows the database of the Quiz’s tables. It has five attributes which
are quiz_id, quiz_title, quiz_description , date_added and staff_id. The quiz_id is the
Table 3.12 shows the database of the Quiz_Question’s tables. It has seven
points, date_added and answer. The quiz_question_id is the primary key for this table.
45
3.5.5.11 Staff Table
Table 3.13 shows the database of the Staff’s tables. It has six attributes which are
staff_id, username, password , staff_name, faculty_id and location. The staff_id is the
Table 3.14 shows the database of the Staff_Class’s tables. It has six attributes
46
3.5.5.13 Staff_Class_Student Table
Table 3.15 shows the database of the Staff_Class_Student’s tables. It has four
Table 3.16 shows the database of the Student’s tables. It has six attributes which
are matric_no, stu_name, class_id , username, password and location. The matric_no
47
3.5.5.15 Student_Class_Quiz Table
Table 3.17 shows the database of the Student_Class_Quiz’s tables. It has five
student_quiz_time and grade. The student_class_quiz_id is the primary key for this
table.
Table 3.18 shows the database of the Subject ’s tables. It has five attributes which
48
3.6 Chapter Summary
This chapter fully described about the methodology used to develop the system,
hardware and software requirement for the system. The SDLC in Online Quiz System
is an iterative model. The SDLC is choses based on the complexity of the system
throughout the developing process. In the System Design part, Context Diagram, Data
Flow Diagram, Entity Relationship Diagram and Data Dictionary are briefly explain for
49
CHAPTER 4
4.1 Introduction
Implementing and testing are the important parts in order to produce the good
quality of system. After the implement process, the evaluation and testing should
be done to ensure the defects on the system can be solved. Technique adopted for
the evaluation and testing of Online Quiz System is test case testing which test the
50
4.2 Interface Design/Menu/Forms
The graphic user interface (GUI) is a medium which is available for each user.
The user can be interacted with the system directly. In interface production, XAMPP
(Apache and MySQL) are used to ensure the implementation run smoothly. The
following is interface in the Online Quiz System. The further explanation is about
This is the login page for lecturers and students in the system. The users should
to login in the system before used it. JavaScript validation was used to ensure that the
51
Figure 4.2 : Login Module For Admin
This is the login page for admin in the system. The users should to login in the
system before used it. JavaScript validation was used to ensure that the login module
52
Figure 4.3 : Add Question
The Figure 4.3 shows the login page for adding the new question for students
quiz. The lecturer who are responsible will be add the quiz according question type.
53
Figure 4.4: Question List
The Figure 4.4 shows question list after lecturer add question and click save
button. Question list will be displayed and lecturers can add new question, update or
54
Figure 4.5: Add New Lecturer Form
The Figure 4.5 shows the form for adding the new lecturer. This function only
55
4.3 Testing Approach
A test strategy is an outline that describes the testing approach of the software
development cycle. For this system, testing is carried out by using test case. Using
white box testing, test case has been made to find and the defect on this system. A test
For this system, several modules that are going to be tested such as login page
2 Enter username :
Enter password :
field.
56
Table 4.2 : B Test Case 2 (Login Page Validation Success)
Step Procedure Expected Results
Results
1 Go to Login page is
http://localhost/fyp_quiz(ayu)/change_password_student.php
loaded
Action = change_password_student
Your password
is successfully
changed
57
Table 4.4 : D Test Case 4 (Change Password Failed)
Step Procedure Expected Results
1 Go to Login page is
http://localhost/fyp_quiz(ayu)/change_password_student.php
loaded
Action = change_password_student
2 Current Password :
Change Password
Failed. Password
password.
58
Table 4.5 : E Test Case 5 (Change Password Failed)
Step Procedure Expected Results
1 Go to Login page is
http://localhost/fyp_quiz(ayu)/change_password_student.php
loaded
Action = change_password_student
Change Password
Failed. Password
password.
In this chapter, the interfaces of the system that help the user to interact with the
system. Other than PHP language, JavaScript language for web-based system is used
to develop this system. Besides that, the testing approach is the methods that are used
for test the functional and non-functional of the system for each main module on the
59
CHAPTER 5
CONCLUSION
5.1 Introduction
This chapter discuss on the project contributions, constrains of project and its
development, future works that can be taken into considerations and eventually
conclusion.
The contribution of this system is to support lecturers in UniSZA make online quiz
for students in UniSZA. Online Quiz System is a web–based quiz system which can be
used by lecturers to evaluate students effectively, efficiently and perfectly. Besides that,
these system is also can reduce time for lecturers on grading students By using web-
based, student will see the result of quiz after answer the quiz. Moreover, the students
able to answer quiz from any location. This method is more effective to prevent problem
60
5.3 Project Constraint
Each system or project that must have the some constraint that maybe on the
construction phase or design phases it will effect to the development process. The
constraints are accruing maybe from the planning phase it doesn’t plan with a good
planning. On this Online Quiz System is also have a constraint, the constraint are at the
development phase, the constraint come from the process of implementing method rule-
based for short answer on admin module and add student in the class for lecturer
module. Other than that, class and subject cannot be add on lecturer module. Sometime,
student can take the quiz but sometime student cannot take the quiz. Communication
between coding that is connect with database server is very important, if some
improvement can be done, the system’s functionality will be more efficient and more
effective.
Every developer have aims to improve their system or project for the next project.
For this system, the improvements are needed on question type such as essay and
random short answer. A lot of improvements need to be done on the interface part and
admin, lecturer and student module. The process of performance system on the coding
with database server will be more efficient if this improvements are achieved. Besides
that, the improvements on the interface part and functionality system can be prevent the
61
5.5 Conclusion
This project more focus on the problems who faced by the lecturers due to the
manual system which are available now is not efficient. For instance, the losing of quiz
paper, no pencil and no pen to do quiz on time. The lecturer cannot setup quiz for
specific time and have to do quiz in class. Lecturer also need spend more time on
grading. While, student also cannot take quiz from any location. This problems can be
solved by Online Quiz System. In addition, this kind of system can be replaced the
The process in build up this system takes a long time. So that, the insufficient time
problems should be faced and solved. In order to produce a good system, the time
management is important to ensure the good quality of the system. The improvement
should be done and insufficient time should be solved in order to make sure this system
62
REFERENCES
[2] Umed H. Suthar, Prof. Abdul Rais , Ashish Upadhyay and Prabhakar Upadhya.
Online Examination Management System Using Genetic Algorithm.
International Journal of Computer Science Trends and Technology (IJCST)
– Volume 3 Issue 5, Sep-Oct 2015 .
[3] Sk. Imran Hossain Shoyeb. Android based Online Quiz Application.
Journal from Department of Computer Science and Engineering, East West
University, Dhaka-1212, Bangladesh, May 2015.
[4] Hongmei Nie. Design and Development of the Online Examination System Based
on B/S Structure. 2nd International Conference on Teaching and Computational
Science (ICTCS 2014).
63
[7] Andrew Powell-Morse, 2016. Iterative Model: What Is It And When Should You
Use It? . https://airbrake.io/blog/sdlc/iterative-model. Accessed on 4 March 2018.
64
APPENDIX A
( Gantt chart)
65
Task / Week 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Project Title
Discussion and
Briefing
Project Title
Registration
Proposal
Writing
(introduction)
Project Writing
(literature
review 1)
Project Writing
(literature
review 2)
Proposal
Progress
Presentation
and Evaluation
Discussion and
Correction of
the Proposal
Proposed
Solution -
Methodology
Proof of
Concept
Drafting Report
Proposal-1
Drafting Report
Proposal-2
Submit Draft
Report –
supervisor -1
Submit Draft
Report –
supervisor -2
Seminar
Presentation
Report
Correction
Final Report
Submission
66
Task / Week 18 19 20 21 22 23 24 25 26
Project Meeting
With Supervisor
Project
Development
Project Progress
Presentation and
Evaluation
Project Testing &
Project Meeting
With Supervisor
Project Testing
(continue) & Project
Meeting With
Supervisor
Submit Draft Report
to Supervisor &
Project Meeting
With Supervisor
Submit Draft Report
to Supervisor &
Project Meeting
With Supervisor
Seminar
Presentation
Submit Full Project
Report to Supervisor
Submit Hardcover to
FYP Coordinator
67
APPENDIX B
( Main Coding)
68
Main Coding For Online Quiz System
1. Basic Code connection from database server for lecturer and student
(dbcon.php)
<?php
error_reporting(0);
$host = "localhost";
$username = "root";
$password = "";
$db_name = "ayu_fyp";
$username = $connect-
>real_escape_string(stripslashes($_POST['username']));
$password = $connect-
>real_escape_string(stripslashes($_POST['password']));
?>
<?php
mysql_select_db('ayu_fyp',mysql_connect('localhost','root',''))or
die(mysql_error());
?>
69
3. Basic Code function connection for database server (dbConnector.php)
<?php
class DbConnector {
var $theQuery;
var $link;
function DbConnector(){
$this->theQuery = $query;
return mysql_query($query, $this->link);
return mysql_fetch_array($result);
mysql_close($this->link);
?>
70
4. Basic Code for time for student answer the quiz (timer.ajax.php)
<?php
include('dbcon.php');
include('session.php');
$init = $quiz_time;
$minutes = floor(($init / 60) % 60);
$seconds = $init % 60;
if($init > 59){
echo "$minutes minutes and $seconds seconds";
} else {
echo "$seconds seconds";
}
} /* else {
$_SESSION['take_exam'] = 'denied';
} */
?>
71
5. Basic Code for lecturer add question in the quiz (add_question.php
<div class="controls">
</div>
</div>
<div class="controls">
</div>
</div> -->
<div class="control-group">
<div class="controls">
<option value=""></option>
<?php
72
while($query_question_row = mysql_fetch_array($query_question)){
?>
<?php } ?>
</select>
</div>
</div>
<div class="control-group">
<div class="controls">
<div id="opt11">
73
</div>
<div id="opt12">
</div>
</div>
</div>
<div class="control-group">
<div class="controls">
</div>
</div>
</form>
<?php
if (isset($_POST['save'])){
$question = $_POST['question'];
$points = $_POST['points'];
$type = $_POST['question_tpye'];
$answer = $_POST['answer'];
$ans1 = $_POST['ans1'];
$ans2 = $_POST['ans2'];
$ans3 = $_POST['ans3'];
$ans4 = $_POST['ans4'];
74
if ($type == '2'){
values('$get_id','$question',NOW(),'".$_POST['correctt']."','$type')")or
die(mysql_error());
}else{
values('$get_id','$question',NOW(),'$answer','$type')")or die(mysql_error());
$row = mysql_fetch_array($query);
$quiz_question_id = $row['quiz_question_id'];
?>
<script>
</script>
<?php
?>
75
</div>
</div>
</div>
</div>
</div>
</div>
<script>
jQuery(document).ready(function(){
jQuery("#opt11").hide();
jQuery("#opt12").hide();
jQuery("#opt13").hide();
jQuery("#qtype").change(function(){
var x = jQuery(this).val();
if(x == '1') {
jQuery("#opt11").show();
jQuery("#opt12").hide();
jQuery("#opt13").hide();
jQuery("#opt11").hide();
jQuery("#opt12").show();
jQuery("#opt13").hide();
} else {
jQuery("#opt11").hide();
jQuery("#opt12").hide();
jQuery("#opt13").hide();
}
});
});
</script>
76