nurul nabilah binti jamil...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan...

53
SPORT FACILITY AND EQUIPMENT SYSTEM NURUL NABILAH BINTI JAMIL BACHELOR OF COMPUTER SCIENCE (INTERNET COMPUTING) UNIVERSITI SULTAN ZAINAL ABIDIN 2018

Upload: others

Post on 03-Dec-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

SPORT FACILITY AND EQUIPMENT SYSTEM

NURUL NABILAH BINTI JAMIL

BACHELOR OF COMPUTER SCIENCE

(INTERNET COMPUTING)

UNIVERSITI SULTAN ZAINAL ABIDIN

2018

Page 2: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

SPORT FACILITY AND EQUIPMENT SYSTEM

NURUL NABILAH BINTI JAMIL

Bachelor of Computer Science (Internet Computing)

Faculty of Informatics and Computing

Universiti Sultan Zainal Abidin, Terengganu, Malaysia

2018

Page 3: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

i

DECLARATION

I hereby declare that this report is based on my original work and my own effort

except for quotations and citations with the guidance from my supervisor, which have

been duly acknowledged.

Signature:

Name : Nurul Nabilah Binti Jamil

Date : May 2018

Page 4: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

ii

CONFIRMATION

This is to confirm that the project of Sport Facility and Equipment System was

prepared by Nurul Nabilah Binti Jamil, matric number: BTCL15040433. This project

research have fulfilled the condition to be recognized for the level of bachelor of

Computer Science for Internet Computing. The research conducted and the writing of

this report was under the guidance of my supervision.

Signature:

Supervisor : Encik Mohd Khalid Bin Awang

Date : May 2018

Page 5: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

iii

DEDICATION

Alhamdulillah. First and foremost, praised to Allah, the Most Gracious and the Most

Merciful for blessing me and give me the opportunity to undergo and complete my

final year project, Sport Facility and Equipment System.

I would like to express my gratitude to my supervisor, Encik Khalid Bin Awang for

his teaching, kindness, patience, guidance and motivation towards this project.

My gratitude also goes to my family, my beloved mother, Zaiton Binti Che Ariffin

and father, Jamil Bin Omar @ Idris. Thank you for supporting me and make me

accomplish this project. I would like to give a special gratitude to all my friends, and

my roommate, whom giving me the full support and assisted in completing the project

even though they also busy doing final year project. Thank you for all your support

and concern.

Last but not least, thank you to everybody whom involved directly in completing this

project. All your contribution is very valuable. Thank you and May Allah bless you.

Page 6: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

iv

ABSTRACT

Sports facility and equipment booking system was proposed to help UniSZA students

and staffs to ease the process of borrowing the sports facilities. This system does not

only assist the facilities unit to achieve higher quality but it also helps to make the

system efficient and to make the booking process smooth and easy for the

management. The sports equipment and facilities that UniSZA have including

badminton courts, netball courts, football fields, basketball, volleyball, badminton

racket, ping pong racket and football and etc. By this booking systems, all of the

students can save their time and at the same time it can increase convenience to book

the facilities or equipment. The main issue that arises in the main existing system is

that the current system is not efficient. The courts and sports equipment for students

and staffs are limited. The implementation of this system is it can simplify the process

for application to saving time and more user friendly. The technique that will be used

is priority in order to avoid the overlapping booking the system.

Page 7: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

v

ABSTRAK

Sistem pinjaman faciliti dan alatan sukan telah dicadangkan untuk membantu pelajar

UniSZA dan staff UniSZA untuk memudahkan proses peminjaman alatan sukan.

Sistem ini tidak hanya menolong unit faciliti untuk meningkat kepada kualiti yang

tinggi tetapi ia juga membantu menjadikan sistem ini lebih efisien yang UniSZA ada

termasuk gelanggang badminton, gelanggang bola jaring, padang bola sepak, raket

badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain.

Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa yang sama

ia boleh meningkatkan keselesaan pengguna untuk meminjam faciliti dan alatan

sukan. Isu utama yang dibangkitkan didalam sistem yang sedia ada adalah sistem

sekarang tidak efisien dan tidak sistematik. Gelanggang sukan untuk para pelajar dan

