Unit 1 - Introduction to Kotlin (L2)[ID]

Quiz
•
Computers
•
12th Grade
•
Easy
Widayat Prasetiyo
Used 6+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Manakah dari deklarasi variabel berikut yang valid?
var hello: Int? = ""
String "hello" = hello
val hello = "hello"
hello: String = "hello"
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Ini dianggap sebagai praktik terbaik untuk mendeklarasikan variabel yang tidak akan berubah menggunakan var, bukan val.
Benar
Salah
3.
MULTIPLE SELECT QUESTION
30 sec • 5 pts
Manakah dari pernyataan berikut ini yang merupakan cara valid untuk mengupdate variabel?
total++
total - 1
total--
total = total + 1
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Di Kotlin, komentar boleh satu atau beberapa baris dan akan diabaikan oleh compiler.
Benar
Salah
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Manakah dari pilihan berikut ini yang bukan merupakan jenis data di Kotlin?
String
Decimal
Int
Boolean
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Float juga mewakili desimal, tetapi kurang akurat daripada Double.
Benar
Salah
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Di Kotlin, titik entri program adalah ___.
Pernyataan println()
Variabel val
fungsi main()
Pernyataan return
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Основи Kotlin

Quiz
•
12th Grade
20 questions
Teknologi Layanan Jaringan VoIP

Quiz
•
12th Grade
20 questions
quiz dasar python

Quiz
•
1st Grade - University
19 questions
Mobile App Dev Trivia

Quiz
•
9th - 12th Grade
15 questions
APCSP Cumulative Test 2

Quiz
•
9th - 12th Grade
20 questions
Fungsi IF, AND dan OR

Quiz
•
10th - 12th Grade
17 questions
Quiz sobre la evolución de Android

Quiz
•
12th Grade
20 questions
Aplikasi Pengolah Angka

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade