faculty of information and computing csf …...online quiz system using speech recognition is being...

42
FACULTY OF INFORMATION AND COMPUTING CSF 35104: FINAL YEAR PROJECT I FINAL YEAR PROJECT 1 REPORT Online Quiz System using Speech Recognition Supervisor Name : Dr Suhailan Bin Safei Name Matric No. Program Muhammad Syakir Bin Pauzi 051639 ISM KI

Upload: others

Post on 23-Apr-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

FACULTY OF INFORMATION AND COMPUTING

CSF 35104: FINAL YEAR PROJECT I

FINAL YEAR PROJECT 1 REPORT

Online Quiz System using Speech Recognition

Supervisor Name :

Dr Suhailan Bin Safei

Name Matric No. Program

Muhammad Syakir Bin Pauzi 051639 ISM KI

Page 2: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

ONLINE QUIZ SYSTEM USING SPEECH

RECOGNITION

MUHAMMAD SYAKIR BIN PAUZI

BACHELOR OF COMPUTER SCIENCE

(INTERNET COMPUTING)

UNIVERSITI SULTAN ZAINAL ABIDIN

2019

Page 3: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

i

DECLARATION

I hereby declare that this report is based on my original work, with the exception of quotations and

quotations duly recognized. I also declare that it has not been submitted at University of Sultan

Zainal Abidin or other institutions before.

_______________________________

Name: Muhammad Syakir Bin Pauzi

Date: …………………………….

Page 4: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

ii

CONFIRMATION

This is to confirm that:

The research conducted and the writing of this report were under my supervision.

________________________________

Name: Dr Suhailan Bin Safei

Date : ..................................................

Page 5: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

iii

DEDICATION

Assalamualaikum w.b.t, firstly, To Allah, the Almighty, I would like to express my gratitude for

his grace and mercy in completing my project. I would like to take this opportunity to thank my

supervisor for this Final Year Project, Dr Suhailan Bin Safei for his guidance and support in

completing this project. Thank you for all the ideas and suggestions to improve the quality of this

project. I would also like to thank all the panel members for their valuable feedback and

perspectives on improving my project. All the comments and reviews have helped me a lot in

completing the project. Lastly, thank you to my beloved parents, family, and my friends for their

support, encouragement, and advice. Their support has helped me stay positive in completing this

project.

Page 6: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

iv

ABSTRACT

Online Quiz System using Speech Recognition is web-based application for technical

evaluation, which allows a educational institutions to arrange, conduct and manage quiz via an

online environment. Besides that, this system using speech recognition as the medium for working

processes become more efficient because document processing times become shorter. Some of the

problems faced existing quiz systems are delays in result processing, filling poses a problem and

filtering of records is not easy. Implementation of the existing system is also very difficult and

takes lot of time and effort. In addition, it not convenient to use for the students who have the

disability problems to answer the online quiz questions. Online Quiz System using Speech

Recognition not only replace the paperwork but also releases the workload of faculty. It fulfills the

requirements of the institutes to conduct the quiz online and students can view the result at the

same time. Thus, the main objectives of this system is to develop the system that can help ease the

disabled students answer the quiz questions more efficiently and saves the efforts. This system or

project was developed by using PHP, CSS, HTML JAVASCRIPT, WEB API and MYSQL with

the goal of meet the objectives of online quiz system for which it has been developed. Beside that,

this system using speech recognition which means understanding voice by the computer and

performing any required task. Today many education institutions conduct online quiz worldwide

successfully and issue results online. There are advantages and disadvantages in online quiz. The

system is operated as a high level of efficiency and all the lecturers and students associated with

the system understands its advantage. The system solves the problems and it was intended to solve

as requirement specification.

Page 7: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

v

CONTENTS

PAGE

DECLARATION i

CONFIRMATION ii

DEDICATION iii

ABSTRACT iv

CONTENTS v

LIST OF TABLES vii

