
Quiz Pemrograman Lua
Quiz
•
Information Technology (IT)
•
4th Grade
•
Hard
nadindra ariyanta
Used 2+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pilihlah tipe data yang tepat untuk menyimpan angka desimal:
string
number
boolean
function
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang akan terjadi jika kita menulis kode berikut? print("Hello World")
Program akan menghasilkan error
Program akan mencetak angka 0
Program akan mencetak teks "Hello World"
Program akan menampilkan gambar
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan variabel dalam Lua?
Tempat untuk menyimpan nilai yang dapat berubah
Fungsi yang mengembalikan nilai
Tipe data untuk menyimpan angka
Perintah untuk mengakhiri program
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jika kita ingin menghitung dari angka 1 hingga 5 menggunakan perulangan, kode mana yang benar?
for i = 1, 5 do print(i) end
while i <= 5 do print(i) end
for i = 5, 1 do print(i) end
for i = 1, 10, 2 do print(i) end
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut? local x = 10 if x > 5 then print("Lebih besar dari 5") else print("Lebih kecil dari 5") end
Lebih kecil dari 5
Lebih besar dari 5
Program error
Tidak ada output
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pilih fungsi yang benar untuk membuat pesan muncul di konsol Roblox Studio:
alert()
display()
print()
show()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa tujuan dari penggunaan fungsi dalam kode?
Untuk mempercepat proses coding
Untuk mengatur perulangan dalam program
Untuk mengelompokkan kode yang memiliki fungsi tertentu agar mudah digunakan berulang kali
Untuk menyimpan data
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
9 questions
Fact and Opinion
Quiz
•
3rd - 5th Grade
20 questions
place value
Quiz
•
4th Grade
10 questions
Order of Operations No Exponents
Quiz
•
4th - 5th Grade
20 questions
Place Value and Rounding
Quiz
•
4th Grade
12 questions
Text Structures
Quiz
•
4th Grade
15 questions
Subject-Verb Agreement
Quiz
•
4th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...