Thursday, August 9, 2018

code sederhana membuat game di notepad

@echo off

color 0a

:menu
cls
echo Hai! Selamat Datang Di Game! Selamat bermain!
echo Game Ini Di Buat oleh: Ms.maya
echo 1) Mulai!
echo 2) cara main
echo 3) Keluar
set /p number=

if %number% == 1 goto Mulai!
if %number% == 2 goto cara main
if %number% == 3 goto keluar

:Mulai!
cls
echo Siapa Nama Mu:
set /p name=
echo Halo %name%!
echo Apakah Kamu akan mulai quiz? (y/t)
set /p start=
if %start% == y goto level1
if %start% == t goto menu
goto Mulai!

:cara main
cls
echo pencet pilihan lalu ketik enter
echo pergi ke menu? (y/t)
set /p menugoto=
if %menugoto% == y goto menu
if %menugoto% == t goto exit
goto cara main

:keluar
cls
echo apakah anda yakin ingin keluar game?(y/t)
set /p keluargoto=
if %keluargoto% == y goto exit
if %keluargoto% == t goto menu
goto keluar

:level1
cls
echo ok sekarang mulai.
echo berapa hasil 10 + 10?
echo a) 1
echo b) 20
echo c) 500

set /p answer1=
if %answer1% == a goto wrong1
if %answer1% == b goto correct1
if %answer1% == c goto wrong1
goto level1

:correct1
echo betul mau lanjut level 2?(y/t)
set /p NL1=

if %NL1% == y goto level2
if %NL1% == t goto menu
goto correct1

:Wrong1
Echo salah mau ulang? (y/t)
set /p WA1=
if %WA1% == y goto level1
if %WA1% == t goto menu
goto wrong1

:level2

cls
echo Siapa yang ada di uang 100 dollar?
echo a) Ben Franklin
echo b) Tommy King
echo c) Thomas Train
echo d) Jeff Dunham
set /p aa=
if %aa% == a goto correct2
if %aa% == b goto wrong2
if %aa% == c goto wrong2
if %aa% == d goto wrong2
goto level2

:correct2
echo Kamu betul mau Lanjut level 3?(y/t)
set /p NL1=
if %NL1% == y goto level3
if %NL1% == t goto menu
goto correct2

:wrong2
cls
echo SALAH!Mau ulang? (y/t)
set/p retry=
if %retry% == y goto level1
if %retry% == t goto exit
goto wrong2

:level3
cls
echo berapa 5x5?
echo a) 30
echo b) 89
echo c) 25

set /p answer3=
if %answer3% == a goto wrong3
if %answer3% == b goto wrong3
if %answer3% == c goto correct3
goto level3

:correct3
echo betul mau lanjut level 4?(y/t)
set /p NL1=
if %NL1% == y goto level4
if %NL1% == t goto menu
goto correct3

:wrong3
cls
echo salah mau ulang?(y/t)
set/p retry=
if %retry% == y goto level1
if %retry% == t goto exit
goto wrong3

:level4
cls
echo siapa penemu lampu?
echo a)Thomas Alvadison
echo b)Johan Edvard
echo c)John Shore
echo d)Samuel Miller
set /p aa=
if %aa% == a goto correct4
if %aa% == b goto wrong4
if %aa% == c goto wrong4
if %aa% == d goto wrong4
goto level4

:correct4
echo betul mau lanjut level 5?(y/t)
set /p NL1=
if %NL1% == y goto level5
if %NL1% == t goto menu
goto correct4

:wrong4
cls
echo salah mau ulang?(y/t)
set/p retry=
if %retry% == y goto level4
if %retry% == t goto exit
goto wrong4

:level5
cls
echo berapa hasil -20:(-2)?
echo a)10
echo b)5
echo c)20

set /p answer5=
if %answer5% == a goto correct5
if %answer5% == b goto wrong5
if %answer5% == c goto wrong5
goto level5

:correct5
echo betul mau lanjut level 6?(y/t)
set/p NL1=

if %NL1% == y goto level6
if %NL1% == t goto menu
goto correct1

:wrong5
cls
echo Salah mau ulang?(y/t)
set/p retry=
if %retry% == y goto level5
if %retry% == t goto exit
goto wrong5

