0% found this document useful (0 votes)
125 views47 pages

Futsal Plus: Bubble Sort Algorithm Use

This document describes a project that developed a system called Futsal Plus using the bubble sort algorithm. Futsal Plus allows users to find futsal courts to play based on price, facilities, and availability. The system lists futsal court details for certain areas and allows customers to reserve courts. Bubble sort was used to display search results based on criteria like price. This project aims to help customers easily find affordable and available futsal courts.

Uploaded by

JUNU CHAULAGAIN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
125 views47 pages

Futsal Plus: Bubble Sort Algorithm Use

This document describes a project that developed a system called Futsal Plus using the bubble sort algorithm. Futsal Plus allows users to find futsal courts to play based on price, facilities, and availability. The system lists futsal court details for certain areas and allows customers to reserve courts. Bubble sort was used to display search results based on criteria like price. This project aims to help customers easily find affordable and available futsal courts.

Uploaded by

JUNU CHAULAGAIN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

FUTSAL PLUS IN USING SORTING ALGORITHM

(BUBBLE SORT)

ADI MUIZZUDDIN ADDY MULIA

BACHELOR OF COMPUTER SCIENCE


(SOFTWARE DEVELOPMENT)
UNIVERSITI SULTAN ZAINAL ABIDIN

2017
FUTSAL PLUS IN USING SORTING ALGORITHM (BUBBLE SORT)

ADI MUIZZUDDIN ADDY MULIA

Bachelor of Computer Science (Software Development)

Faculty of Informatics and Computing

Universiti Sultan Zainal Abidin, Terengganu, Malaysia

MAY 2017
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
Abidin or other institutions.

________________________________

Name : ..................................................

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

i
CONFIRMATION

This is to confirm that:


The research conducted and the writing of this report was under my supervison.

________________________________

Name : ..................................................

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

ii
DEDICATION

To my beloved mother and father

iii
ABSTRACT

Malaysians love sports even though day or night especially Futsal sport.

Hence, there is major problem that do not allow people play it which are the price of

the futsal courts and the availability of the courts at the certain time. So, the major

problem to find the best futsal courts based on facilities and time management of

customer. Besides, FP also comparing the price of the futsal courts at certain town.

Furthermore, in this system it will list all the futsal courts at the certain places such as

Johor town.

Hence, it will save the costs and time for the customer to play it. We know that

most of the customer are students from secondary school, university students and

young futsal player. Futsal Plus (FP) also provide suggestion to the customer to

decide their futsal courts if there is one of the list is fully booked. In order to develop

this web based system the Sorting Algorithm namely Bubble Sort Algorithm apply in

this system. The reasons to use Bubble Sort because this sorting is simplest sorting

algorithm after the insertion sort. This technique is encourage developer to display the

search result based on the certain criteria for example the price of the futsal courts. In

conclusion, this system will encourage customer to play futsal with the best price and

reserve the courts with the correct time.

iv
ABSTRAK

Rakyat Malaysia kini aktf dalam bidang sukan walaupun hari atau malam
sukan terutamanya Futsal. Oleh itu, terdapat masalah utama yang tidak
membenarkan orang bermain yang harga mahkamah futsal dan ketersediaan
mahkamah pada masa yang tertentu. Jadi, masalah utama untuk mencari gelanggang
futsal terbaik berdasarkan kemudahan dan pengurusan masa pelanggan. Selain itu,
FP juga membandingkan harga mahkamah futsal di bandar tertentu. Tambahan pula,
dalam sistem ini, ia akan menyenaraikan semua gelanggang futsal di tempat-tempat
tertentu seperti bandar Johor.
Oleh itu, ia akan menjimatkan kos dan masa untuk pelanggan untuk
bermain. Kita tahu bahawa kebanyakan pelanggan adalah terdiri daripada pelajar
sekolah menengah, pelajar universiti dan pemain muda futsal. Futsal Plus (FP) juga
menyediakan cadangan kepada pelanggan untuk membuat keputusan gelanggang
futsal mereka jika terdapat salah satu dari senarai tersebut akan ditempah
sepenuhnya. Dalam usaha untuk membangunkan sistem ini berasaskan web Sorting
Algoritma iaitu Bubble Jenis Algoritma dikenakan dalam sistem ini. Sebab-sebab
untuk menggunakan Bubble Jenis kerana pengasingan ini adalah yang paling mudah
menyusun algoritma selepas jenis pemasukan. Teknik ini menggalakkan pemaju untuk
memaparkan hasil carian berdasarkan kriteria tertentu contohnya harga mahkamah
futsal. Kesimpulannya, sistem ini akan menggalakkan pelanggan untuk bermain futsal
dengan harga yang terbaik dan memiliki mahkamah dengan masa yang betul.

