Professional Documents
Culture Documents
2018
TIMETABLE MANAGEMENT SYSTEM (TTMS)
WITH HONOURS
AUGUST 2018
DECLARATION
I hereby declare that this report is based on my original work except for quotations and
citations, which have been duly acknowledged. I also declare that it has not been previously
or concurrently submitted for any other degree at Universiti Sultan Zainal 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
supervisor.
________________________________
Name : ..................................................
Date : ..................................................
ii
DEDICATION
This Final Year Project report could not have been conducted without the support,
encouragement and cooperation of many people. First of all, I would like to express my
deepest gratitude to my supervisor, Encik Mohd Sufian B. Mat Deris, who has always
successfully. I would like to thank her for giving the opportunity to learn and work under
her guidance, which has been the most memorable experience. Also, thanks to all my
In addition, I would also like to thank all my friends for helping me in solving my
problems and difficulties during in making of this project. Their engorgement, criticism
and support help me a lot. Finally and most importantly, I would like to thank my parents
and my family. Their support, encouragement and endless love are undeniably the force
that moves me throughout the completion of this project and my entire life.
Thank You.
iii
ABSTRAK
terutama universiti. Masalah utama adalah kelas yang amat terhad untuk bilangan pelajar,
mengajar pada waktu dan masa yang sama. Jadi sistem ini dibangunkan bagi mengatasi
masalah-masalah ini dan untuk menyediakan jadual kelas yang flesibel berdasarkan
bilangan pelajar dan ketersediaan kelas. Sebelum ini, sistem yang sedia ada hanya
menentukan bilangan pensyarah bagi sesuatu mata pelajaran. Tetapi sistem ini juga
menentukan bilangan pelajar serta bilagan kelas yang mempunyai kuantiti bilangan
pelajar. Sistem yang dicadangkan akan dibangunkan dalam PHP/MYSQL untuk mengatur
jadual kelas.
iv
ABSTRACT
Class scheduling is a problem for most universities, especially universities. The main
problem is a very limited class for the number of students, a clash between subjects and
clashes between lecturers who teach at the same time and time. So this system is
developed to address these problems and to provide flexible class schedules based on the
number of students and class availability. Previously, the existing system only determined
the number of lecturers for a subject. But the system also determines the number of
students and classrooms that have a number of students. The proposed system will be
v
Table of Contents
DECLARATION ............................................................................................................................ i
CONFIRMATION ......................................................................................................................... ii
DEDICATION .............................................................................................................................. iii
ABSTRAK ..................................................................................................................................... iv
ABSTRACT .....................................................................................................................................v
LIST OF ABBREVIATIONS / TERMS / SYMBOLS ................................................................x
CHAPTER 1 ....................................................................................................................................1
INTRODUCTION...........................................................................................................................1
1.0 Background ...........................................................................................................................1
1.1 Problem Statement ................................................................................................................2
1.1.1 Limited classroom for number of students ...................................................................2
1.1.2 Clash between subjects .................................................................................................2
1.2 Objectives .............................................................................................................................2
1.3 Scope .....................................................................................................................................3
1.3.1 Admin ...........................................................................................................................3
1.3.2 Lecturer .........................................................................................................................3
1.3.3 Student ..........................................................................................................................3
1.4 Limitation of Work ...............................................................................................................4
1.5 Chapter Summary .................................................................................................................4
CHAPTER 2 ....................................................................................................................................5
LITERATURE REVIEW ..............................................................................................................5
2.0 Introduction ...........................................................................................................................5
2.1 What is Heuristic Algorithm? ...............................................................................................5
2.2 Heuristic Algorithm Process .................................................................................................6
2.3 Advantages and Disadvantages of Heuristic Algorithm .......................................................7
2.4 University Exam Scheduling System Using Graph Coloring and RFID Technology ..........8
2.5 Automated Scheduling of University Exam ........................................................................9
2.6 Chapter Summary ................................................................................................................9
CHAPTER 3 ..................................................................................................................................10
METHODOLOGY .......................................................................................................................10
vi
3.0 Introduction .........................................................................................................................10
3.1 Rapid Application Development (RAD) Model .................................................................11
3.1.1 Phases in Rapid Application Development (RAD) Model .........................................12
3.1.1.1 Business modeling ................................................................................................ 12
3.1.1.2 Data modeling .................................................................................................... 13
3.1.1.3 Process Modeling ............................................................................................... 13
3.1.1.4 Application Generation ......................................................................................... 13
3.1.1.5 Testing and Turnover ............................................................................................ 14
3.1.2 Advantages and Disadvantages of RAD Model..........................................................15
3.1.3 Summary .....................................................................................................................16
3.2 System Requirements..........................................................................................................16
3.2.1 Software ......................................................................................................................16
3.2.1.1 Xampp Sewer, MySQL version 3.2.1 ................................................................... 16
3.2.1.2 (PHP) Programming Language ............................................................................. 16
3.2.1.3 Notepad++ ............................................................................................................ 17
3.2.1.4 Google Drive ...................................................................................................... 17
3.2.1.5 Wi-Fi UniSZA ...................................................................................................... 17
3.2.1.6 Draw.io Diagram Flowchart Software .................................................................. 17
3.2.1.7 MySQL Workbench 6.1 CE .................................................................................. 18
3.2.1.8 Microsoft Office.................................................................................................... 18
3.2.1.9 Photoshop........................................................................................................... 18
3.2.2 Hardware .....................................................................................................................18
3.2.2.1 Laptop Asus Windows 10 ..................................................................................... 18
3.2.2.2 Printer.................................................................................................................... 18
3.2.2.3 Pen drive & Hard disk........................................................................................... 19
3.3 Framework and Design .......................................................................................................19
3.3.1 Context Diagram .........................................................................................................20
3.3.2 Data Flow Diagram level 0 .........................................................................................21
3.3.3 Entity Relationship Diagram .......................................................................................22
3.3.4 Framework ..................................................................................................................23
3.3.5 Database Modelling ....................................................................................................24
3.3.5.1 Table Admin ........................................................................................................... 24
3.3.5.2 Table Lecturer ........................................................................................................ 24
3.3.5.3 Table Student ......................................................................................................... 25
vii
3.3.5.4 Table Class.............................................................................................................. 25
3.3.5.5 Table Subject .......................................................................................................... 26
3.4 Chapter Summary ...................................................................................................... 26
CHAPTER 4 ..................................................................................................................................27
IMPLEMENTATION AND RESULT ........................................................................................27
4.0 Introduction .........................................................................................................................27
4.1 Implementation and Output ................................................................................................28
4.1.1 Login ...........................................................................................................................28
4.1.2 Admin .........................................................................................................................28
4.1.2.1 Admin Page ............................................................................................................ 28
4.1.2.2 Admin Register Lecturer ........................................................................................ 29
4.1.2.3 Admin Register Student ......................................................................................... 30
4.1.2.4 Admin Register Subject ......................................................................................... 31
4.1.2.5 Admin Register Class ............................................................................................ 31
4.1.2.6 Admin Set Timetable ............................................................................................. 32
4.1.2.7 Admin Display Timetable ...................................................................................... 33
4.1.2.8 Admin View Detail Lecturer.................................................................................. 33
4.1.2.9 Admin View Detail Lecturer (Personal) ................................................................ 34
4.1.2.10 Admin Update Detail Lecturer ........................................................................... 35
4.1.2.11 Admin View Detail Student ............................................................................... 35
4.1.2.12 Admin Popup Delete Student ............................................................................. 36
4.1.2.13 Admin Update Detail Student ............................................................................ 37
4.1.2.14 Admin View Subject .......................................................................................... 37
4.1.2.15 Admin Update Subject ....................................................................................... 38
4.1.2.16 Admin View Class ............................................................................................. 38
4.1.2.17 Admin Update Class .......................................................................................... 39
4.1.2.18 Admin Report Student ....................................................................................... 39
4.1.2.19 Admin Change Password ................................................................................... 40
4.1.3 Lecturer Page ..............................................................................................................41
4.1.3.1 Lecturer Home ....................................................................................................... 41
4.1.3.2 Lecturer Teach Subject .......................................................................................... 41
4.1.3.3 Lecturer View Timetable ....................................................................................... 42
viii
4.1.3.4 Lecturer Update Profile.......................................................................................... 42
4.1.3.5 Lecturer Change Password..................................................................................... 43
4.1.4 Student Page................................................................................................................43
4.1.4.1 Student Home......................................................................................................... 43
4.1.4.2 Student Register Subject ........................................................................................ 44
4.1.4.3 Student View Timetable......................................................................................... 44
4.1.4.4 Student Update Profile ........................................................................................... 45
4.1.4.5 Student Change Password ...................................................................................... 45
4.2 Testing ...............................................................................................................................46
4.2.1 Login testing ...............................................................................................................46
4.2.2 Logout testing .............................................................................................................47
4.2.3 Admin Module Interface testing .................................................................................47
4.2.3.1 Admin register lecturer, student, class and subject testing .................................... 47
4.2.3.2 Admin view lecturer, student, class and subject testing......................................... 48
4.2.3.3 Admin view timetable testing ................................................................................ 48
4.2.3.4 Admin manage class .............................................................................................. 49
4.2.4 Lecturer Module Interface testing ...............................................................................50
4.2.4.1 Lecturer register subject testing ............................................................................. 50
4.2.4.2 Lecturer view timetable testing .............................................................................. 50
4.2.4.3 Lecturer update profile testing ............................................................................... 50
4.2.4.4 Lecturer change password testing .......................................................................... 51
4.2.5 Student Module Interface testing ................................................................................52
4.2.5.1 Student register subject testing .............................................................................. 52
4.2.5.2 Student view timetable testing ............................................................................... 52
4.2.4.3 Student update profile testing ................................................................................ 52
4.2.4.4 Student change password testing ........................................................................... 53
4.3 Chapter Summary ..............................................................................................................53
CHAPTER 5 ..................................................................................................................................54
CONCLUSION .............................................................................................................................54
5.0 Discussion ...........................................................................................................................54
5.1 Limitation............................................................................................................................54
5.2 Future Work ........................................................................................................................55
5.3 Conclusion ..........................................................................................................................55
ix
LIST OF ABBREVIATIONS / TERMS / SYMBOLS
CD Context Diagram
DFD Data Flow Diagram
ERD Entity Relationship Diagram
FYP Final year project
x
CHAPTER 1
INTRODUCTION
1.0 Background
as to have well-managed schedule lectures, labs, semester and course. This system
is essential in distributing the resources needed in a right way without any faults.
problem because of the classroom available in UniSZA Tembila is limited for huge
and to provide flexible schedule regarding the proximity of students’ time, and class
availability. Before this, the existing system only provides the classroom, but this
This system will be used by students, lecturers, and admin of the system,
the time timetable class schedule. The current system does not assign the student’s
1
seat. In addition, the existing system also does not automatically assign which
There are two main problems why this system is developed, which are:
Classrooms in UniSZA Tembila are limited and not all the classes
are suitable according the number of students. So, this system will
It while using this system, there is any clash between subjects, this
1.2 Objectives
There are three main objectives of this proposal. The three Objectives are derives
2
1.2.2 To allocate students’ seat and invigilators automatically.
1.3 Scope
This system will be used by three users that are admin, lecturers and students.
1.3.1 Admin
Admin, which is BPA can log in into this system and will use this system to
create and arrange the timetable schedule for every semester. Admin also
will use this system to allocate students’ seat and invigilators on duty.
1.3.2 Lecturer
Lecturer can log in and use this system to insert the subject information he
was teaching for current semester, see the time he needs to invigilate the
1.3.3 Student
Student also can log in, register subject and use this system to view the
timetable schedule.
3
1.4 Limitation of Work
Limitations of work are the constraints I face while doing this project.
1.4.3 Limited time to complete this project with a lot of other projects at the same
time.
problem statement and objectives why this system is proposed and developed, who
will use this system and the limitation while doing this project.
4
CHAPTER 2
LITERATURE REVIEW
2.0 Introduction
This chapter will continue with the research on what is Heuristic Algorithm
and its process. This chapter also discuss about the advantages and disadvantages
Heuristic algorithm (HA) is an algorithm that either gives nearly the right
answer or provides solution not for all instances of the problem. Usually, HA are
developed to have low time complexity and is applied to the complex problems that
cannot be easily solved. There are two types of approaches in HA, which are basic
or local approach and modem approach. In basic approach, there are several type of
Bound, and Dynamic Programming. While in modern approach there are also
several types of algorithm that are Simulates Annealing Algorithm, Tabu Search,
5
Swarm Intelligence, Evolutionary Algorithm, Neural Networks, and Support
(TMS), Heuristic Algorithm will find the most suitable classroom based on the
number of students. Even though this algorithm did not guarantee that the best one
will be found, but it will execute the most suitable one and it also will find it fast
and easily.
Heuristic always try to help the problem solver by guiding his decisions
during the course of moving from initial to solution state. HA process also includes
the running tests and getting results by trial and error. It became easier to create an
efficient algorithm to process similar types of data. These tests are designed to
isolate the problem by a step- by-step elimination of things that do not contribute
the problem.
The method used from a heuristic algorithm is one of the known methods,
such as greediness, but in order to be easy and fast the algorithm ignores or even
6
2.3 Advantages and Disadvantages of Heuristic Algorithm
Advantages Disadvantages
require formula.
Allow the mind to apply all it Does not allow a way to assess the
conclusion.
7
2.4 University Exam Scheduling System Using Graph Coloring and RFID
Technology
Map coloring is a type of problem that can be solved by using graph coloring
method. In this research paper, two algorithms have been used that are Hybrid
Approach and Graph Coloring Algorithm. There are also few constraints that been
used in this project. The constraints are no student can be assigned to more than one
exam at the same time and cannot exceed three exams in the same day, number of
students that taking the exam should not more than the available halls’ capacity,
exams that are most crowded should be placed in timetable primarily and at most
four exams should be held at the same time but in different exam hall. Besides, the
inputs while doing this project that will save in database include days, exam, hall
that the exam will be held, number of period in one day, number of exam that will
be held at the same period and maximum allowable ratio of common students
between two exams. In the beginning, blind search and brute force algorithm are
used as a hybrid approach, and the constraints are determined. As the second part
of project, RFlD card reader is used and it will connect to computers, and these
8
2.5 Automated Scheduling of University Exam
in term of size and range. This research paper had used HA and 7 graph coloring to
perform the search for timetable. Timetabling and graph coloring were linked by
Welsh and Powell in 1967. To split the exam into groups that may be scheduled
together, HA is used based on graph coloring. In this research paper, conflicts are
existed in form of students, staffs, and room. When an exam has been selected, then
it will be placed into the rooms by using the algorithm presented. There are also
other algorithms that can be used to place course into classroom and to optimize
other constraints. This project is currently in prototype stage and directed towards
algorithm, its advantages and disadvantages and the literature review on other
9
CHAPTER 3
METHODOLOGY
3.0 Introduction
In this chapter, it will discuss about the methodology used to develop this
system. For software development life cycle (SDLC), the methodology that has
been chosen is Rapid Application Development (RAD) Model. This chapter also
will explain more about the method chosen, and its development phase.
(RAD) Model.
10
3.1 Rapid Application Development (RAD) Model
model. In this model, the components are developed in parallel and are integrated
to make the complete product for faster product delivery. This model is based on
uses minimal planning in favor of rapid prototyping. The most important aspect for
this model to be successful is to make sure that the prototypes developed are
reusable.
11
3.1.1 Phases in Rapid Application Development (RAD) Model
12
3.1.1.2 Data modeling
The information gathered in the Business modeling
model.
prototypes.
13
3.1.1.5 Testing and Turnover
However the data flow and the interfaces between all the
14
3.1.2 Advantages and Disadvantages of RAD Model
Advantages Disadvantages
business requirement.
RAD.
15
3.1.3 Summary
Development (RAD) Mode, and its advantages and disadvantages. Other than that,
the software and the hardware that built up the system from the scratch into the
complete system. Thus, ESS deployed several software and hardware when
3.2.1 Software
system.
16
3.2.1.3 Notepad++
into localhost.
another PC or laptop.
coding-solve alternatives.
Draw.io is the software used to draw all the ERD, DFD, and
Context Diagram.
17
3.2.1.7 MySQL Workbench 6.1 CE
3.2.1.9 Photoshop
3.2.2 Hardware
Laptop Asus was used while doing this project to develop the system
3.2.2.2 Printer
18
3.2.2.3 Pen drive & Hard disk
Pen drive and hard disk are the other option of storage used to back
This section will discuss about the framework and design used in developing
this project. Project modeling has been used in order to define and analyze the data
Context Diagram, Data Flow Diagram, and Entity Relationship Diagram are
used in order to explain the project modeling. These diagrams also will represent
In other words, this section will explain more about how the system is
19
3.3.1 Context Diagram
Diagram below shows the context diagram that displays all the
Figure 3.3.1 shows the context diagram that includes all the three
main entities and their main process in this system. The lecturer will input
Lecturer also will be able to view, update, and delete the profile information.
Besides, lecturer also will be able to view the schedule to know when he
needs to invigilate the class. When lecturer has inserted the data information,
admin will create the time table schedule based on the information. Admin
also will assign the suitable classroom by using Heuristic algorithm, allocate
students, and generate their time table class. Last but not least, students will
20
3.3.2 Data Flow Diagram level 0
Diagram below shows the Data Flow Diagram level 0 that displays
21
Figure 3.32 above shows the Data Flow Diagram (DFD) Level 0.
In DFD, all the processes are connected with an entity and saved in data
store. All users in this system need to login into system in order to view,
Figure 3.3.3 above shows the relationship among each other table.
Admin can register tables that are table subject and generate schedule.
22
Students can only view and register subject, Lecturer can teach one or more
subject. Admin of this system is able to manage more than subject schedule.
3.3.4 Framework
Figure 3.3.4 above shows the framework of the whole system. This figure
explains all the processes involve in this system in form of diagram. The
outputs from this system are timetable management. As shown in the figure
above, both outputs are stored in database server. While admin assign the
23
3.3.5 Database Modelling
Database modelling show the database that has been used in this
system.
24
3.3.5.3 Table Student
25
3.3.5.5 Table Subject
This table shows the data about the course registered by admin for
student (subjectlD, course name, course code, credit hour,
semester, and year).
sure this system working as planned. With an efficient Wi-Fi, software, and
hardware, it makes sure the system developed as smooth as it should be, for example
26
CHAPTER 4
4.0 Introduction
In this chapter, it will discuss overall system including the interface and its
function. The interface of this system uses the template from Bootstrap, but has
been edited to make it look more compatible with this Timetable Management
System.
27
4.1 Implementation and Output
4.1.1 Login
Figure 4.1.1 shown the login page of the system. At this page, the user has
4.1.2 Admin
28
Figure 4.1.2.1: Admin Page
Figure 4.1.2 shown the interface including the entire button on menu list
29
In this interface, admin will be able to register new lecturer for them to log
in to the system. Admin need to filling all columns otherwise the system cannot
In this interface, admin will be able to register new student for them to log
in to the system. Admin need to filling all columns otherwise the system cannot
30
4.1.2.4 Admin Register Subject
In this interface, admin will be able to register new subject for student and
lecturer. Admin need to filling all columns otherwise the system cannot add the
31
In this interface, admin will be able to register new class for quantity of
student. Admin need to filling all columns otherwise the system cannot add the
In this interface, admin will be able to choose the student of program for
generate timetable class. Admin need to filling all columns otherwise the system
32
4.1.2.7 Admin Display Timetable
In this interface, admin will be able to display the timetable class from the
33
In this interface, admin will be able to view the lecturer list details with the
certain information. Admin will able to view all information of one lecturer in link
In this interface, admin will able to view detail information of one lecturer
34
4.1.2.10 Admin Update Detail Lecturer
35
In this interface, admin will be able to view the student list details with the
certain information. Admin will able to view all information of one student in link
In this interface, admin will be able to delete the data list student details
36
4.1.2.13 Admin Update Detail Student
In this interface, the admin will be able to update the data student details
In this interface, admin will be able to view all subject have been
registered.
37
4.1.2.15 Admin Update Subject
In this interface, the admin will be able to update subject have been
registered.
In this interface, the admin will be able to view class have been registered.
38
4.1.2.17 Admin Update Class
In this interface, the admin will be able to update class have been
registered.
39
In this interface, the admin will be able to view report student have been
registered by subject.
In this interface, the admin will be able to change current password to new
password.
40
4.1.3 Lecturer Page
Figure 4.3.1 shown the interface including the entire button on menu list
In this interface, the lecturer will be able to add their teaching subject.
41
4.1.3.3 Lecturer View Timetable
In this interface, the lecturer will be able view timetable class that subject
42
In this interface, the lecturer will be able update their profile detail.
new password.
43
Figure 4.1.4.1 shown the interface including the entire button on menu list
In this interface, the student will be able to add their register subject.
44
4.1.4.4 Student Update Profile
new password.
45
4.2 Testing
The testing approach used in this system is known as the testing module by
module.
empty. password”
Type: admin
46
4.2.2 Logout testing
insert all data, cannot be left “Please fill out this field”
empty.
empty.
insert his type, cannot be left “Please fill out this field”
empty.
database.
47
4.2.3.2 Admin view lecturer, student, class and subject testing
choose
choose
3 Admin click link and display the System directed to view Success
48
4.2.3.4 Admin manage class
class detail.
2 Admin can drop down quantity Will show drop down Success
set.
49
4.2.4 Lecturer Module Interface testing
insert all data, cannot be left “Please fill out this field”
empty.
database.
insert all data, cannot be left “Please fill out this field”
empty.
50
2 If all detail completes, the system Live validation Success
database.
insert all data, cannot be left “Please fill out this field”
empty.
database.
51
4.2.5 Student Module Interface testing
insert all data, cannot be left “Please fill out this field”
empty.
database.
insert all data, cannot be left “Please fill out this field”
empty.
52
2 If all detail completes, the system Live validation Success
database.
insert all data, cannot be left “Please fill out this field”
empty.
database.
system. The interfaces are shown to give visual idea for user on how the process
53
CHAPTER 5
CONCLUSION
5.0 Discussion
In this chapter, it will discuss the overall project proposal. The expectation
result, its contribution and planning for improvement of the result in the
5.1 Limitation
Basically, every project has its own constraints and limitation. This project
also has constraints and limitation such as time constraints, source limitation, and
so on. While doing this project, the biggest constraint is poor internet connection in
UniSZA Tembila Campus. This makes me difficult to search for sources in internet.
Other than that, there is also a few existing system that use the same algorithm in
internet. This system also can only be used in web based application.
Time constraint is also one of the major problems while doing this project.
A lot of things have to be done but the time is limited. This project takes one whole
semester to be done. with a lot of others projects that are also need to be done this
semester. In within two months, this system has to completed and fully functioning
54
with its main function to create a timetable class and assign class room by using
HA.
Based on the research on the internet about this system, there is a lot of
improvements that can be made and applied to this system to cover up all the
function to make this system perfect. This system also can be more attractive if it is
develop and implement using mobile application. Thus, user can access and use this
system anywhere computer.
5.3 Conclusion
55
REFERENCES
University Park, Nottingham. NG7 2RD. Automated Scheduling for University Exams.
[3] James E. Purcell, CISSP, GSEC, GCIH, PMP, MCSE. Comparison of Software
[4] Akhan Akbulut et. al., International Journal of Innovation, Management and
[5] Ademir Aparecido Constantino et. al. 2010. Iterated Heuristic Algorithm, for the
Nottingham, UK.
56