Scratch For Beginner
Scratch For Beginner
• Introduction to Coding
• Logical Structure of Coding
• Scratch Installation
• Scratch Beginner : Tutorial
• Develop a simple game: Practice
• Summary
Introduction to Coding
What is coding?
http://brianaspinall.com/10-reasons-kids-should-learn-to-code/
Why coding?
https://www.primotoys.com/5-reasons-kids-learn-coding/
Coding is necessary in Korea
▷ As of 2018, South Korea had
the highest density of robot
workers in the world
according to an article in the
World Economic Forum.
▷ Human Task (71%) in
healthcare, infrastructure,
professional service
▷ Robot (or Machine) Task (29%)
▷ In 2022, it is expected that
62% would be performed by
machine (robot)
8
Coding is necessary in Korea
▷ SD (5 -6) minimal 17 jam
(dimulai 2019) untuk
pelajaran “Basic Software”
▷ SMP minimal 34 jam untuk
mata pelajaran “Information”
(wajib)
▷ SMA – mata pelajaran
“Information” adalah pilihan
umum (bukan khusus).
9
Recommended Coding Curriculum
https://conol.co.kr/21 10
Logical Structure of Coding
Logical Structure of Coding
▷ Sequence
○ Step by step by the
order
▷ Selection
○ There is a rule or
condition to determine
the next step
▷ Loop
○ There is a rule or
condition to iterate
the next step
Logical Structure of Coding
▷ Cara menggoreng telur
○ Ambil telur dalam kulkas
○ Siapkan wajan
○ Panaskan wajan
○ Tuangkan minyak
○ Pecahkan telur dalam wajan
dengan minyak yang telah
panas
○ Tunggu hingga telur matang
○ Angkat telur dari wajan
○ Telur siap dimakan
Logical Structure of Coding
▷ Tujuan: identifikasi moda transportasi
○ Mulai
○ Masukkan tujuan (contoh:
supermarket)
○ JIKA jarak > 1 km MAKA
■ Naik mobil
○ JIKA jarak <= 1 km MAKA
■ Jalan kaki
○ Selesai
Logical Structure of Coding
▷ Tujuan: Makan pizza hingga habis
○ Mulai
○ Hitung jumlah pizza (contoh x = 3)
○ Apakah x sama dengan 0?
■ Makan
■ x dikurangi 1
○ Pizza habis
○ Selesai
Scratch Installation
Scratch Installation https://scratch.mit.edu/download
▷ Online Scratch
▷ Jika pertama kali
menggunakan scratch,
silakan memilih “Join
Scratch”.
▷ Ikuti langkah2
selanjutnya hingga
selesai.
Scratch Web Editor
Scratch Installation
21
Scratch Installation - Offline
Jika proses installation telah selesai, silakan jalankan program “Scratch Desktop”
22
Tutorial - Scratch Beginner
Scratch Basic Editor
Scratch Basic Editors
Everything about motion of objects
26
Example
27
Basic Editor – Motion - Sequence
28
Condition
Basic Editor - Selection
FALSE
Condition
TRUE
Condition
Condition
JIKA BENAR
JIKA SALAH
Basic Editor – Repeat Motion
(1)
Basic Editor – Repeat Motion
Hasilnya?
Komponen yang digunakan
36
Coding - Picking Apple
38
Coding - Picking Apple
Pilih Apel
39
Coding - Picking Apple
- Buat Coding’nya untuk Apel
- Tekan Apel
40
Coding - Picking Apple
41
Coding - Picking Apple
- Buat Coding Apel ketika diambil
42
Coding - Picking Apple
43
Coding - Picking Apple
44
Coding - Picking Apple (Variation)
▷ Tambah Background
(1). click
Tambahkan Background
45
Coding - Picking Apple (Variation)
▷ Tambahan suara
Komponen Tambahan
yang digunakan
46
Game
Coding – Simple Maze
▷ 1. Membuat Backdrops
▷ 2. Menentukan tujuan
▷ 3. Mengatur perjalanan sprite
Coding – Simple Maze
Coding – Simple Maze
(2). Pilih warna. Untuk tutorial ini, buat garis warna hitam
Setelah selesai
(1). Pilih kotak menggambar, kembali
ke “Code”
Coding – Simple Maze
▷ Click Button3
Komponen yang digunakan
Coding – Simple Maze
▷ Click Bola
UP RIGHT
DOWN LEFT
Coding – Simple Maze
▷ 질문?
59