v
CONTENTS

PAGE
DECLARATION i
CONFIRMATION ii
DEDICATION iii
ABSTRACT iv
ABSTRAK v
CONTENTS vi
LIST OF TABLES vii
LIST OF FIGURES xvi
LIST OF ABBREVIATIONS xv

CHAPTER I INTRODUCTION
1.1 Introduction 1
1.2 Problem statement 4
1.3 Objectives 5
1.4 Scopes 5
6
1.5 Justification / Significance
1.6 Report Structure 7
1.7 Conclusions

CHAPTER II LITERATURE REVIEW


2.1 Introduction 8
2.2 Character Encoding 9
2.2.2 Keyboard processing 10
11
2.2.2 ASCII and UNICODE system
12
2.2.3 UNICODE symbols 12
2.3 Tranforming ASCII to UNICODE 13
2.6 Input Method Editor 17
2.7 UNICODE in Windows operating system 20

CHAPTER III METHODOLOGY


3.1 Project Life Cycle 21
3.1.1 Requirement and Specification 22

vi
3.1.2 Design 23
3.1.3 Development 24
3.1.4 Testing 25
3.2 Requirement Analysis 26
3.2.1 System 26
3.2.2 Input 27
3.2.3 Process 28
3.2.4 Output 29
3.3 System Design 30
3.3.1 Framework Design 31
3.3.2 Architecture Design 32
3.3.3 Process Model 33
3.3.4 Data Model 40
3.3.5 Algorithms 42

CHAPTER IV IMPLEMENTATION DAN RESULT


4.1 Implementation and Output 43
4.1.1 Deployment / Configuration 43
4.1.2 Interfaces 45
4.1.3 Reports 50
4.2 Testing 54
4.2.1 Types of testing 54
4.2.2 Test cases 55
4.2.2 Results 60

CHAPTER V CONCLUSION
4.1 Discussion 61
4.2 Limitation 62
4.3 Recommendations 63
4.4 Summary 64

REFERENCES 65

vii
LIST OF TABLES

TABLE TITLE PAGE


1.1 First table in chapter 1 10
1.2 Second table in chapter 1 11
2.1 First table in chapter 2 20
2.2 Second table in chapter 2 25

viii
LIST OF FIGURES

FIGURE TITLE PAGE


1.1 First figure in chapter 1 10
1.2 Second figure in chapter 1 11
2.1 First figure in chapter 2 20
2.2 Second figure in chapter 2 25

ix
LIST OF ABBREVIATIONS / TERMS / SYMBOLS

CD Context Diagram
DFD Data Flow Diagram
ERD Entity Relationship Diagram
FYP Final year project
GA Genetic algorithm
HCI Human computer interface

x
LIST OF APPENDICES

APPENDIX TITLE PAGE


A Appendix 1 80
B Appendix 2 81
C Appendix 3 82
D Appendix 4 83

xi
CHAPTER I

INTRODUCTION

1.1 BACKGROUND

Futsal Plus In Using Sorting Algorithm (Bubble Sort) is the system to

encourage people to find the best futsal courts to play the game. Customer find their

futsal courts based on prices, facilities and customer ratings.

This system enables manager to list all their facilities, the best price and the

offer for their futsal courts. Hence, manager can register their futsal courts as easy as

ABC to ensure customer can find out the futsal courts places.

Furthermore, the customer can find the futsal courts based on the prices given

by the futsal court’s manager. Most of the customer of the futsal court’s are students.

Hence, this system are enable customer to give ratings based on the services given by

the futsal courts.

1
1.2 PROBLEM STATEMENT

Firstly, the problems that encourage researcher to change the manual system is