LIST OF FIGURES viii

CHAPTER 1 INTRODUCTION

1.1 Introduction 1

1.2 Problem Statement 2

1.3 Objective 3

1.4 Scope

1.4.1 Administrative System 4

1.4.2 Lecturer 4

1.4.3 Student 4

1.5 Limitation of Works 5

1.6 Expected Result 6

1.7 Project Planning 7

1.8 Report Structure 8

1.9 Chapter Summary 9

CHAPTER 2 LITERATURE REVIEW

2.1 Introduction 10

2.2 Speech Recognition 10

2.3 Technique to Apply

2.3.1 Web Speech API 11

Page 8: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

vi

2.4 Existing System

2.4.1 Online Quiz Game 12

2.4.2 Online Quiz System 13

2.4.3 Create Dialogue Based 14

2.5 Comparison of Existing System 15 - 16

2.6 Proposed System 17

2.7 Chapter Summary 18

CHAPTER 3 METHODOLOGY

3.1 Introduction 19

3.2 System Development Methodology 19

3.2.1 Requirement Gathering and Analysis 20

3.2.2 Quick Design 21

3.2.3 Build Prototype 21

3.2.4 User Evaluation 22

3.2.5 Refining Prototype 22

3.2.6 Engineer Product 22

3.3 System Requirement

3.3.1 Software Requirement 23

3.3.2 Hardware Requirement 24

3.4 System Design

3.4.1 Process Model 25

3.4.1.1 Context Diagram 26

3.4.1.2 Data Flow Diagram (Level 0) 27 - 28

3.4.1.3 Data Flow Diagram (Level 1) 29

3.4.2 Data Model

3.4.2.1 Entity Relationship Diagram 30

REFERENCE 31

GANTT CHART 32

Page 9: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

vii

LIST OF TABLES

Table List Table Name Page

Table 2.1 Show Comparison of Existing System 15 - 16

Table 3.1 Show the Software Requirement 23

Table 3.2 Show the Hardware Requirement 24

Page 10: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

viii

LIST OF FIGURES

Figure List Figure Name Page

Figure 2.1 Show the Speech Recognition Image 10

Figure 2.2 Show the Image of Web Speech API 11

Figure 2.3 Example of Online Quiz Game 12

Figure 2.4 Example of Online Quiz System 13

Figure 2.5 Example of Dialogue Based Tutorial 14

Figure 3.1 Show the Prototyping Model 20

Figure 3.2 Show the Context Diagram 26

Figure 3.3 Show the Data Flow Diagram (Level 0) 28

Figure 3.4 Show the Data Flow Diagram (Level 1) 29

Figure 3.5 Show the Data Flow Diagram (Level 1) 29

Figure 3.6 Show the Entity Relationship Diagram 30

Page 11: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

1

CHAPTER 1

INTRODUCTION

1.1 INTRODUCTION

This document or final report will purpose all features and procedures to develop the

Online Quiz System using Speech Recognition is very useful for lectures to prepare the quiz, save

the time that will take to check the paper and prepare mark sheets. One of the main benefits in this

proposed system is automated marking, which is lectures do not need to the check the answer script

as usual in manual system. Furthermore, this system or project become more convenient to use

because this system added the speech recognition as the sensor features. The effective use of this

system is that any students can use it for getting results in less time.

Besides that, speech recognition software helps students with physical disabilities stay on

par with theirs peers and puts them on a more equal level. Even they have trouble in writing but

they are able to communicate their ideas. It saves their time as well, as many students with these

disabilities would take much longer to write without this software and not get as accurate results.

Online Quiz System using Speech Recognition is being launched because a need for the destination

that is beneficial for both lectures and students. With this system, students can take quiz and view

their results. The system will enable educational institutions or administrator to conduct test and

have automated checking of answers based on the response by the candidates or students.

Page 12: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

2

1.2 PROBLEM STATEMENT