staff adalah terhad kepada beberapa pengguna sahaja. Dengan mengaplikasikan

penggunaan sistem ini ia boleh memudahkan proses pinjaman dan penggunaan

kepada aplikasi untuk menjimatkan masa dan mudah mesra kepada pengguna. Teknik

yang akan digunakan untk membangunkan sistem ini adalah dengan menggunakan

kaedah prioriti supaya dapat menghindari daripada pinjaman yang bertindih.

Page 8: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

vi

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

1.2

Introduction

Background Project

1

2

1.3 Problem statement 2

1.4 Objectives 3

1.5

1.6

Project Scopes

Limitation of Works

4

5

1.7

1.8

1.9

1.10

Expected Result

Activities and Milestone

Structure Thesis

Summary

5

5

6

7

8

CHAPTER II LITERATURE REVIEW

2.1 Introduction 8

2.2 First Come First Serve 8

2.3 Priority 10

2.4 Web based Application 12

2.5 Existing System 14

2.6 Summary 16

Page 9: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

vii

CHAPTER III

METHODOLOGY

3.1 Introduction 17

3.2 Waterfall Methodology Model 17

3.2.1 Initial Planning Phase 18

3.2.2 Requirement Analysis Phase 19

3.2.3 Design 19

3.3 System Design 20

3.3.1 Framework Design 21

3.3.2 Process Model 22

3.3.2.1 Context Diagram 22

3.3.2.2 Data Flow Diagram Level 0 24

3.3.2.3 Data Flow Diagram Level 1 25

3.3.2.3.1 Data Flow Diagram Level 1

(Manage Item)

25

3.3.2.3.2 Data Flow Diagram Level 1

(Manage Booking)

26

3.3.2.3.3 Data Flow Diagram Level 1

(Manage Return)

27

3.3.2.4 Entity Relationship Diagram 28

3.4 Proof of Concept 29

3.5 Summary 29

Page 10: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

viii

CHAPTER IV IMPLEMENTATION DAN RESULT

4.1 Implementation and Output 30

4.1.1 Interfaces 30

4.1.1.1 User Interface 30

4.1.1.1.1 User Login Page 30

4.1.1.1.2 User Signup Page 31

4.1.1.1.3 User Home Page 31

4.1.1.1.4 Item Booking Page 32

4.1.1.1.5 User Details Booking Page 32

4.1.1.2 Admin Interface 33

4.1.1.2.1 Admin Main Page 33

4.1.1.2.2 Staff Details Page 34

4.1.1.2.3 Student Details Page 34

4.1.1.2.4 Booking Details Page 35

4.1.1.2.5 Item Details Page 35

4.2 Summary 36

CHAPTER V CONCLUSION

5.1 Introduction 37

5.2 Conclusion 37

REFERENCE 38

APPENDIX 39

Page 11: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

ix

LIST OF TABLES

TABLE TITLE PAGE

2.1 Existing System on Research Papers 15

Page 12: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

x

LIST OF FIGURES

FIGURE TITLE PAGE

2.1 Priority Analogy 11

3.1 Waterfall Model 19

3.2

3.3

3.4

3.5

3.6

System Framework for System

Context Diagram

Data Flow Diagram Level 0

Data Flow Diagram Level 1 for Manage Item Process

Data Flow Diagram Level 1 for Manage Booking Process

22

23

24

26

27

3.7 Data Flow Diagram Level 1 for Manage Return Process 28

3.8 Entity Relationship Diagram 29

4.1 Login Page 31

4.2 Signup Page 32

4.3 Home Page 32

4.4 Item Booking Page 33

4.5 User Details Booking Page 33

4.6 Admin Login Page 34

4.7 Admin Main Page 34

4.8 Staff Details Page 35

4.9 Student Details Page 35

4.10 Booking Details Page 36

4.11 Item Details Page 36

Page 13: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

xi

LIST OF ABBREVIATIONS / TERMS / SYMBOLS

CD Context Diagram

DFD Data Flow Diagram

ERD Entity Relationship Diagram

FYP Final year project

FCFS First Come First Serve

FIFO First In First Out

CPU Central Processor Unit

SDLC System Live Development Cycle