because customer are hard to find the best futsal courts. Furthermore, the customer

cannot have the fix prices to rent the futsal courts. A part from that, customer needs to

ask each every futsal courts to get the information about the futsal courts. Secondly,

customer should call or personal message to futsal’s court owner to ask for the prices.

It is very not efficient for because customer should ask more than one futsal courts

owner based on the places. Sometimes, the prices that given is not relevant towards

their facilities and courts condition. Thirdly, from researcher observation at most of

the futsal courts management System in Malaysia, there are still using the manual

system which are using printed poster such a waste and sometimes do not effectives to

spread the news.

1.3 OBJECTIVES

There are three main objectives for this proposal. These objectives are derived to

overcome problems that stated before. The objectives are :

 To develop and design a system that help futsal lover find their Futsal Courts
based on price and facilities provided.
 To apply Sorting Algorithm (Bubble Sort) for customer find their Futsal Courts.
 To test the Sorting Algorithm (Bubble Sort) to list up the most popular Futsal
Courts.

2
1.4 SYSTEM SCOPES

Futsal Plus will be used by three main actors which are coordinator, futsal courts

manager and customer.

I. Coordinator Scope :

 Manage futsal managers.


 Manage customers.
 Manage reports.

II. Futsal Courts Manager Scope :

 Register services.
 Manage futsal courts information.
 Provide facilities and prices.
 Manage booking from customers
 Generate Reports.

III. Customer Scope :

 Register customer information.


 Manage customer information.
 Futsal courts selection.
 Manage online booking.
 Manage rating.
 Generate Report.

3
1.5 LIMITATION OF WORKS

 This system will only use for customer recommended and review.
 The system requires internet connection or else accessing to the system does
not take place.
 This system only suitable for 18 years old and above.

1.6 EXPECTED OUTCOME

 Customer can find the futsal courts with affordable prices and highest rating
to low rating.
 Customer can have better information about the futsal courts such as
location and phone number.
 Customer can gives rating based on futsal courts facilities, conduciveness,
prices and services.
 Futsal courts manager can list all the promotion prices and facilities
available.
 Customer can booking the courts based on the futsal courts chosen.

1.7 CONCLUSIONS

Based on the this chapter, it discuss about the introduction of the systems

proposed and several problems that encourage the researcher to improves the previous

systems. Besides, this chapter also discuss about the user that will use this system such

as coordinator, futsal courts manager and customer. Furthermore, the researcher set

the expected outcome for this system.

4
CHAPTER 2

LITERATURE REVIEW

2.1 INTRODUCTION

In this chapter will discuss about the idea from the previous research or

article related to the sorting algorithm which is bubble sort algorithm. This is

crucial because it can tell us whether the implement method is suitable for the

proposing system. Furthermore, it also can prove as evidence of implemented

method is feasible.

5
2.2 COMPARISON BASED ON THE PREVIOUS TECHNIQUES

Currently in Malaysia, most of the futsal courts is found by using poster and

recommended from friends. Furthermore, customers do not have fully information

about the person in charge for booking process and the hardest part is the person in

charge always changed. Hence, customers need a proper system to choose the futsal

courts and the managements of futsal courts need a proper system to interact with their

customers.

6
2.3 ANALYSIS JOURNAL AND PROCEEDING PAPER

In this subtopics it will discuss about the analysis of Bubble Sort

Algorithm and Futsal Management System. From all the below stated about algorithm

and current system developed. It is relevant to system developer to develop this

system.

Firstly, the Futsal Courts Management System (FCMS) using GSM

Modem written by Wan Ainur Afeeqa (June 2012) is the online booking system for

Chendering Futsal Courts. Its enable customers to book the courts and customer is

given confirmation by receiving the message from the system. It is quite similar

towards futsal plus but it is more focusing on online booking system.

Secondly, the research of Bubble Sort written by Harish Rohil and Manisha

(2014) is tell about the full description of Bubble Sort Algorithm. The bubble sort

algorithm is tell about the cycle through a list, analysing a pairs of elements from left

to right.

Lastly, the research about a new sort algorithm which is self-indexed sort.

There are compared about 4 based-sorting algorithms. Although the bubble sort is the

slowest to compare between the three others but it is relevant to apply in this system.

7
2.4 RESEARCH ON DIFFERENT METHOD OF FUTSAL MANAGEMENT
SYSTEM

Author/Year System Method Description Advantages

Wan Ainur Futsal Courts Global It is divided into the two Customer is

Afeeqa Binti Management System for main services which are given

Wan Azmi System of Mobile support online confirmation by

(June 2012) Chendering Communica management system and receiving the

Futsal tion integrate with GSM to message from the

Courts. (GSM) give confirmation to the system.

customer.

Mohd Futsal Court Global FCMS using GSM is Both admin and

Rushaimi Bin SMS System for target to people who love futsal employee

Iddrus Booking Mobile futsal and focusing on are required to to

(April 2010) System of Communica Kompleks Sukan Bandar login to use the

Kompleks tion Kemaman. Customer system in order to

Belia & (GSM) will received a prevent

Sukan confirmation by unauthorized user

Kemaman. message. from accessing

the system.

Table 1 : Research On Different Method Of Futsal Management System.

8
2.5 RESEARCH ON SORTING ALGORITHM (BUBBLE SORT)

Problem

Author/Year System/Title Description Statement Method Advantages

Dhwanneel Min-Max The sorting To modified Bubble It is stable sort

Trivedi Select Bubble algorithm uses selection Sort which can be used

Prathmesh Trivedi. Sort Algorithm concept of and bubble Algorithm in all application

Suraj Singh. searching and sort. where similar

(2013) selecting valued keys are

Minimum and use in database,

Maximum same last name

element of but different first

array. name of people.

9
Harish Rohil, Run-Time Introduces a Compared Run-Time Saves the time for

Manisha Bubble Sort- new algorithm with Bubble traversing the list

(2014) An names Run original Sort and after entering all

Enhancement Time Bubble Bubble Bubble the elements, as it

Of Bubble Sort Sort. Helpful Sort. Sort sorts all elements

to reduces the Algorithm before entering

elapsed time . any new.

when sort the

data.

Ryab Rheinadi Analisis To find the To prove Bubble

(2009) Algorithma effectiveness the Sort Easy to use and

of bubble sort effectivenes Algorithm learn.

algorithm. s of bubble .

sort

algorithm,

the

complexity.

Table 2 : Research On Sorting Algorithm (Bubble Sort)

10
2.6 CONCLUSIONS

Based on the this chapter, it discuss about the literature review of the systems

proposed. Besides, there are several systems that has been proposed by the local

researcher in order to ease customer to get information about the futsal courts.

Furthermore, several research paper mentioned about the advantages of using bubble

sort algorithm in order to sort the value. It helps the researcher to understand the

technique that will implemented in this Futsal Plus system.

11
CHAPTER 3

METHODOLOGY

3.1 INTRODUCTION

This chapter covers detail explanations of the methodology

used in development of Futsal Plus System in using Sorting

Algorithm (Bubble Sort). Good system can be developing by using

the right method and good plan. Therefore, after considering pros

and cons of different system models available, the iterative and

incremental life cycle model was chosen. The detail about this model

will be explained concisely in this chapter.

12
3.2 SYSTEM DEVELOPMENT METHODOLOGY

The development of the system will follow System Development Life

Cycle (SDLC) to ensure the effectiveness of the implementation process. Futsal

Plus in Using Sorting Algorithm (Bubble Sort) will use iterative and incremental

model as the methodology approach. Iterative and incremental development is the

combination of iterative design or method and incremental build model for

software development. They are long lasting and widely use in large development

efforts.

Figure 1 Iterative and Incremental Model

13
3.3 SYSTEM DEVELOPMENT LIFE CYCLE (SDLC)

3.3.1 INITIAL PLANNING & PLANNING PHASE

i. Initial Planning Phase

The phase starts with brainstorming the ideas of current problems and

system requests. Then continue the discussion with the supervisor to

choose a project to be implemented. Literature reviews with the current

similar system are studied to find the problems of the systems.

ii. Planning Phase

The title has been confirmed including the details of the project. Then

system’s problem statement, objectives and scopes are also being

discussed with the supervisor. Feasibility study has been done to get

more info about the futsal courts information.

