
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
Similar Resources on Wayground
35 questions
ASTS TIK 4 GENAP

Quiz
•
4th Grade - University
25 questions
Av1 - Revisão (parte nota 1)sobre HTML e CSS

Quiz
•
2nd Grade - University
26 questions
Quiz Pengenalan Sistem Operasi

Quiz
•
4th Grade
35 questions
Materi TIK Kelas 4 SD

Quiz
•
4th Grade
25 questions
PTS TIK 8D

Quiz
•
2nd Grade - University
30 questions
SUMATIF TENGAH SEMESTER II

Quiz
•
4th Grade
25 questions
KELAS 4 BAB 8 PLBI

Quiz
•
4th Grade
26 questions
Study Informatics From Home

Quiz
•
4th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Information Technology (IT)
12 questions
Passport Quiz 1

Quiz
•
1st - 5th Grade
10 questions
Making Predictions

Quiz
•
4th - 5th Grade
6 questions
Spiral Review 8/5

Quiz
•
4th Grade
18 questions
Rotation/Revolution Quiz

Quiz
•
4th Grade
22 questions
Geography Knowledge

Quiz
•
4th Grade
10 questions
Capitalization

Quiz
•
4th Grade
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Basic multiplication facts

Quiz
•
4th Grade