Manakah dari deklarasi variabel berikut yang valid?
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
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 Quizizz
20 questions
quiz dasar python

Quiz
•
1st Grade - University
15 questions
Operator dan Kontrol Struktur PHP

Quiz
•
2nd Grade - University
20 questions
Aplikasi Pengolah Angka

Quiz
•
12th Grade - University
25 questions
PHP: Hypertext Preprocessor

Quiz
•
12th Grade
15 questions
Blogger

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

Quiz
•
12th Grade
16 questions
Основи Kotlin

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

Quiz
•
10th - 12th Grade
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 Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University