MPP Majlis Perwakilan Pelajar

MKK Majlis Kolej Kediaman

Page 14: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

xii

LIST OF APPENDICES

APPENDIX TITLE PAGE

A Gantt Chart 39

Page 15: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

1

CHAPTER I

INTRODUCTION

1.1 Background

Nowadays, many systems had develop from manual system to computerize

system. Online booking system does not only assist the facilities unit to achieve

higher quality but it also helps to simplify the booking process and raise the efficiency

in management. Sports is an objective. There are many kinds of sports around us.

There are traditional and modern sports. From the past to the modern generation,

sports are likable and there are variations and innovation in sports.

This chapter presents an introduction of the project proposal, Sports Facilities

and Equipment System. Chapter 1 contains five sections. Firstly, the background of

the project described. The second section is the problem statement about this project.

In the third section is the objectives of the project. In the next section is the scopes that

will be covered through this project. The limitation of work of the project will be

discussed in section five. Last but not least, in the sixth section there will be the

milestone or the Gantt chart that indicates the planning outlined throughout the

project.

Page 16: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

2

1.2 Background Project

Todays, people had attention towards sports. From the younger to the eldest, they

must at least have play sports in their lifetime. Sports like football and basketball

can bring us the unity if we play together. Through sports perspective, sports

complement for people like students and staff, which is filling needs towards

sports. Sports can develop the stamina and the enjoyment while playing it. Sports

facilities and equipment systems allow students and staff of University Sultan

Zainal Abidin (UniSZA) to booking the desired facilities or sports equipment

based on the first come first serve. The student or staff that had book first only

can get use of the facilities or equipment. If the other students and staff that come

after that, they will be rejected and they need to book to the next session of time.

The main data in the system is the availability of the sports facilities and

equipment. The student and the staff can book to their specific time follows their

needs.

1.3 Problem Statement

Currently, the sport’s user in Campus Besut is unable to know whether they

can use the facilities or sports equipment before they reserve it because with

the current system, if they want to use the facilities and the equipment, for

student, they must go to the sport center first to check the availabilities of the

required facilities or equipment.

Page 17: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

3

Besides, if the students want to book badminton courts, they must go to the

sport’s center first to book and they will only know the available courts upon

their booking at that time.

Lastly, in the current Campus Besut Sports Centre, there is unsystematic

systems that provides difficulties to keep the detail of the users. The details

that are keep in papers and books might make the longer time to search the

previous or old details.

1.4 Objectives

The main objective in this project as follows:

i. To proposed the system that will help the students and the staff to book the

sports facilities and equipment easily.

ii. To design and develop a web based system for sports facilities and

equipment that fits the user requirements.

iii. To implement the system by using priority queue technique.

Page 18: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

4

1.5 Project Scope

The scope of this project consist of two user which are users and admin including

a system scope.

i. Users:

In the user scope, there are two users which are students and staffs. Both

of the students and the staff, can book or cancel the booking of sports

facilities and equipment based on the listed availabilities by date and time.

ii. Admin:

Admin can manage the users. Admin can view the details, edit facilities

and equipment availability and cancel booking of the sports facilities and

equipment.

iii. System:

System will manage the booking system. The system will prioritize the

user in booking queue process. It will automatically cancel the user’s

booking if there have a higher priority user than the normal user.

Page 19: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

5

1.6 Limitation of Works

a. Scope

This scope of project focus on the booking and cancel booking of the

sports facilities and equipment. The system does not required the payment

because it’s only booking to the students and staffs in UniSZA campus

Besut only. If the many user try to book at the same session, the system

only receive the first come first serve user only.

b. Selection of facilities and equipment

All the users that book the facilities and equipment will be selected by

using first come first serve.

1.7 Expected Result

From this project of Sport Facility and Equipment System, there are several expected

result.

a. Web based booking system

b. Avoid overlapping booking

c. Help user which are student and staff to book easily.

Page 20: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

6

1.8 Structure Thesis

A structure thesis of Sports Facilities and equipment System project concisely

describing the content in this project for each chapter.

1.8.1 Chapter 1: Introduction

In the first chapter, the contents are consist of project introduction, proposal

