0% found this document useful (0 votes)
48 views1 page

Quiz-W02-Operator, Control Flow & Looping - Attempt Review

This document summarizes the results of a quiz on Kotlin operators, control flow, and looping taken on February 2, 2024. The quiz contained 7 multiple choice questions and was completed in 10 minutes and 30 seconds with an overall score of 80%. Each question is listed with the answer options and whether the user selected the correct answer.

Uploaded by

dwipurba77
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views1 page

Quiz-W02-Operator, Control Flow & Looping - Attempt Review

This document summarizes the results of a quiz on Kotlin operators, control flow, and looping taken on February 2, 2024. The quiz contained 7 multiple choice questions and was completed in 10 minutes and 30 seconds with an overall score of 80%. Each question is listed with the answer options and whether the user selected the correct answer.

Uploaded by

dwipurba77
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

  

 11S3211-Pengembangan Aplikasi Mobile S1IF-23/24


 Dashboard My courses 11S3211-PAM-S1IF 30 January - 5 February Quiz-W02-Operator, Control Flow & Looping


Started on Friday, 2 February 2024, 11:19 AM Quiz navigation

State Finished 1 2 3 4 5 6 7
Completed on Friday, 2 February 2024, 11:29 AM

Time taken 10 mins 30 secs
Show one page at a time
Grade 80.00 out of 100.00
 Finish review

Question 1
 Apakah perbedaan antara val dan var dalam deklarasi variabel Kotlin?
Correct

Mark 10.00 out


 of 10.00
a. val bersifat read-only, sedangkan var bersifat mutable 
Remove
 flag
b. val bersifat mutable, sedangkan var bersifat immutable

c. val hanya dapat diassign sekali, sedangkan var dapat diassign berkali-kali

d. val bersifat final, sedangkan var bersifat const

e. Tidak ada perbedaan antara val dan var


Your answer is correct.

The correct answer is:


val bersifat read-only, sedangkan var bersifat mutable

Question 2
Bagaimana cara menghentikan eksekusi loop while jika suatu kondisi terpenuhi?
Correct

Mark 10.00 out


of 10.00

Remove
a. Stop
flag
b. Continue

c. Halt

d. Exit

e. Break 

Your answer is correct.

The correct answer is:


Break

Question 3
Output dari program kotlin tersebut adalah…
Incorrect

Mark 0.00 out


of 20.00

Remove
flag

a. Nama: Red, Umur: 20, Menikah: false 

b. Error

c. Nama: Red, Umur: 20, Tinggi: 145.5, Menikah: false

d. Red, 20, 145.5, false

e. 20, Tinggi: 145.5, Red, Menikah: false

Your answer is incorrect.

The correct answer is:


Nama: Red, Umur: 20, Tinggi: 145.5, Menikah: false

Question 4
Output dari program kotlin tersebut adalah…
Correct

Mark 10.00 out


of 10.00

Remove
flag

a. 0.15

b. 100.0

c. 85.15

d. 85.0 

e. 14.85

Your answer is correct.

The correct answer is:


85.0

Question 5
Output dari program kotlin berikut adalah…
Correct

Mark 10.00 out


of 10.00

Remove
flag

a. 3

b. 1 

c. 4

d. 5

e. 2

Your answer is correct.

The correct answer is:


1

Question 6
Output dari program kotlin tersebut adalah…
Correct

Mark 20.00 out


of 20.00

Flag
question

a. Lebih besar dari 50

b. 40

c. Error

d. Angka kecil

e. Keep The Spirit! 

Your answer is correct.

The correct answer is:


Keep The Spirit!

Question 7
Output dari program kotlin tersebut adalah…
Correct

Mark 20.00 out


of 20.00

Flag
question

a. Max of 0 and 42 is 0

b. Max of 0 and 42 is 42 

c. Max of 0 and 42 is 2

d. Max of 0 and 42 is 1

e. Max of 0 and 42 is 84

Your answer is correct.

The correct answer is:


Max of 0 and 42 is 42

Finish review

Previous a ctivity Next a ctivity


Jump to...
◄ Laporan Praktikum 1 Laporan Praktikum 2 ►

You might also like