Online Quiz System using Speech Recognition is very helpful to students and lecturers.

The aim of this project is to provide quick, immediate and easy way to appear the quiz. It can

provide special advantages to the disabled students. Therefore, each system needs to be analyzed

to identify any weaknesses before the proposed system is developed.

Some of the weaknesses associated with the existing system. Firstly, the existing system is

not efficient to use who students have the disability problems such as physical disabilities. It will

happen when developer of the system not cover up the requirement of the disabled students

especially for students who have the difficulties in writing skills.

Secondly, the existing online quiz system takes more time to process and generating the

result after quiz is over. This problem occur when students need to wait for getting their result up

to the lecturers finishes script checking and it need to go through for the long process to finish

marking the paper.

Last but not least, the chances of the students to answer the quiz separately in existing

system as compared to proposed system. It means this scenario is unfair for the students answering

the quiz first and the other students know the pattern of quiz question because this system not

provide limited time.

Page 13: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

3

1.3 SYSTEM OBJECTIVE

This system would be very useful for educational institutions where regular evaluation of

students is required. This proposed system also have the general and specific objectives to see if it

is good for the user or not. System need to have several objectives to serve as the benchmark in

developing the system and to solve all the problems in current or existing system features. Among

the objectives of this system are :

1) To analyze the existing systems features problems before developing the new

features of the proposed system.

2) To design the system using the right model to make sure this system was user

friendly and convenient to use.

3) To develop the system using speech recognition as the sensor features to help ease

disabled students.

Page 14: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

4

1.4 SCOPE

Scope of this system is very broad in terms of other online quiz. Required software is for

conducting online quiz and providing results. The system should satisfy the following

requirements. Few of them are :-

1.4.1 Administrator System

1. Logging into the system

2. Managing the subjects

3. View the student results report

1.4.2 Lecturer

1. Logging the system

2. Adding/editing/deleting the questions

3. Posting questions

4. Key in the correct answer and verify mark

5. View the result’s quiz of students

1.4.3 Students

1. Logging the system

2. Create the subjects

3. Selecting the quiz questions

4. Appearing for the quiz

5. See the results of quiz

Page 15: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

5

1.5 LIMITATION OF WORK

In this system there are certain limitations to avoid the scope of the system too wide and

only focus on the main purpose or achieve the set objectives. In addition, the proposed system uses

the speech recognition sensor feature which causes many factors to be taken into account to prevent

the system not working as planned.

Some of limitations set before developing this system is Online Quiz System using Speech

Recognition is web based online system not be mobile application approach. This is because the

requirement of this system fulfills the user accessibility and to make this proposed system more

convenient to use. Besides that, this proposed system provides only multiple choices, short answers

and true false questions except essay questions.

Thus, students and lecturers not need to register their information to be sign in to the quiz

online system which means they can access the system directly with their username and password

given by university system. In comparison, students who have not register subjects can only access

the home page not anything else like take the quiz and view of the results. Lastly, students only

can see their result but top score of the quiz results are not displayed which means they can view

only their result not other students results or score.

Page 16: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

6

1.6 EXPECTED RESULT

This Online Quiz System where using speech recognition as the medium or sensor features

was developed to fulfill the main objectives and design the proposed system as well as planned.

Expected result in this system is to give the all benefit to all users such as students, lectures and

administrator staff. Besides that, this system was analyzed from the weakness of the existing

system to get the expected result and develop this system from step by step.

Some of the benefits in the expected result in this system it can gives the advantages for

disability students to use this proposed system in convenient environment and it more efficient for

them because they can deliver the answers using speech as the work medium. In comparison to

the existing system flows or how the system works more complicated and not easy accessibility

and user friendly.

Furthermore, students will be able to know how well they did on the quiz instantly which

means at the end they can view the percentage of correctness answers. Besides this system provides

benefit to students but it also convenient to use for lecturers which it saves time of the lecturer

