
While loops, Function & Parameter
Authored by Agung Pribadi
Design
1st Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa tujuan dari perintah forward(3) dalam program tersebut?
Membuka peti harta
Menggerakkan karakter ke kanan 3 langkah
Menggerakkan karakter maju sebanyak 3 langkah menuju peti
Mengumpulkan item dari peti
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa arti dari baris while chest.hasItem:?
Melakukan aksi hanya satu kali setelah membuka peti
Mengecek apakah karakter masih bisa maju
Mengulang pengambilan item selama peti belum kosong
Memastikan karakter berjalan mundur
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mengapa digunakan perulangan while dalam program tersebut?
Karena karakter harus berjalan terus-menerus
Karena kita tidak tahu jumlah item dalam peti, jadi harus terus mengumpulkan sampai habis
Karena membuka peti memerlukan perulangan
Karena karakter harus memutar arah
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi apa yang digunakan untuk mengambil item dari peti?
move()
open()
collect()
grab()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang terjadi jika kita menghilangkan baris open() dari program?
Program tetap berjalan normal
Karakter akan langsung mengumpulkan item tanpa masalah
Karakter tidak dapat mengambil item karena peti belum dibuka
Karakter tidak bisa maju
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa perintah pertama yang dilakukan karakter dalam program ini?
Membuka peti
Berbelok ke kiri
Mengambil item
Maju ke depan 4 langkah
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi dari perintah while chest.hasItem adalah...
Mengambil semua item sekaligus
Menyuruh karakter berjalan ke peti
Mengambil item satu per satu sampai habis
Membuka peti secara otomatis
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Distinguish and Differentiate Engineering Fields
Quiz
•
9th - 12th Grade
20 questions
QUIZ - Desain Grafis dan Nirmana
Quiz
•
12th Grade
20 questions
Week 4_Illustration Drawing
Quiz
•
University
20 questions
LATIHAN SOAL DMI 1
Quiz
•
12th Grade
20 questions
Kuiz RBT Tahun 4
Quiz
•
4th Grade
22 questions
Interior Design 1 4.0
Quiz
•
9th - 12th Grade
20 questions
RBT MEKATRONIK
Quiz
•
3rd Grade
20 questions
Soal SBK Kelas 8 Bab 2 (Gambar Ilustrasi)
Quiz
•
8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Design
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade