
Quiz Pemrograman Lua
Quiz
•
Information Technology (IT)
•
4th Grade
•
Practice Problem
•
Hard
nadindra ariyanta
Used 2+ times
FREE Resource
Enhance your content in a minute
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
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
15 questions
Subject-Verb Agreement
Quiz
•
4th Grade
21 questions
Factors and Multiples
Quiz
•
4th Grade
20 questions
Prepositions and prepositional phrases
Quiz
•
4th Grade
13 questions
Point of View
Quiz
•
4th Grade
10 questions
Charlie Brown's Thanksgiving Adventures
Interactive video
•
2nd - 5th Grade
19 questions
Energy, Electricity,Conductors and Insulators
Quiz
•
4th Grade
14 questions
Context Clues
Quiz
•
4th - 6th Grade