marking the answer and distributing results to individual students. For this scenario, accuracy in

checking the answer and calculating the result of the quiz because the answers was automated

marking with the comparison of lecturers given answer in the system.

Page 17: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

7

1.7 PROJECT PLANNING

Project schedule is important document to be considered before the project start. It consists

of the start and finish of the project. It is a guideline to complete and finish the project on time has

given. This system takes five months to develop after passing through several major phases in the

development of as system.

Refer Appendix A for Gantt Chart.

1.8 REPORT STRUCTURE

The first chapter of this report is the introduction to the project which includes introduction,

problem statement, objective, scopes, limitation of work, expected result and planning for this

project. The overall logic of the system is stated here. The second chapter is literature review. This

chapter provides better understanding based on the explanation of related research done in the

related field. Third chapter describe methodology used in this system. It discuss project

methodology and requirement of software and hardware that guide the system development, it

deals with the project design and modeling which the core part in the development process. The

data flow diagram and the context diagram for this system are 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.

Page 18: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

8

1.9 CHAPTER SUMMARY

The chapter basically deliver the early stages about this project development. It explains

more about the initial project development process.

Page 19: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

9

CHAPTER 2

LITERATURE REVIEW

2.1 INTRODUCTION

A literature review is an evaluation report of information found in the literature based on

the system that want to develop selected. The information collected will be identified to complete

the objectives. The review should define, review, evaluate and explain this literature. It should

give a theoretical base for the study and help determine the nature of the system. Works which are

irrelevant should discarded and those which are outer should be looked at critically. It also needs

to be discuss about the idea from previous method before developing the system.

Page 20: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

10

2.2 Definition of Speech Recognition

Figure 2.1: Show the Speech Recognition Image

Refer to figure 2.1 above explain speech recognition is the ability of a machine or program

to identify words and phrases in spoken language. After that, convert them to a machine-readable

format or text. It is an alternative to typing on a keyboard which it means we talk to the computer

and output or text appear on the screen. This software has been developed to provide the fast

method of writing on the computer. Thus, it can help people with physical disabilities who often

find typing difficult. This definition from (Margaret Rouse, December 2016).

Page 21: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

11

2.3 TECHNIQUE TO APPLY IN SPEECH RECOGNITION

2.3.1 Definition of Web Speech API Demonstration

Figure 2.2: Image of Web Speech API Demonstration

Refer to figure 2.2 explain this technique provides two distinct areas of functionality

including speech recognition and speech synthesis (also known as text to speech). This Web

Speech API introduced at the end of 2012. It allows web developers to provide speech input and

text-to-speech features in the web browser. The HTML5 Speech Recognition API allows

JavaScript to have access to a browser’s audio stream and convert it to text. Specifically, it defines

a simplified subset of JavaScript API, working with speech recognition. This technique definition

from (Mozilla Developer, March 2019).

Page 22: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

12

2.4 ANALYSIS OF EXISTING SYSTEM

2.4.1 Online Quiz Game Using Crowd-sourcing platform

Figure 2.3: Examples of Online Quiz Game

Refer figure 2.3 above from (João Freitas, 2010) this system presents an online platform

based on crowd sourcing for speech data collection, named YourSpeech. It provides means for

user to donate their speech through a quiz game. Text-to-Speech voice installed in the client system

and the answers are recognized by the correspondent speech recognition engine installed in server.

After the answer is spoken, the audio recording automatically stops and a wave file is sent to the

server for recognition.

Page 23: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

13

2.4.2 Online Quiz System Using K-Means Clustering Algorithm

Figure 2.4: Examples of Online Quiz System

Refer figure 2.4 above from (Norashimah Binti Ibrahim, 2019) this is a web-based system,

named Online Quiz System for assessing students. Lecturers can use this Online Quiz System for

evaluating their students effectively, efficiently and perfectly. On of the main benefits of this

