Quiz-W02-Operator, Control Flow & Looping - Attempt Review
Quiz-W02-Operator, Control Flow & Looping - Attempt Review
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
c. val hanya dapat diassign sekali, sedangkan var dapat diassign berkali-kali
Question 2
Bagaimana cara menghentikan eksekusi loop while jika suatu kondisi terpenuhi?
Correct
Remove
a. Stop
flag
b. Continue
c. Halt
d. Exit
e. Break
Question 3
Output dari program kotlin tersebut adalah…
Incorrect
Remove
flag
b. Error
Question 4
Output dari program kotlin tersebut adalah…
Correct
Remove
flag
a. 0.15
b. 100.0
c. 85.15
d. 85.0
e. 14.85
Question 5
Output dari program kotlin berikut adalah…
Correct
Remove
flag
a. 3
b. 1
c. 4
d. 5
e. 2
Question 6
Output dari program kotlin tersebut adalah…
Correct
Flag
question
b. 40
c. Error
d. Angka kecil
Question 7
Output dari program kotlin tersebut adalah…
Correct
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
Finish review