Kotlin Advanced Quiz 3
q
L
quizLearn
Select your answers and check your results. Use Reset to start again.
Practice Pronunciation (Merriam-Webster)
Search Google
Search
Navigation
HTML Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
HTML Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
HTML Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
CSS Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
CSS Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
CSS Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
PHP Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
PHP Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
PHP Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
GO Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
GO Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
GO Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Kotlin Beginner Quizzes
Quiz 1
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Kotlin Intermediate Quizzes
Quiz 1
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Kotlin Advanced Quizzes
Quiz 1
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Rust Beginner Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Rust Intermediate Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Rust Advanced Quizzes
Quiz 1,
Quiz 2,
Quiz 3,
Quiz 4,
Quiz 5
Quiz 3
1. Which function is used to bridge callback-based APIs to coroutines?
callbackToSuspend
suspendCoroutine
waitCoroutine
2. What happens if you call a Flow builder but never call 'collect'?
The code inside the flow never executes
It runs in the background and caches results
It throws an IllegalStateException
3. Which operator is used to change the execution context of a Flow?
withContext
flowOn
switchContext
4. What is the default capacity of a Channel?
UNLIMITED
CONFLATED
RENDEZVOUS (0)
5. Which builder creates a sub-scope that waits for all children but fails if any child fails?
coroutineScope
supervisorScope
globalScope
6. What was the concept of 'freezing' an object in Kotlin/Native?
Preventing garbage collection
Making an object immutable to share across threads
Serializing an object to disk
7. Why is the 'field' keyword essential in a custom setter?
For better performance
To make the property private
To avoid recursive calls to the setter
8. Which keyword is unique to Kotlin/JS for interacting with untyped code?
untyped
dynamic
external
9. Can you use SAM conversion for a Kotlin interface that is NOT marked 'fun'?
No
Yes
Only if it has no methods
10. Which two functions must a 'ReadWriteProperty' delegate implement?
get and set
read and write
getValue and setValue
Previous
Check Quiz
Reset
Next
Other
Timer
00:00
Start
Stop
Reset
Vocabulary Quiz
Score: 0
Reset Score
Submit Answer
Next Word
Spin the Wheel
SPIN
Promo's
Explore More
External Link