system is automated marking which means lecturers do not need to check the answer script as they

are doing in manual quiz. On the other hand, students can score accorded to their merit level and

it will give feedback about the student in which side he or she is weak.

Page 24: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

14

2.4.3 Using assessment software to create a dialogue-based tutorial

Figure 2.5: Examples of Dialogue Based Tutorial

Refer figure 2.5 above from (Ian O’Neil, 2018) automated topics whenever tutorials they

enable wish for students very large to prepare and growing and revise class sizes on key pathways

mean that busy tutors and students are glad of software programs that automate some of the more

routine student-tutor interactions. This system present a worked example of a short automated

adaptive tutorial, inspired by human-to-human dialogue and created using the kind of widely

deployed assessment software that is used for authoring multiple-response (check-box) exam

questions. Combining their teaching experience with some basic control logic, tutors can use to

good educational effect the distinctive answer combinations that students provide.

Page 25: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

15

2.5 COMPARISON OF THE ANALYSIS EXISTING SYSTEM

Author/Year Tittle Method Description of Method

João Freitas

(2010)

Crowd-sourcing

platform for large

scale speech data

collection

Crowd-sourcing

platform

This platform aims at collecting

desktop speech data at negligible costs

for any language, in order to provide

larger training data for Automatic

Speech Recognition (ASR) systems.

YourSpeech provides means for users

to donate their speech through a quiz

game and a through a platform that

allows the deployment of a

personalized TTS (Text-to-Speech)

system. The TTS system used to

generate the user’s voices is based on

HMM’s.

Norashimah

Binti Ibrahim

(2019)

Online Quiz

System Using K-

Means Clustering

Algorithm

K-Means

Clustering

Algorithm

K-Means is understandable and

implementable easily. The students

have been classified in five groups

(Clusters) for data score of grade that

is very high, high, average, low and

very low. K-means clustering

Page 26: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

16

technique works on finding the cluster

centers by trying to minimize

objectives function. It alternates

between updating the membership

matrix and updating the cluster

centers till any improvement in the

objective function is possible.

Ian O’Neil

(2018)

Using assessment

software to create

a dialogue-based

tutorial

Ruled-based

system

Dialogue Management Rules

For a student who can solve the

problem correctly - choosing all the

correct answers and none of the

incorrect ones - the system provides

the appropriate words of

congratulations and the tutorial

concludes.

Table 2.1: Shows the comparison of method in existing system

For the conclusion, we use Online Quiz Game using Crowd-sourcing platform by João

Freitas as the main reference for developing this system or project because it system using speech

recognition as the sensor while their system also used auto marking for the checking result and

easy to understand flow of that system.

Page 27: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

17

2.6 PROPOSED SYSTEM

This Online Quiz System provides facility to conduct online quiz worldwide with using

speech recognition as the sensor features. It saves time and more convenient to use for disabled

students beside which is allows number of students to answer the quiz at the time and displays the

results as the tests gets over, so no need to wait for the result. It is automatically generated by the

server. Students can login and answer the online quiz with their specific id or username and can

see the results as well.

Advantages of Proposed System

1) Benefits for students with disabilities may include improved access to the computer and

increased independency.

2) In comparison to the existing system the proposed system will be less time consuming and

it more efficient or user friendly.

3) The proposed system will help the turn around time for students and lecturers by making

their work faster.

4) The logs of appeared students and their marks are stored and can be backup for the future.

Page 28: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

18

2.7 CHAPTER SUMMARY

This chapter discuss literature review that had been reviewed during feasibility studies.

This study are made to act as guide for successful system development as it will provide a better

understanding both on the problem and solution faced by current system regarding speech

recognition concept. As a conclusion, Speech Recognition method is the most suitable method to

use in developing this system.

Page 29: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

19

CHAPTER 3

METHODOLOGY

3.1 INTRODUCTION

This chapter will explain the details of methodology being used in software development.

