xii
DAFTAR ISI
LEMBAR PENGESAHAN PEMBIMBING............................................ ii LEMBAR PENGESAHAN PENGUJI ..................................................... iii LEMBAR PERNYATAAN KEASLIAN ................................................. iv HALAMAN PERSEMBAHAN ................................................................ v HALAMAN MOTTO ............................................................................... vi KATA PENGANTAR ............................................................................... vii SARI .......................................................................................................... ix TAKARIR ................................................................................................. x DAFTAR ISI ............................................................................................. xii DAFTAR GAMBAR................................................................................. xv DAFTAR TABEL ..................................................................................... xviii BAB I PENDAHULUAN .........................................................................
1
1.1
Latar Belakang ..............................................................................
1
1.2
Rumusan Masalah .........................................................................
2
1.3
Batasan Masalah ...........................................................................
2
1.4
Tujuan Penelitian ..........................................................................
2
1.5
Manfaat Penelitian ........................................................................
3
1.6
Metodologi Penelitian ...................................................................
3
1.6.1 Pengumpulan Data..................................................................
3
1.6.2 Pengembangan Sistem ............................................................
4
Sistematika Penulisan....................................................................
4
BAB II LANDASAN TEORI....................................................................
6
1.7
2.1
Sistem Pendukung Keputusan .......................................................
6
2.2
Teorema Bayes dan Naïve Bayessian Classification ......................
7
2.3
Fitness ..........................................................................................
8
2.3.1 Program Fitness Secara Umum ...............................................
9
2.3.1.1 Program Menambah Berat Badan.........................................
9
2.3.1.2 Program Mengurangi Berat Badan (Diet) .............................
11
xiii
2.3.1.3 Program Pembentukan Otot Tubuh (Muscle Building) ..........
11
2.4
Kalkulator Kesehatan ....................................................................
12
2.5
Android .........................................................................................
15
2.5.1 Versi-versi Android ................................................................
15
2.5.2 Fitur-fitur Android ..................................................................
16
2.5.3 Coding Android ......................................................................
17
Bahasa Pemrograman XML (Extensible Markup Language) ..........
18
2.6.1 Tipe XML................................................................................
19
2.7
Bahasa Pemrograman Java ............................................................
19
2.8
Perangkat Lunak Pendukung .........................................................
20
2.8.1 Eclipse IDE.............................................................................
20
2.8.2 Android SDK ..........................................................................
21
2.6
2.9
SQLite Database ...........................................................................
21
BAB III ANALISIS SISTEM ...................................................................
22
3.1
Permodelan ...................................................................................
22
3.1.1 Atribut....................................................................................
22
3.1.2 Kelas ......................................................................................
22
3.1.3 Tabel Aturan Dan Perangkingan .............................................
23
BAB IV ANALISIS DAN PERANCANGAN ..........................................
30
4.1
Analisis Kebutuhan Perangkat Lunak ............................................
30
4.1.1 Analisis Kebutuhan Proses ......................................................
30
4.1.2 Analisis Kebutuhan Input ........................................................
31
4.1.3 Analisis Kebutuhan Output .....................................................
32
4.1.4 Analisis Kebutuhan Perangkat Keras .......................................
32
4.1.5 Analisis Kebutuhan Perangkat Lunak ......................................
33
4.2
Perancangan Perangkat Lunak .......................................................
34
4.2.1 Metode Perancangan ..............................................................
34
4.2.2 Hasil Perancangan ..................................................................
35
4.2.2.1 Perancangan Diagram HIPO ...........................................
35
4.2.2.2 Perancangan Tabel Basis Data ........................................
58
xiv
4.2.2.3 Perancangan Diagram Alir (Flow Chart) Naive Bayessian Classification…………………........................................ 60 4.2.2.4 Perancangan Antarmuka ..............................................
60
BAB V IMPLEMENTASI DAN PENGUJIAN .......................................
77
5.1
Implementasi Perangkat Lunak .....................................................
77
5.2
Batasan Implementasi ...................................................................
77
5.3
Implementasi Rancangan Antarmuka ............................................
78
5.3.1 Halaman Splash Screen ..........................................................
78
5.3.2 Halaman Home Aplikasi .........................................................
78
5.3.3 Menu About............................................................................
79
5.3.4 Menu Help .............................................................................
80
5.3.5 Halaman History ....................................................................
80
5.3.6 Halaman Informasi Program Fitness dan Kalkulator Program
81
5.3.7 Halaman Informasi Variasi Latihan Olahraga Fitness .............
85
5.3.8 Halaman Informasi Nutrisi Untuk Olahraga Fitness................
87
5.3.9 Halaman Kalkulator Sehat ......................................................
91
5.4 Pengujian .......................................................................................
94
5.4.1 Pengujian di OS Android ........................................................
94
5.4.2 Pengujian Program .................................................................
98
5.4.2.1 Analisis Kinerja Perangkat Lunak .................................
98
5.4.2.2 Perbandingan Perhitungan Manual................................
101
5.4.3 Pengujian Kinerja Sistem .......................................................
103
BAB VI KESIMPULAN DAN SARAN....................................................
109
6.1
Kesimpulan ...................................................................................
109
6.2
Saran .............................................................................................
110
DAFTAR PUSTAKA ................................................................................
111
xv
DAFTAR GAMBAR
Gambar 2.1
Aplikasi Sederhana Kata “Assalamualaikum Tsabit” ............
18
Gambar 4.1
Diagram HIPO .....................................................................
37
Gambar 4.2
VTOC Proses Loading .........................................................
40
Gambar 4.3
VTOC Proses Home .............................................................
40
Gambar 4.4
VTOC Proses Fitness ...........................................................
41
Gambar 4.5
VTOC Proses About .............................................................
41
Gambar 4.6
VTOC Proses Help...............................................................
42
Gambar 4.7
VTOC Proses Exit ................................................................
42
Gambar 4.8
VTOC Proses Program .........................................................
44
Gambar 4.9
VTOC Proses Latihan ..........................................................
45
Gambar 4.10 VTOC Proses Triceps ..........................................................
47
Gambar 4.11 VTOC Proses Biceps ............................................................
48
Gambar 4.12 VTOC Proses Back ..............................................................
49
Gambar 4.13 VTOC Proses Shoulder ........................................................
49
Gambar 4.14 VTOC Proses Chest .............................................................
50
Gambar 4.15 VTOC Proses Forearm ........................................................
51
Gambar 4.16 VTOC Proses Abs ................................................................
52
Gambar 4.17 VTOC Proses Legs ...............................................................
52
Gambar 4.18 VTOC Proses Nutrisi ...........................................................
54
Gambar 4.19 VTOC Proses Kalkulator Sehat ............................................
56
Gambar 4.20 VTOC Proses History ..........................................................
57
Gambar 4.21 Diagram Alir (Flow Chart) Naïve Bayessian Classification..
60
Gambar 4.22 Rancangan Antarmuka Halaman Loading ............................
61
Gambar 4.23 Rancangan Antarmuka Halaman Home ................................
62
Gambar 4.24 Rancangan Antarmuka Halaman About ................................
62
Gambar 4.25 Rancangan Antarmuka Halaman Help ..................................
63
Gambar 4.26 Rancangan Antarmuka Halaman Program ............................
64
Gambar 4.27 Rancangan Antarmuka Kategori Aktivitas harian .................
64
xvi
Gambar 4.28 Rancangan Antarmuka Halaman Menambah Berat Badan ....
65
Gambar 3.29 Rancangan Antarmuka Halaman Mengurangi Berat Badan ..
66
Gambar 3.30 Rancangan Antarmuka Halaman Pembentukan badan ..........
66
Gambar 3.31 Rancangan Antarmuka Halaman Kalkulator Program...........
67
Gambar 3.32 Rancangan Antarmuka Halaman Latihan..............................
68
Gambar 3.33 Rancangan Antarmuka Halaman Biceps Workout .................
69
Gambar 3.34 Rancangan Antarmuka Halaman Biceps-hammercurl ...........
70
Gambar 3.35 Rancangan Antarmuka Halaman Nutrisi...............................
71
Gambar 3.36 Rancangan Antarmuka Halaman Nasi Merah .......................
72
Gambar 3.37 Rancangan Antarmuka Halaman Kalkulator Sehat ...............
73
Gambar 3.38 Rancangan Antarmuka Halaman Konsumsi Air Perhari........
74
Gambar 3.39 Rancangan Antarmuka Halaman Berat Ideal ........................
74
Gambar 3.40 Rancangan Antarmuka Halaman Tinggi Ideal ......................
75
Gambar 3.41 Rancangan Antarmuka Halaman History ..............................
76
Gambar 5.1
Splashscreen ........................................................................
78
Gambar 5.2
Halaman Home ....................................................................
79
Gambar 5.3
Halaman About ....................................................................
79
Gambar 5.4
Menu Help ...........................................................................
80
Gambar 5.5
Menu History .......................................................................
81
Gambar 5.6
Halaman Program ................................................................
81
Gambar 5.7
Menu Kalkulator SPK Program Fitness ................................
82
Gambar 5.8
Menu Kategori Aktivitas ......................................................
83
Gambar 5.9
Menu Menambah Berat Badan .............................................
83
Gambar 5.10 Menu Mengurangi Berat Badan............................................
84
Gambar 5.11 Menu Pembentukan..............................................................
84
Gambar 5.12 Halaman Latihan ..................................................................
85
Gambar 5.13 Menu Triceps .......................................................................
86
Gambar 5.14 Menu Rope Press Down .......................................................
86
Gambar 5.15 Halaman Nutrisi ...................................................................
87
Gambar 5.16 Menu Putih Telur .................................................................
87
xvii
Gambar 5.17 Menu Roti ............................................................................
88
Gambar 5.18 Menu Sayuran ......................................................................
88
Gambar 5.19 Menu Buah-buahan ..............................................................
89
Gambar 5.20 Menu Dada Ayam ................................................................
89
Gambar 5.21 Menu Daging Merah ............................................................
90
Gambar 5.22 Menu Nasi Merah ................................................................
90
Gambar 5.23 Menu Susu ...........................................................................
91
Gambar 5.24 Halaman Kalkulator Sehat....................................................
91
Gambar 5.25 Menu Kalkulator Konsumsi Air Harian ................................
92
Gambar 5.26 Menu Tinggi Ideal................................................................
93
Gambar 5.27 Menu Berat Ideal..................................................................
93
Gambar 5.28 Pengujian Pada Samsung Galaxy Mini .................................
95
Gambar 5.29 Pengujian Pada Sony Ericsson Live Walkman......................
96
Gambar 5.30 Pengujian Pada Sony Ericsson Xperia X8 ............................
96
Gambar 5.31 Pengujian Pada Samsung Galaxy S2 ....................................
97
Gambar 5.32 Pengujian Pada Samsung Galaxy Young ..............................
97
Gambar 5.33 Pengujian Kalkulator Program .............................................
99
Gambar 5.34 Tampilan Teks Rekomendasi Program .................................
99
Gambar 5.35 Tampilan Data Berhasil Ditambah........................................
100
Gambar 5.36 Teks Anjuran Program .........................................................
100
xviii
DAFTAR TABEL
Tabel 3.1 Atribut ......................................................................................
22
Tabel 3.2 Kelas ........................................................................................
22
Tabel 3.3 Tabel Aturan Data training member aktif fitness di Yogyakarta
23
Tabel 3.4 Nilai probabilitas atribut Berat badan ........................................
25
Tabel 3.5 Nilai probabilitas atribut Tinggi badan ......................................
26
Tabel 3.6 Nilai probabilitas atribut Lingkar pinggang ...............................
26
Tabel 3.7 Nilai probabilitas atribut Aktivitas harian..................................
27
Tabel 4.1 Overview dan Detail Diagram Home .........................................
40
Tabel 4.2 Overview dan Detail Diagram Fitness .......................................
41
Tabel 4.3 Overview dan Detail Diagram About .........................................
41
Tabel 4.4 Overview dan Detail Diagram Help...........................................
42
Tabel 4.5 Overview dan Detail Diagram Exit ............................................
43
Tabel 4.6 Overview dan Detail Diagram Program .....................................
44
Tabel 4.7 Overview dan Detail Diagram Latihan ......................................
46
Tabel 4.8 Overview dan Detail Diagram Triceps ......................................
48
Tabel 4.9 Overview dan Detail Diagram Biceps ........................................
48
Tabel 4.10 Overview dan Detail Diagram Back ..........................................
49
Tabel 4.11 Overview dan Detail Diagram Shoulder ....................................
50
Tabel 4.12 Overview dan Detail Diagram Chest .........................................
50
Tabel 4.13 Overview dan Detail Diagram Forearm ....................................
51
Tabel 4.14 Overview dan Detail Diagram Abs ............................................
52
Tabel 4.15 Overview dan Detail Diagram Legs ...........................................
53
Tabel 4.16 Overview dan Detail Diagram Nutrisi .......................................
54
Tabel 4.17 Overview dan Detail Diagram Kalkulator Sehat ........................
56
Tabel 4.18 Overview dan Detail Diagram History ......................................
57
Tabel 4.19 Tabel Aturan.............................................................................
58
Tabel 4.20 Tabel Hobiku ............................................................................
59
Tabel 5.1 Perangkat Pengujian .................................................................
94
Tabel 5.2 Pengujian Sistem Terhadap Data Aktual ...................................
103
xix
Tabel 5.3 Perbandinagn hasil perhitungan sistem antara keputusan aktual dengan keputusan sistem data ke 11 ......................................................
106
Tabel 5.4 Perbandinagn hasil perhitungan sistem antara keputusan aktual dengan keputusan sistem data ke 13 ......................................................
107
Tabel 5.5 Perbandinagn hasil perhitungan sistem antara keputusan aktual dengan keputusan sistem data ke 38 ......................................................
107
Tabel 5.6 Pengujian Kinerja Sistem ..........................................................
108