background, problem statement, objective, project scope, limitation of work

and Gantt chart.

1.8.2 Chapter 2: Literature Review

Chapter two is about literature review. In this chapter, will be discussing and

analysing the problem towards the existing systems. First come first serve

method that will be used in the system will be discussed.

1.8.3 Chapter 3: Methodology

Chapter three will be described the methodology of the research used in the

system. The detailed explanations about every phase are stated.

1.8.4 Chapter 4: Design and Project Modelling

Chapter four discuss about design and data modelling comprises of a context

diagram, data flow diagram, framework, and database design. Besides, more

details will be describe about the design of the model.

Page 21: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

7

1.8.5 Chapter 5: Implementation and Testing

Chapter five consist of the explanation about implementation of First Come

First Serve technique for this system.

1.8.6 Chapter 6: Results and Discussion

In chapter six, project achievement, project limitation and some improvements

will be discussed. Finally, the conclusion will be produced.

1.9 Summary

In chapter 1, the purpose of the project of the system is identified to overcome

the problem that occur in the current system. Also, the function and limit of the

project are stated. Besides, the brief about every chapter was stated in this

chapter.

Page 22: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

8

CHAPTER II

INTRODUCTION

2.1 Introduction

Literature review is made research about the critical points of current knowledge

on a specific topic. The purpose is to justify the choice of research questions,

theoretical or conceptual framework, and the method. In this chapter consist of

system review and method review. System review is about the comparison for the

existing system whereas the method review is study and analyze about the

technique and methodology that suited for the system.

2.2 First Come First Serve (FCFS)

First come, first served (FCFS) is an operating system process scheduling

algorithm and a network routing management mechanism that automatically

executes queued requests and processes by the order of their arrival. With first

come, first served, what comes first is handled first; the next request in line will be

executed once the one before it is complete.

FCFS is also known as first-in, first-out (FIFO) and first come, first choice

(FCFC). FCFS provides an efficient, simple and error-free process scheduling

Page 23: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

9

algorithm that saves valuable CPU resources. It uses non-preemptive scheduling in

which a process is automatically queued and processing occurs according to an

incoming request or process order. FCFS derives its concept from real-life

customer service.

Let's take a look at how FCFS process scheduling works. Suppose there are three

processes in a queue: P1, P2 and P3. P1 is placed in the processing register with a

waiting time of zero seconds and 10 seconds for complete processing. The next

process, P2, must wait 10 seconds and is placed in the processing cycle until P1 is

processed. Assuming that P2 will take 15 seconds to complete, the final process,

P3, must wait 25 seconds to be processed. FCFS may not be the fastest process

scheduling algorithm, as it does not check for priorities associated with processes.

These priorities may depend on the processes' individual execution times.

Page 24: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

10

2.3 Priority

A Priority Queue is different from a normal queue, because instead of being a

“first-in-first-out”, values come out in order by priority. It is an abstract data type

that captures the idea of a container whose elements have “priorities” attached to

them. An element of highest priority always appears at the front of the queue. If

that element is removed, the next highest priority element advances to the front.

Conceptual picture of a priority queue:

Figure 2.1: Priority Analogy.

Imagine a priority queue as a bag that holds priorities based on figure 2.3. We can

put one in and can take out the current highest priority. Priorities can be any

comparable values.

Queuing schemes, on the other hand are used when there is a relatively significant

number of resources and users can only be allocated just one of them, at any point

in time. More specifically, Orduña and García‐Zubia (2011), highlighted that by

using the queuing scheme to schedule access to resources, all requests made by

users to access a particular resource have to be placed sequentially in a queue in

the order that they arrived and then processed successively one after another on a

first‐come, first‐served basis. On the whole, users are only provided access to the

first available resource that meets their specific request (Lowe, 2013).

Priorities in Priorities out

Page 25: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

11

A priority queue is an abstract data type which is like a regular queue or stack data

structure, but where additionally each element has a “priority” associated with it.

In a priority queue, an element with high priority is served before an element with

low priority. If two elements have the same priority, they are served according to

their order in the queue.

In essence, there are two types of priority queue: the non-preemptive priority