3.3.2 REQUIREMENT PHASE

This phase is to study and analyse the existing system. Other than that

review the existing system, interview with the supervisor also helped

in determining the system requirements. After determining the

requirements of the system, information needed such as futsal courts

are collected.

14
3.3.3 ANALYSIS AND DESIGN PHASE

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

(ERD) and framework are designed. They help to understand the

process flow of the system. Any changes might occur during

development according to user’s requirements.

3.3.4 IMPLEMENTATION PHASE

The phase also known as code generation phase. Developer writes

codes based on the previous phase. The system will build using PHP

language and MySQL as the database platform. User interfaces are also

included in the phases as they are important in delivering information

and messages to the user.

3.3.5 TESTING & EVALUATION PHASE

i. Testing Phase

Every sub-module needs to be tested before it will implement into the

system. Any changes of the coding, error, functionality or upgrades are

also will be tested. User interface will be checked to ensure they are

connected to database and appropriate with the system.

ii. Evaluation Phase

System will be evaluated to check for bugs or errors. Any best


practices and techniques that will be used in the first iteration then can
be used for the next requirement changes and needed in the next
iteration.

15
3.3.6 DEPLOYMENT PHASE

In the last phase, Futsal Plus in Using Sorting Algorithm (Bubble Sort) will be

presented and delivered to the end-user. Any complement will be given to

check whether the system has been developed correctly or not.

3.4 SYSTEM REQUIREMENT

In order to develop a system properly that hassle free, a list of of complete

software and hardware tools are required. Without complete list of requirements, the

system will be in the state of troublesome.

3.4.1 SOFTWARE REQUIREMENT

 Windows 10 Pro
o Operating system used to house all the applications and
tools.
 Microsoft Office 2010
o Tools of writing and editinf documents.
 Xampp Server
o Server used to process data together with management of
data using phpMyAdmin.
 Edraw
o Tools to draw diagram.
 Google Chrome
o Web browser used to display the data to end user.
 Dropbox
o Cloud storage for backup data files.
 Sublime Text 3 & Notepad++
o Text editor for coding.

16
3.4.2 HARDWARE REQUIREMENT

 ASUS TP500L Series


o Specification : Intel core i5, 4GB RAM
 Kingston Data Traveller USB
o Used to store and transfer data files.

3.5 ALGORITHM

3.5.1 BUBBLE SORT ALGORITHM

Bubble sort algorithms cycle through a list, analysing pairs of

elements from left to right, or beginning to end. If the leftmost element in the

pair is less than the rightmost element, the pair will remain in that order. If

the rightmost element is less than the leftmost element, then the two elements

will be switched. This cycle repeats from beginning to end until a pass in

which no switch occurs.

In this case, bubble sort algorithm is used as get the highest rating and

the cheapest prices for the futsal courts. Before further towards the system,

the customer need to find the futsal courts based on the prices. After they play

at the certain futsal courts then they can rate the futsal courts. From that rated

other customer can find the futsal courts based on the rated from the previous

customer.

17
3.5.2 PSEUDOCODE OF BUBBLE SORT ALGORITM

Begin
BubbleSort(list) for all elements of list
if list[i] > list[i+1]
swap(list[i], list[i+1])
end if
end for
return list
End BubbleSort

3.5.3 STEPS IN USING BUBBLE SORT ALGORITHM

 We take an unsorted array for our example. Bubble sort takes Ο(n2 ) time so
we're keeping it short and precise.

 Bubble sort starts with very first two elements, comparing them to check
which one is greater.

 In this case, value 33 is greater than 14, so it is already in sorted locations.


Next, we compare 33 with 27.

 We find that 27 is smaller than 33 and these two values must be swapped.

 The new array should look like this −

18
 Next we compare 33 and 35. We find that both are in already sorted positions.

 Then we move to the next two values, 35 and 10.

 We know then that 10 is smaller 35. Hence they are not sorted.

 We swap these values. We find that we have reached the end of the array.
After one iteration, the array should look like this −

 To be precise, we are now showing how an array should look like after each
iteration. After the second iteration, it should look like this −

 Notice that after each iteration, at least one value moves at the end.

 And when there's no swap required, bubble sorts learns that an array is