This project methodology is important because it helps to organize investigation in a scientific way

to overcome problems, structure, plan and control the process of developing an information

system. After system has been completely developed, it should be tested to make sure this system

achieves the objectives has been set.

3.2 SYSTEM DEVELOPMENT METHODOLOGY

The prototyping model is applied in this development of the system because when

detailed information related to input and output requirements of the system is not available. In this

model, it is assumed that all the requirements may not be known at the start of the development of

the system. It is usually used when a system does not exist or in case of a large and complex system

where there is no manual process to determine the requirements. This model allows the users to

interact and experiment with a working model of the system known as prototype. The prototype

gives the user an actual feel of the system. At any stage, if the user is not satisfied with the

prototype, it can be discarded and an entirely new system can be developed.

Page 30: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

20

Figure 3.1: Illustrates the steps carried out in the prototyping model

3.2.1 Requirement Gathering and Analysis

During this phase, existing system are analyzed 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 the journal, articles or research papers are gathered and studied. The

finding is summarized and analyzed to find the requirement of the system as a functional and non-

functional requirement. From this phase, the title for the system is decided which is Online Quiz

System and will implement the speech recognition as the medium sensors or features.

Page 31: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

21

3.2.2 Quick Design

In this phase, context diagram (CD) data flow diagram (DFD), entity-relationship diagram

(ERD) and framework are designed. These help to understand the process flow of the system. Any

changes might occur during development according to system requirements. It is not a detailed

design and includes only the important aspects of the system, which gives an idea of the system to

the user. A quick design helps in developing the prototype. This system will develop as a web-

based system by using PHP and MySQL

3.2.3 Build Prototype

From this phase, the interface design was developed for the purpose of the delivery. 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 we built

such as add quiz, update quiz and delete quiz. The data or requirements obtained during the phase

is transformed into the design. Information gathered from quick design is modified to form the

first prototype, which represents the working model of the required system.

Page 32: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

22

3.2.4 User Evaluation

In the user evaluation phase, this system will be evaluated for testing whether the objective

of the system is achieved. Next, the proposed system is presented to the user for thorough

evaluation of the prototype to recognize its strengths and weaknesses such as what is to be added

or removed. Comments and suggestions are collected from the users and ready to refine prototype.

3.2.5 Refining Prototype

This phase is important because any changes of the user evaluation phase such as coding,

syntax error, functionality or upgrades are also will be tested again. That is, the new prototype is

developed with the additional information provided by the user. This process continues until all

the requirements specified by the user are met. When the user is satisfied with the developed

prototype, a final system is developed on the basis of the final prototype.

3.2.6 Engineer Product

Then, in this phase the final system is evaluated thoroughly followed by the routine

maintenance on regular basis for preventing large-scale failures and minimizing downtime. Lastly,

once the evaluation is done this system will be released to implement whether the system correct

functioning or not.

Page 33: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

23

3.3 SYSTEM REQUIREMENT

In the making of this phase, software and hardware tools are very important and essential.

Without complete list of requirements, the system will be in the state of troubleshoot.

3.3.1 Software Requirement

Software Function

Microsoft Word 2018

Microsoft Power Point 2018

Tools for viewing, editing and creating

documents and slide presentation.

Window 10 pro Operating system used to house all the

application and tools.

XAMPP Server Create connection between Apache and

MySQL in local host server.

Creative Tim Web browser used for download the design

interface.

Draw.Io Tool for drawing diagram.

Notepad++ Tool for editing and execute coding.

GOOGLE Web browser used to find source and article on

literature review, coding and run the system.

Table 3.1: Show the Software Requirement

Page 34: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

24

3.3.2 Hardware Requirement

Hardware Function

Laptop

DELL

12GB RAM

To develop the system, edit and view the

documents.

Hard Disk 100GB Used to store, transfer data file and backup

data.

Printer

BROTHER DCP J-1105

To print out all the documents and files of the