queue and the preemptive priority queue (Kihlwan, 2012). The non‐preemptive

and preemptive priority queues are both extreme cases with respect to the

preemption condition, as they “never” or “always” allow preemption, respectively

when a request to access a resource arrives in the queue from a user with a higher

priority during the service of the request from a lower priority user (Kihlwan,

2012).

More specifically, in the case of the preemptive priority queue, during the service

of a user’s request, the scheduling server “continuously” checks the queue for the

presence of requests to access a resource from users with higher priorities than the

current user being serviced, to determine whether or not to preempt the service of

this user. If there exists a request from a user with higher priority in the queue, the

low priority request currently being processed will be preempted (Harchol‐Balter,

2013). In many practical situations, however, it may be counter‐productive and

undesirable to continuously review the system state, as this can incur considerable

processing time, especially when the information on the queue is decentralized and

distributed over a network (Kihlwan, 2012).

Page 26: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

12

On the other hand, with non‐preemptive priority queues, the scheduling server

“never” reviews the system state while processing a user’s request to access a

particular resource. This implies that users with high priorities will have to wait

for some time until the service of a low priority user is completed. As highlighted

by Harchol‐Balter (2013), this can lead to severe degradation of the quality of

service experienced by high‐priority users, especially when the processing time of

a low‐priority user request is relatively slow.

While priority queues are often implemented with heaps, they are conceptually

distinct from heaps. A priority queue is an abstract concept like “a list” or “a

map”; just as a list can be implemented with a linked list or an array, a priority

queue can be implemented with a heap or a variety of other methods such as an

unordered array.

2.4 Web Based Application

A web based application is a software package that can be accessed through the

web browser. The software and database reside on a central server rather than

being installed on the desktop system and is accessed over a network.

It is a client–server computer program in which the client (including the user

interface and client-side logic) runs in a web browser. Common web applications

include webmail, online retail sales, online auctions, wikis, instant messaging

services and many other functions. An application that is usable only with an

active Internet connection and that uses HTTP as its primary communications

protocol.

Page 27: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

13

Web sites most likely to be referred to as “web applications” are those which have

similar functionality to a desktop software application, or to a mobile app. HTML5

introduced explicit language support for making applications that are loaded as

web pages, but can store data locally and continue to function while offline.

Web based applications are the ultimate way to take advantage of today’s

technology to enhance productivity and efficiency. Web based application gives

an opportunity to access information from anywhere in the world at any time. It

also facilitates to save time and money and improve the interactivity with

customers and partners.

It allow the administration staff to work from any location to access information

remotely 24 hours a day, 7 days a week. With a computer connected to the

Internet, a web browser and the right user name and password can access the

systems from any location.

Web-based applications are easy to use and can be implemented without

interrupting existing work process. Whether need a content managed solution or

an e-commerce system, we can develop a customized web application that fulfills

the requirements. The web based software, enables to interact with the application

and data in a fluid and highly responsive manner.

Page 28: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

14

2.5 Existing System

Existing system is the example of the functional online system that are related to

this system.

Author/Title/

Year

Content Advantages Disadvantages

Pei Chyi,

Tan. Sport

Facility

Booking

System

(SFBS). 2012

• Allow user to

book the sport

equipment and its

facilities.

• First come first

serve concept.

• Use GSM modem

to send/ receive

messages from

mobile phone.

Can notify the

users using

messages.

• Priority

purpose: some

of the users

booking

manually

cancelled by

admin.

• Not request the

users in

advance to

book at

different date

and time.

Nooraidawati

, Azhari.

UTeM Sport

Center: On-

Line Booking

Of Facilities

and

Equipments.

2008

• Allow user to

book its facilities

and equipment.

• More concern

about the security

of the data in the

system.

• Secured

data of

bookin

gs in

the

databas

e

• Users need to

physically the

facilities or

equipment by

meeting the

staff at the

counter.

Hooi Fong, • The system is • Using • Need admin

Page 29: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

15

Tan.

Automatic

Sport

Facilities

management

System

(UMPASFM

S). 2012

develop for

helping admin to

manage their

sport facilities

and equipment.

testing

method

to

validate

the

system.

approval after

booking before

can use it.

• Disadvantages