completely sorted.

 Now we should look into some practical aspects of bubble sort.

19
3.5.4 FEATURES OF SORTING ALGORITHM (BUBBLE SORT)

The bubble sort basically just runs through an array and swaps adjacent

elements if they are out of order until the list is sorted. It’s most common usage is

in algorithms courses and tutorials. It is probably the simplest sorting algorithm

after insertion sort which just runs through an array and pulls out the lowest item

and appends it to the results list and has a few other interesting properties :

 Time-inefficient
o It runs in O(n2)O(n2) time versus the O(nlog(n))O(nlog(n))
of most efficient sorting algorithms

 Memory-efficient
o It requires only O(1)O(1) space, the only extra memory it
requires is that of the temporary value created when
swapping adjacent elements.

 Stable
o The order of identical items does not change while the arrays
is being sorted.

Outside of educational material, its pretty much only used to be made fun

of. There's almost no reason why anyone would want to use Bubble Sort for any

practical purpose (unless there is some weird limitation that every element is only

allowed to move one space per move). However, it is worth noting that in the

extremely unlikely case that you have only have a few bytes of free memory left,

an O(n2) O(n2) sorting algorithm is pretty much the best you can get (Insertion

Sort with in-place replacement is a much better option though).

20
3.6 SYSTEM DESIGN & MODELING

3.6.1 INTRODUCTION

In this part, we will look into conceptual model that defines the structure,

behavior and details of the system. In modeling process, the system model will be

used as part of understanding a situation, identifying problems and supporting

decision making. It provides a semantic view that developer can easily understand

what is going on and the detail workflow of the system.

3.6.2 FRAMEWORK

Figure 2 Framework Diagram

The figure 2 shows the interaction between the user and the system in

Futsal Plus in Using Sorting Algorithm (Bubble Sort). The manager will gives

information towards the system in order to gives information about the futsal

courts to the customer. Furthermore, customer also can do online booking after

they choose their places to play the futsal.

21
3.6.3 CONTEXT DIAGRAM

Figure 3 Context Diagram

Context diagram in figure 3.3 show the data flow for the Futsal Plus in

Using Sorting Algorithm (Bubble Sort) System. There are three main actors which

is Manager and Customer. The context diagram shows the overall function of the

system. All the user need to be login as a basic step of using this system.

22
3.6.4 DATA FLOW DIAGRAM (DFD) LEVEL 0

Figure 4 DFD Level 0

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

in the system. The DFD show the data flow from an external source or internal source

to the data store or another process.

Through the DFD shown above, figure 3.5 show the whole system flow. There

are four process in this system which are Manage User, Manage Manager, Manage

Futsal Courts, Manage Customer, Manage Booking and Manage Reports. Every

process of the system will interact with their related table or data store in the databases

in order to complete the process.

23
Process 1.0 : Manage User
In this module, customer needs to enter intended information to search

about futsal courts by attribute such as city, country, and futsal court’s name.

In using Bubble Sort Algorithm, customer easy to find the characteristic what

customer finds.

Process 2.0 : Manage Manager


In this process, manager needs to enter intended information to gives

information about themselves in order to promoting their futsal courts.

Process 3.0 : Manage Futsal Courts


In this process, manager needs to enter intended information to search

about futsal courts manager by attribute such as city, country, and futsal

court’s name. Hence, it is easy to customers find their futsal courts.

Process 4.0 : Manage Customer


In this process, customer needs to enter intended information to do

online booking futsal courts to prevent untrusted booking. Hence customer

needs to register in this system first in order to do online booking. Besides,

customer also gives rating based on prices, conduciveness, facilities and

services of the futsal courts.

Process 5.0 : Manage Booking


In this process, after customer choose their suitable futsal courts based

on prices and star ratings. Customer can do online booking to book their

futsal courts. Manager are the one who can approve the booking or not.

24
Process 6.0 : Manage Reports
In this process, each of entity will gives their own priority to look for

their reports. It is very important for checking their details.

3.6.5 DATA FLOW DIAGRAM (DFD) LEVEL 1

[Link] MANAGE USER

Figure 5 DFD Level 1 : Manage User

In the process of Manage User, user can manage their user