:level6
cls
echo Siapa Penemu Bakteri?
echo a)Orang Gila
echo b)Alexander Fleming
echo c)Alexander Grahambell
echo d)Muhammad Faqih`
set /p aa=
if %aa% == a goto wrong6
if %aa% == b goto correct6
if %aa% == c goto wrong6
if %aa% == d goto wrong
goto level6

:correct6
echo betul mau lanjut level7?(y/t)
set/p NL1=

if %NL1% == y goto level7
if %NL1% == t goto menu
goto correct7

:wrong6
cls
echo Salah mau ulang?(y/t)
set/p retry=
if %retry% == y goto level7
if %retry% == t goto exit
goto wrong7

:level7
cls
echo berapa hasil -40:2:(-4)?
echo a)13
echo b)20
echo c)5

set/p answer7=
if %answer7% == a goto wrong7
if %answer7% == b goto wrong7
if %answer7% == c goto correct7
goto level7

:correct7
echo betul mau lanjut level8? (y/t)
set/p NL1=

if %NL1% == y goto level8
if %NL1% == t goto menu
goto correct7

:wrong7
cls
echo Salah mau ulang?(y/t)
set/p retry=
if %retry% == y goto level7
if %retry% == t goto exit
goto wrong7

:level8
cls
echo Siapa Presiden Amerika
echo a)Barrak Obama
echo b)SBY
echo c)Soekarano
echo d)Moh.Hatta
set /p aa=
if %aa% == a goto correct8
if %aa% == b goto wrong8
if %aa% == c goto wrong8
if %aa% == d goto wrong8

:correct8
echo betul mau lanjut level9?(y/t)
set/p NL1=

if %NL1% == y goto level9
if %NL1% == t goto menu
goto correct8

:wrong8
cls
echo Salah mau ulang?(y/t)
set/p retry=
if %retry% == y goto level8
if %retry% == t goto exit
goto wrong8

:level9
echo berapa hasil 3x(-2)=
echo a)-100
echo b)400
echo c)-6

set /p answer9=
if %answer9% == a goto wrong9
if %answer9% == b goto wrong9
if %answer9% == c goto correct9
goto level9

:correct9
echo betul mau lanjut level 10?(y/t)
set/p NL1=

if %NL1% == y goto level10
if %NL1% == t goto menu
goto correct1

:wrong9
cls
echo Salah mau ulang?(y/t)
set/p retry=
if %retry% == y goto level9
if %retry% == t goto exit
goto wrong9

:level10
cls
echo Siapa penemu telepon?
echo a)Orang Gembel
echo b)Adnan Majid
echo c)Alexander Grahambell
echo d)SBY
set /p aa=
if %aa% == a goto wrong10
if %aa% == b goto wrong10
if %aa% == c goto correct10
if %aa% == d goto wrong10
goto level10

:correct10
cls
echo SELAMAT KAMU MENANG!
echo KEEP VISIT : adnan-tekaje2.blogspot.com
goto correct10

:wrong10
cls
echo KAMU KALAH MAU ULANG GAME!? (y/t)
set/p retry=
if %retry% == y goto level1
if %retry% == t goto exit
goto wrong10

Friday, September 15, 2017

Tuesday, November 15, 2016

Cara Installasi Debian 6 Net-Install ( How to install Debian 6 Net-Install Version from flashdisk )

download di sini tutorialnya


Download

Cara mematikan Laptop dari windows

Buat yang suka terburu buru untuk mematikan laptop atau untuk tindakan jaga jaga jika laptop digunakan anak kita yang masih kecil, maka trik ini bisa dilakukan


1. Klik menu start
2. Pilih control panel
3. Alihkan view by menjadi small icon (lihat layar pojok kanan atas)
4. Klik menu power options
5. Di sidebar kiri klik choose what closing the lid does
6. Akan muncul system settings, perhatikan When I close the lid
7. Ganti kondisinya menjadi shutdown, baik saat hanya menggunakan baterai ataupun listrik (atau terserah ente)
8. Pilih save changes
9. Nah sekarang langsung tutup flip layar laptop ente. Apa yang terjadi? Ya, windows akan secara otomatis menshutdown laptop ente. Gampang kan!
cobo mencobo cobo :D

Jika ente ingin agar saat laptop ditutup melakukan sleep atau hibernate maupun do nothing, hal ini cukup ente setting seperti pada langkah ke 7. Kemudian pilih save changes. ane sendiri lebih suka mensettingnya dalam kondisi hibernate, karena khawatir ada teman yang secara tidak sengaja menutup flip layar laptop ane saat ane mengerjakan tugas, sehingga akan berpotensi kehilangan data penting yang belum tersimpan.

Sunday, October 23, 2016

Contoh Penulisan CV dan Surat Lamaran

Assalamualaikum Wr.wb

pada kesempatan kali ini saya akan membagikan Teknik Penulisan CV dan Surat Lamaran kerja yang sudah pernah saya dapat pada kesempatan Seminar tahun lalu ..


intro
Curriculum Vitae (CV) atau Daftar Riwayat Hidup sering juga disebut Resume. Saat Anda melamar pekerjaan sangat identik dengan CV yang efektif. Penulisan CV merupakan cermin diri dari sang pemilik CV, apa yang Anda tulis di dalam CV tersebut maka orang lain dapat melihat dan menilai diri Anda. Karena itu CV yang baik dapat mengantarkan Anda menuju kesuksesan. Hal yang cukup penting untuk diingat yaitu bahwa CV yang baik akan selalu memikat perhatian perusahaan yang dilamar. Dari CV akan tergambar bagaimana sosok pemilik CV tersebut, misalnya memiliki motivasi kerja, kepribadian, keaktifan, pengalaman, keterampilan dan keluasan minat. Berikut beberapa tips agar perusahaan mau melirik CV Anda.

ok langsung saja nih gan Sedotttt aja nih di sini 


Download

Saturday, October 22, 2016

Cara Menghitung Korelasi Suhu Ruangan

Assalamualaikum

Helloooo para pembaca pada kesempatan kali ini saya akan shering tentang bagaimana cara menghitung korelasi suhu ruangan .



sebelum masuk ke dalam topik , pembaca minimal harus tau apa itu korelasi supaya memudahkan saat pengerjaan tugas para pembaca.
korelasi  Secara sederhana dapat diartikan sebagai hubungan. Namun ketika dikembangkan lebih jauh, korelasi tidak hanya dapat dipahami sebatas pengertian tersebut. Korelasi merupakan salah satu teknik analisis dalam statistik yang digunakan untuk mencari hubungan antara dua variabel yang bersifat kuantitatif.
ok sedikit mengerti tentang korelasi
mari kita bersama belajar korelasi  cara menghitung korelasi suhu ruangan



keterangan



Nomor Tanggal Rata - Rata Jumlah
Suhu Ruangan Cacat
1 1 24 8
2 2 22 6
3 3 21 5
4 4 20 2
5 5 22 10
6 6 19 11
7 7 20 15
8 8 23 14
9 9 24 16
10 10 25 6
11 11 21 8
12 12 20 9
13 13 20 4
14 14 19 6
15 15 25 8
16 16 27 4
17 17 28 5
18 18 25 6
19 19 26 1
20 20 24 2
21 21 27 7
22 22 23 10
23 23 24 15
24 24 23 16
25 25 22 1
26 26 21 18
27 27 26 11
28 28 25 10
29 29 26 15
30 30 27 15

Tanggal Rata - Rata Jumlah

X2



Y2


XY
suhu ruangan (x) cacat
1 24 10 576 100 240
2 22 5 484 25 110
3 21 6 441 36 126
4 20 3 400 9 60
5 22 6 484 36 132
6 19 4 361 16 76
7 20 5 400 25 100
8 23 9 529 81 207
9 24 11 576 121 264
10 25 13 625 169 325
11 21 7 441 49 147
12 20 4 400 16 80
13 20 6 400 36 120
14 19 3 361 9 57
15 25 12 625 144 300
16 27 13 729 169 351
17 28 16 784 256 448
18 25 12 625 144 300
19 26 14 676 196 364
20 24 12 576 144 288
21 27 16 729 256 432
22 23 9 529 81 207
23 24 13 576 169 312
24 23 11 529 121 253
25 22 7 484 49 154
26 21 5 441 25 105
27 26 12 676 144 312
28 25 11 625 121 275
29 26 13 676 169 338
30 27 14 729 196 378
Total (Σ) 699 282 16487 3112 6861

selanjutnya cara menghitung korelasi




cara merubah file gambar menjadi huruf

Assalamualaikum wr.wb


di kesempatan kali ini saya akan membahas tentang cara merubah file jpg ke dalam tulisan yang akan memudahkan anda dalam hal meminimalkan waktu.
ok langsung  saja

langkah pertama

1. Pastikan anda sudah memiliki akun email (gmail) jika belum silahkan daftar  gmail
2. buka akun gmail anda
  
3. kemudian di pojok kanan atas,  klikdan  akan muncul tampilan google apps (Seperti gambar di atas)
4. klik apps Google Drive
5. setelah itu akan muncul tampilan google drive 

6. selanjutnya pilih My Drive --> Upload files... (perhatikan gambar di atas)
7. kemudian setelah itu akan muncul tampilan seperti gambar di bawah ini dan pilih file JPG yang mau di 
    rubah menjadi tulisan --> Open
8. langkah selanjutnya akan muncul proses pengUploadtan (Tunggu sampai selesai) seperti 
    gambar di bawah ini
9. jika sudah selesai/complete file yang di upload selanjutnya akan muncul di google drive anda

10. kemudian pilih klik kanan file yg sudah berhasil di upload pilih Open with --> Google Docs
11. jika sudah tunggu sampai Google Docs selesai memproses data . 

12. selanjutnya akan muncul tampilan seperti contoh di atas dan Selesai (geser rule ke bawah)

SELAMAT MENCOBA dan SEMOGA BERMANFAAT

 

ILMU KOMPUTER Template by Ipietoon Cute Blog Design and Bukit Gambang