Pilihlah tipe data yang tepat untuk menyimpan angka desimal:

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
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 Quizizz
25 questions
KELAS 4 BAB 8 PLBI

Quiz
•
4th Grade
25 questions
Javascript

Quiz
•
1st - 5th Grade
25 questions
ATS 1 Kelas 4 New

Quiz
•
4th Grade
25 questions
KELAS 5 BAB 8 PRAKTIK LINTAS BIDANG

Quiz
•
4th Grade
30 questions
Google Slides Quiz

Quiz
•
4th Grade
29 questions
Информатика 4 слив 2024

Quiz
•
1st - 5th Grade
25 questions
Internet dan Google Workspace

Quiz
•
4th Grade - University
30 questions
BAB 3 Teknologi Informasi & Komunikasi di Kelas 7

Quiz
•
1st Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
15 questions
Character Analysis

Quiz
•
4th Grade
10 questions
Identifying equations

Quiz
•
KG - University
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Addition and Subtraction

Quiz
•
4th Grade
20 questions
Multiplication Facts

Quiz
•
4th Grade
35 questions
Science Mania Quizizz

Quiz
•
4th - 5th Grade
11 questions
Flag Day

Quiz
•
4th Grade
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...