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

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

12th Grade

20 Qs

quiz-placeholder

Similar activities

Kuiz Asas Komputer

Kuiz Asas Komputer

1st - 12th Grade

15 Qs

Final Review - Unit 2

Final Review - Unit 2

9th - 12th Grade

15 Qs

Aplikasi Pengolah Angkah / Spreadsheet

Aplikasi Pengolah Angkah / Spreadsheet

12th Grade

15 Qs

(Ulangan Harian Informatika) SMPN 2 Mengwi

(Ulangan Harian Informatika) SMPN 2 Mengwi

12th Grade

15 Qs

UTS TIK Kelas 8 2019

UTS TIK Kelas 8 2019

6th - 12th Grade

16 Qs

Quiz Penyambungan Fiber Optik

Quiz Penyambungan Fiber Optik

12th Grade

15 Qs

Mid Semester

Mid Semester

10th Grade - University

19 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

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?