for who need it

as soon as

possible.

Smithurst,

Ben. A web-

Based Sports

Centre

Booking

System. 2003

The sports

member can book

squash court

online.

View/delete their

own booked

sessions.

Users

can

view

the

most

popular

activitie

s and

trackin

g

number

s who

book

and do

not

arrive

for

their

session.

Only sports

members are

allowed to use

the booking

function of the

system.

Table 2.1: Existing System on Research Papers.

Page 30: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

16

2.6 Summary

From this chapter, the main function of the project have been explained

specifically like the function of FCFS, priority queue and wed based application.

After that, the analysis from the past projects that had a similar function are made

as a reference and g guidance about how to develop this project. There are some

helpful information that can be used for the developing phases.

Page 31: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

17

CHAPTER III

METHODOLOGY

3.1 Introduction

This chapter will be discuss about the methodology that are being used in this project.

With the methodology, the project will have the guidance to support the system and to

ensure that the project is complete and working well. There are many methodology

recommendation to develop the system like waterfall model, spiral model and agile

model in the System Development Live Cycle (SDLC). These approaches should be

chosen wisely based on the suitability of the system before the beginning of the

development phase as it will become the guidance through the development process.

The methodology of the SDLC proposed in this system is waterfall model.

3.2 Waterfall Methodology Model

Sports Facilities and Equipment System uses waterfall model as the methodology

throughout this project. The waterfall model emphasizes that a logical progression

of steps be taken throughout the software development life cycle (SDLC), much

like the cascading steps down an incremental waterfall. By using waterfall model

as a guide, this project is designed and implemented with the details added

gradually until all of the requirements is satisfied to complete this project. This

Page 32: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

18

methodology is used because it works well on a smaller projects where the

requirements are very well understood. In this model, every phases are not

overlap. The implementation of the waterfall model within a new project is rather

straightforward process. In this model, phases are processed and completed one at

a time and the phases also do not overlap.

Figure 3.1: Waterfall Model

3.2.1 Initial Planning Phase

In the planning phase, the idea of the Sports Facilities and Equipment System is

generated to help the users which is the student and the lecturer to be able to booking

the facilities and equipment easily by using priority queue approach. The priority

queue is capable to solve the issue of the user that are being treated indifferently. The

discussion session about the problem faced in the system are determined and arranged

with the supervisor weekly.

Page 33: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

19

3.2.2 Requirement Analysis Phase

During this second stage, the user requirement is analysed in order to properly

generate the models and business logic that will be used in the application. All of the

information are obtained through the research papers and journal of the previous

works and the existing system. The system requirements are identified by direct

observation in the existed booking systems and several research papers. At the end of

this phase, objectives, scope and limitation of works are determined.

3.2.3 Design

In the design phase, all the information which is obtained in the analysis phase is used

to design the realistic framework. All of the information in the previous phases are

gathered and transformed into the design which is follow the identified requirement.

Then, there will be Context Diagram (CD), Data Flow Diagram (DFD) level 1 and

level 2 and also the Entity Relationship Diagram (ERD), data dictionary and interface

design of the system. The design for the interface should cover some of the basic

features in Sports Facilities and Equipment System. The purpose of using these

diagram is because to improve the understanding on how the system will function. A

web based booking system is designed so that the user be able to book the facilities

and equipment.

Page 34: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

20

3.3 System Design

In the system design, the flow of the system is organized to enable the system

development will progress smoothly. The details of the framework, context diagram,

data flow diagram (DFD) and also the entity relationship diagram (ERD) will be

explain in detailed in this chapter. The way of the system functionality is drawn in the

diagram to make clear the understanding of the each process of the system and

facilitating the interaction between the system designer, programmer and also the end-

users.

Page 35: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

21

3.3.1 Framework Design

STUDENT

STAFF

Figure 3.2: System Framework for System.

The framework are indicating on what kind of programs should be build and how they

would interrelate. In the figure 3.2, the user which are student and staff can book,

view available facility and equipment that they want to book and also they can cancel

boking. After the user booking the facilities or equipment, they can view their own

booking details. An admin be able to retrieve the user’s details of their booking. An

admin can manage user, manage the facilities and the equipment and manage booking