profiles by add, updating and delete their details. All changes will

be updated in the database and display them in the user interface.

25
[Link] MANAGE MANAGER

Figure 6 DFD Level 1: Manage Manager

In the process of Manage Manager, user can manage their

manager profiles by add, updating and delete their details. All changes

will be updated in the database and display them in the user interface.

26
[Link] MANAGE FUTSAL COURTS

Figure 7 DFD Level 1 : Manage Futsal Courts

In the process of Manage Futsal Courts, manager can manage

their futsal courts by add, updating and delete their details. All changes

will be updated in the database and display them in the user interface.

27
[Link] MANAGE CUSTOMER

Figure 8 DFD Level 1 : Manage Customer

In the process of Manage Customer, customer can manage their

customer profiles by add, updating and delete their details. All changes

will be updated in the database and display them in the user interface.

28
[Link] MANAGE BOOKING

Figure 9 DFD Level 1 : Manage Booking

In the process of Manage Booking, customer can manage booking

by add, updating and delete their details. The managers will do the

approval process if there are available courts. All changes will be updated

in the database and display them in the user interface.

29
[Link] MANAGE REPORTS

Figure 10 DFD Level 1 : Manage Reports

In the process of Manage Reports, all entities will request from the

system to get their own reports and the system will display their reports.

30
3.6.6 ENTITY RELATIONSHIP DIAGRAM (ERD)

Figure 11 Entity Relationship Diagram

The figure 11 shows that Entity Relationship Diagram (ERD) for Futsal

Plus in Using Sorting Algorithm (Bubble Sort). The diagram shows that it

contains three entities which are Coordinator, Manager and Customer. In this

diagram, for example Coordinator will manage the Manager. Besides Manager

will manage Futsal Courts and Customer do bookings at the Futsal Courts.

Furthermore, Customers gives ratings for the Futsal Courts.

31
MANAGER

 M_ID VARCHAR (12) PRIMARY KEY


 M_Name VARCHAR (50)
 M_Phone INT (15)
 M_Address VARCHAR (60)
 M_Email VARCHAR (12)

COORDINATOR

 Coo_ID VARCHAR (12) PRIMARY KEY


 Coo_Name VARCHAR (50)
 Coo_NRIC INT (12)
 Coo_Gender VARCHAR (7)
 Coo_Address VARCHAR (50)
 Coo_PhoneNo INT (15)

FUTSAL COURTS

 FC_ID VARCHAR (12) PRIMARY KEY


 FC_Name VARCHAR (50)
 FC_Price VARCHAR (11)
 FC_CourtsNo VARCHAR (10)

CUSTOMER

 C_ID VARCHAR (12) PRIMARY KEY


 C_Name VACHAR (50)
 C_Email VARCHAR (12)
 C_Address VARCHAR (50)
 C_Gender VARCHAR (7)

BOOKING

 B_Date DATE PRIMARY KEY


 B_Time TIME PRIMARY KEY
 FC_ID FOREIGN KEY
 C_ID FOREIGN KEY

32
3.7 CONCLUSIONS

Based on the this chapter, it discuss about the methodology used to

complete this system. This system are using System Development Life Cycle

(SDLC) cause it is easy to understand in order to make a small changers in the

development phase. Besides, this chapter also discuss more about the

techniques in using Bubble Sort Algorithm. Furthermore, this chapter also

discuss about system modelling about this system.

33
REFERENCES

Wan Ainur Afeeqa Binti Wan Azmi (June 2017).” Futsal Management System.

GSM Mode Web Based System “.

Mohd Rushaimi Bin Idrus (April 2010).” Futsal Courts SMS Booking System of

Kompleks Belia & Sukan Kemaman. GSM Mode Web Base System “.

Dhwanneel Trivedi,Prathmesh Trivedi,Suraj Singh (2013). “ Mix Max Select

Bubble Sort Algorithm. Bubble Sort Algorithm. “

Harish Rohil, Manisha (2014). “ Run-Time Bubble Sort Enhancement Of Bubble

Sort. Run-Time Bubble Sort & Bubble Sort “.

Ryad Rheinadi (2009). “ Analisis Algoritma. Bubble Sort Algoritma “.

34

You might also like