Perhitungan Nilai Pretest dan Posttest di SMK Muhammadiyah Kudus Analisis Frekuensi Nilai Pretest dan Posttest di SMK Muhammadiyah Kudus Perhitungan Persebaran Gain SMK Muhammadiyah Kudus

281

3. Perhitungan Nilai Pretest dan Posttest di SMK Muhammadiyah Kudus

Descriptive Statistics N Mean Std. Deviation Minimum Maximum Pretest 24 29.96 7.310 8 38 Postest 24 34.08 4.818 21 38 Wilcoxon Signed Ranks Test Ranks N Mean Rank Sum of Ranks Postest - Pretest Negative Ranks 3 a 13.83 41.50 Positive Ranks 18 b 10.53 189.50 Ties 3 c Total 24 a. Postest Pretest b. Postest Pretest c. Postest = Pretest Test Statistics a Postest - Pretest Z -2.576 b Asymp. Sig. 2-tailed .010 a. Wilcoxon Signed Ranks Test b. Based on negative ranks. Keterangan : Nilai Asymp. Sig 2-tailed = 0.010 0.05 Berarti Terdapat Perbedaan antara Pretest dan Posttest

4. Analisis Frekuensi Nilai Pretest dan Posttest di SMK Muhammadiyah Kudus

Kategori Prettest Frequency Percent Valid Percent Cumulative Percent Valid Amat Baik 13 54.2 54.2 54.2 Baik 9 37.5 37.5 91.7 Cukup 1 4.2 4.2 95.8 Kurang 1 4.2 4.2 100.0 Total 24 100.0 100.0 Kategori Posttest Frequency Percent Valid Percent Cumulative Percent Valid Amat Baik 20 83.3 83.3 83.3 Baik 4 16.7 16.7 100.0 Total 24 100.0 100.0 282

I. Perhitungan Persebaran Gain 1. Perhitungan Persebaran Gain SMK Negeri 2 Pati

2. Perhitungan Persebaran Gain SMK Muhammadiyah Kudus

Kategori Gain Frequency Percent Valid Percent Cumulative Percent Valid 3 12.5 12.5 12.5 Rendah 5 20.8 20.8 33.3 Sedang 10 41.7 41.7 75.0 Tinggi 6 25.0 25.0 100.0 Total 24 100.0 100.0 Kategori Gain Frequency Percent Valid Percent Cumulative Percent Valid 1 5.0 5.0 5.0 Rendah 1 5.0 5.0 10.0 Sedang 11 55.0 55.0 65.0 Tinggi 7 35.0 35.0 100.0 Total 20 100.0 100.0 283 LAMPIRAN 7 KODE PROGRAM 284 Lampiran 6 Kode Program A. Kode intro SharedPreferences sharedPreferences ; MediaPlayer player ; MediaPlayer mp ; Override protected void onCreateBundle savedInstanceState { super .onCreatesavedInstanceState; setContentViewR.layout. activity_intro ; sharedPreferences = getSharedPreferences Configure , Context. MODE_PRIVATE ; mp = MediaPlayer.create this , R.raw. suara_klik ; ImageView mulai = ImageView findViewByIdR.id. mulai ; mulai.setOnClickListener new View.OnClickListener { Override public void onClickView v { mp .start; cek nama jika ada langsung ke halaman Main activity jika tidak muncul kotak dialog String nama = sharedPreferences .getString Nama , null ; if nama == null { final EditText input = new EditTextIntro. this ; input.setInputTypeInputType. TYPE_CLASS_TEXT | InputType. TYPE_TEXT_VARIATION_PERSON_NAME ; new AlertDialog.BuilderIntro. this .setTitle Masukkan Nama .setViewinput .setCancelable true .setPositiveButton Mulai , new DialogInterface.OnClickListener { public void onClickDialogInterface dialog, int whichButton { if input = null || input .getText.toString.isEmpty || input .getText.toString.matches [A-Za-z] { SharedPreferences.Editor editor = sharedPreferences .edit; editor.putString Nama , input .getText.toString.trim; editor.apply; Intent intent = new IntentIntro. this , MainActivity. class ; startActivityintent; } dialog.dismiss; } } .setNegativeButton Batal , new DialogInterface.OnClickListener { public void onClickDialogInterface 285 dialog, int whichButton { dialog.dismiss; } } .show; } else { Intent intent = new IntentIntro. this , MainActivity. class ; startActivityintent; } } }; ImageView tentang = ImageView findViewByIdR.id. tentang ; tentang.setOnClickListener new View.OnClickListener { Override public void onClickView v { mp .start; Intent intent = new IntentIntro. this , Tentang. class ; startActivityintent; } }; ImageView petunjuk = ImageView findViewByIdR.id. petunjuk ; petunjuk.setOnClickListener new View.OnClickListener { Override public void onClickView v { mp .start; Intent intent = new IntentIntro. this , Petunjuk. class ; startActivityintent; } }; ImageView referensi = ImageView findViewByIdR.id. referensi ; referensi.setOnClickListener new View.OnClickListener { Override public void onClickView v { mp .start; Intent intent = new IntentIntro. this , Referensi. class ; startActivityintent; } }; ImageView tujuan = ImageView findViewByIdR.id. tujuan ; tujuan.setOnClickListener new View.OnClickListener { Override public void onClickView v { mp .start; Intent intent = new IntentIntro. this , Tujuan. class ; startActivityintent; } }; } Override protected void onDestroy { super .onDestroy; player .stop; } public void onResume { if player == null { player = MediaPlayer.createIntro. this , R.raw. musik_home ; 286 player .setLooping true ; Set looping player .setVolume 1.0f , 1.0f ; player .start; } super .onResume; player .start; } public void onPause { player .pause; super .onPause; } Override protected void onStop { player .pause; super .onStop; } }

B. Kode adaptive tes