as well as views the report of the system that retrieved from the database. The website

of the booking system act as the interface to the user of the system which retrieves and

send the data to the system database through the web server.

booking

cancel booking

user

facility/equipment

booking

USERS SPORT

FACILITY

AND

EQUIPMEN

TSYSTEM

DATABASE

ADMIN Manage

Page 36: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

22

3.3.2 Process Model

3.3.2.1 Context Diagram

Figure 3.3: Context Diagram

From the context diagram above, there are three entities involved in the Sport Facility

and Equipment Booking System which are Student, Staff and Admin. The data flow

coming from the student shows that the student provides to the system for the process

of registering, login, and book/cancel. The booking detail, and booking confirmation,

will be given to the student. The student can check the available item.

For the staff, the data flow in and out are the same as the student. The staff

will provide into the system from the process of the registering, login, and

book/cancel. While from the system, it will provide booking detail, and booking

confirmation. Staff can check he available items.

Page 37: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

23

For the admin, the data flow coming to the system is login process. Also admin

will be manage the user, manage book/cancel and manage facility/equipment. Admin

will be provided booking report from the system.

3.3.2.2 Data Flow Diagram Level 0

Figure 3.4: Data Flow Diagram Level 0

Page 38: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

24

From the data flow diagram level 0 above, it show six process and six data store in the

system. There are three entities which are student, staff and admin are involved in the

system. The student entity are involved in manage student process, manage item

process, manage booking process, and manage return process. The staff entity are

involved in manage staff process, and manage booking process and manage return

process. An admin are involved in manage student process, manage staff process,

manage item process, manage booking process, manage return process and manage

report process.

The data store that involved within the process are, data store D1 of student

file, data store D2 of staff file, data store D3 of item file, data store D4 of booking file,

and data store D5 of return file and D6 of report file.

In the manage student process, student provide the student detail and will be

stored in data store D1. For manage staff process, the staff provide the staff detail and

stored in D2. In the manage item process, admin was involved and the data were sent

to D3. In manage booking process the three entities are involved and the data will go

to D4. In manage return process the three entities are involved and the data will go to

D5. Lastly, only admin was involved in the manage report process and the report data

will be stored in D6.

Page 39: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

25

3.3.2.3 Data Flow Diagram Level 1

3.3.2.3.1 Manage Item

Figure 3.5: Data Flow Diagram Level 1 for Manage Item

Based on the above data flow diagram level 1 for manage item process, admin are in

charge in the facility/equipment management. Item means facility and the equipment.

There are add item, update item and delete item process. The data that flows in the

three process are the details of the item. Then, the recorded details will be stored in

the data store D1 of item file.

Page 40: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

26

3.3.2.3.2 Manage Booking

Figure 3.6: Data Flow Diagram Level 1 for Manage Booking

Based on the above data flow diagram level 1 for manage booking process, three

entities are involved which are student, staff and admin. There are add booking,

update booking and delete booking. The student and the staff provide their booking

detail into all the process and the data will be stored in data store D1 of booking file.

Admin will manage the booking process.

Page 41: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

27

3.3.2.3.3 Manage Return Process

Figure 3.7: Data Flow Diagram Level 1 for Manage Return Process

In manage return process, the three entities are involved which are student, staff and

admin. When returning the equipment after borrow it, they must return to the sport

centre and the details of the return will be recorded. Admin will check the condition

of the item returned. The data will be stored in data store return file.

Page 42: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

28

3.3.2.4 Entity Relationship Diagram (ERD)

Figure 3.8: Entity Relationship Diagram (ERD)

The figure above shows an entity relationship diagram (ERD) for sport facility and

equipment system. There are student, staff, booking, return, item and admin entity.

They are connected to each other.

Page 43: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

29

3.4 Proof of Concept

In sport facility and equipment system, the concept that are used are priority. From

the explanation from chapter 2, the priority concept are used to the user. The user that

involved in the system are student and staff of University Sultan Zainal Abidin

(UniSZA) in Besut Campus. The concept are applied in the booking process. From

the normal basic of the booking system which are first come first serve which means

whom are faster book can booking first.

In this case the priority have took place beside first come first serve. The priority