system.

Table 3.2: Show the Hardware Requirement

Page 35: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

25

3.4 SYSTEM DESIGN

The framework and design for Online Quiz System such as context diagram (CD), data

flow diagram (DFD) level 0, level 1 and entity relationship diagram (ERD) are explained in detail

and organized. Data modeling is required to facilitate the interaction between system designer,

programmer and end-user. Making an early modeling can help to identify the needs, problem and

possible solutions during the project. All design in data modeling 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 that interact with the system.

3.4.1 Process Model

Process models are processes of the same nature that are classified together into the model.

One possible use of the process model is to prescribe how things 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 process shall be will determined during actual system

development.

Page 36: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

26

3.4.1.1 Context Diagram

The context diagram show in figure 3.2 show the data flow for the Online Quiz System

using Speech Recognition. There are three main actors which is admin, lecturer and student. The

context diagram shows the overall function of the system. All of the user need to be login as the

basic step when using this system.

Figure 3.2 : show the Context Diagram

Page 37: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

27

3.4.1.2 Data Flow Diagram (DFD Level 0)

Data flow diagram (DFD) is a graphical representation of the flow of the data in the system.

Figure 3.3 show the whole system flow. Every process of the system will interact with their related

table or data store in the database in order to complete the process.

In this project, its have 8 process start from login or user detail, manage subject, select

subject, register subject, manage quiz, quiz answer, verify mark and end by report. Beside that, it

also have 8 data store and 3 main actor which is admin, student and lecturer. This data flow model

give the structure how is the system working.

Before start developing this system, we need to more understand what the system need and

collect all the requirement that system need. We choose the data flow diagram (DFD) as the main

data flow model because it easy to understand, implement and also maintain the system if adding

the new requirement or process.

Page 38: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

28

Figure 3.3 : show Data Flow Diagram Level 0

Page 39: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

29

3.4.1.3 Data Flow Diagram (DFD Level 1)

Figure 3.4 below show DFD Level 1 for lecturer manage subject which is lecturer can add,

update and delete subject from the system. Figure 3.5 below show lecturer can manage quiz which

is lecturer also can add, update and delete the quiz.

Figure 3.4 : show DFD Level 1 Lecturer Manage Subject

Figure 3.5 : show DFD Level 1 Lecturer Manage Quiz

Page 40: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

30

3.4.2 Data Model

3.4.2.1 Entity Relationship Diagram (ERD)

As entity-relationship diagram (ERD) is a specialized graphic form that illustrates the

relationship between entities in the database. In figure 3.6 below, there have 7 strong entity and 2

composite entity which are subject student and subject lecturer. It uses for combine or join 2 table

or entity using foreign key. Every entity have attribute and the primary key for their identifier.

Figure 3.6 : show Entity Relationship Diagram

Page 41: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

31

REFERENCE

[1] Nie, Hongmei, “ Design and Development of the Online Examination System Based on B/S

Structure ”, 2nd International Conference on Teaching and Computational Science (ICTCS),

(2014).

[2] Ian O’Neil, “ Using assessment software to create a dialogue-based tutorial ”, ACM Introuds

9.1, (2018).

[3] Norashimah Binti Ibrahim, “ Online Quiz System using K-Means Clustering Algorithm”,

University of Sultan Zainal Abidin, (2019).

[4] Mozilla Developer, “ How to Use Web Speech API ”, Web Technology Developer, March

2019.

[5] Margaret Rouse, “ Definition of Speech Recogntion ”, Contributors from WhatIs.com,

December 2016.

[6] Dinesh Thakur, “ Prototyping Model in Software Engineering”, Blogger of Computer Notes,

(2018).

Page 42: FACULTY OF INFORMATION AND COMPUTING CSF …...Online Quiz System using Speech Recognition is being launched because a need for the destination that is beneficial for both lectures

32

GANTT CHART

Gantt Chart For Final Year Project 1