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

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

12th Grade

20 Qs

quiz-placeholder

Similar activities

Kuis Aplikasi Pengolah Angka

Kuis Aplikasi Pengolah Angka

12th Grade - University

20 Qs

INFORMATIKA 2

INFORMATIKA 2

1st - 12th Grade

20 Qs

Microsoft Office

Microsoft Office

7th Grade - University

20 Qs

Kuis Ms Excel

Kuis Ms Excel

12th Grade - University

20 Qs

Latihan 4 USP - PBO

Latihan 4 USP - PBO

12th Grade

20 Qs

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

Uji Pemahaman Formula Excel

Uji Pemahaman Formula Excel

9th Grade - University

15 Qs

Pemrograman Arduino

Pemrograman Arduino

12th Grade

20 Qs

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

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

Assessment

Quiz

Computers

12th Grade

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?