were given to the user whom have the highest priority over the normal user. For

example, if there are one student and one staff want to book a court at the same time

and date, the priority were given to the staff and the student whom didn’t get to book

can book at the other time.

In this sport facility and equipment system, there are three types of priority level.

Level for staff (2), level for student of MKK/MPP (1) and level for normal student (0).

3.5 Summary

From this chapter, the framework, context diagram (CD), data flow diagram (DFD)

level 0 and level 1, and entity relationship diagram (ERD) has been presented. The

framework and context diagram will be the general function while the details are on

data flow diagram level 0 and level 1.

Page 44: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

30

CHAPTER IV

IMPLEMENTATION

4.1 Implementation

4.1.1 Interfaces

This section will describe about the interface in the system. The system interface is

the interaction between the user and the system so that the user can make the choice

on the interface and the system will process it. The system has three user which are

student, staff and admin. There are interfaces for users and for admin.

4.1.1.1 User Interface

4.1.1.1.1 User Login Interface

Figure 4.1: Login Page

Page 45: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

31

4.1.1.1.2 User Signup Page

Figure 4.2: Signup Page

4.1.1.1.3 User Home Page

Figure 4.3: Home page

Page 46: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

32

4.1.1.1.4 Item Booking Page

Figure 4.4: Item Booking Page

4.1.1.1.5 User Details Booking Page

Figure 4.5: User Details Booking Page

Page 47: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

33

4.1.1.2 Admin Interface

4.1.1.2.1 Admin Login Page

Figure 4.6: Admin Login Page

4.1.1.2.2 Admin Main Page

Figure 4.7: Admin Main Page

Page 48: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

34

4.1.1.2.3 Staff Details Page

Figure 4.8: Staff Details Page

4.1.1.2.4 Student Details Page

Figure 4.9: Student Details Page

Page 49: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

35

4.1.1.2.5 Booking Details Page

Figure 4.10: Booking Details Page

4.1.1.2.6 Item Details Page

Figure 4.11: Item Details Page

Page 50: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

36

4.2 Summary

This chapter is describes about the flow of the system including context diagram, data

flow diagram level 0, data flow diagram level 1 and entity relationship diagram.

Page 51: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

37

CHAPTER V

CONCLUSION

5.1 Introduction

This chapter discusses about the conclusion that leads to the development of the Sport

Facility and Equipment System.

5.2 Conclusion

Sport Facility and Equipment System is using Notepad++ to develop a web-based

system with the priority concept. After the discussion and many consideration, I hope

that the development of the Sport Facility and Equipment System were going

smoothly following the scope of the project. The main implementation on the system

was priority that happen when there are overlapping booking.

Page 52: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

38

REFERENCES

Harchol‐Balter, M. (2013). Performance modelling and design of computer systems:

Queueing theory in action. 1st Edition. New York: Cambridge University Press.

Kilhwan, K. (2012). T‐preemptive priority queue and its application to the analysis of

an opportunistic spectrum access in cognitive radio networks. Journal of Computers

and Operations 68 Research, 39(7), pp. 1394‐1401.

Lombardi, M. and Milano, M. (2012). Optimal methods for resource allocation and

scheduling: A Cross‐Disciplinary Survey. International Journal of Constraints, 17(1),

pp. 51‐85.

Pinedo, M.L. (2012). Scheduling: theory, algorithms and systems. 4th Edition. New

York: Springer.

HP, (2010). An Introduction to load testing for web applications. Business

whitepaper.

Page 53: NURUL NABILAH BINTI JAMIL...badminton, bola keranjang, bola baling, raket ping pong, bola sepak dan lain-lain. Melalui sistem ini, semua pelajar boleh menjimatkan masa dan pada masa

39

APPENDIX A

Gantt Charts

Appendix A: Gantt Charts.

TASK WEEK

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Project Briefing

Topic Discussion and

Determination

Project Title Proposal

Proposal Writing:

Introduction

Proposal Writing:

Literature Review

Proposal Progress

Presentation & Evaluation

Discussion & Correction

Proposal

Proposed Solution

Methodology

Proof of Concept

Drafting Report of the

Proposal

Report Submission