Kotlin Intermediate Quiz 5
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 5
1. What does SAM conversion stand for?
Static Abstract Member
Single Abstract Method
Synchronized Access Method
2. What is the role of a CoroutineScope?
Defines the lifecycle and boundaries for coroutines
Controls the CPU priority
Schedules tasks on the OS kernel
3. How do you print a literal '$' sign in a Kotlin string template?
$$
/$
\${'$'}
4. When is an 'else' branch mandatory in a 'when' expression?
Always
When 'when' is used as an expression
Never
5. What is 'Structured Concurrency' in Kotlin?
Managing coroutine lifecycles in a parent-child hierarchy
Writing code that is thread-safe automatically
Using synchronized blocks everywhere
6. Can a Kotlin enum class have properties?
No
Yes
Only if they are constant
7. What does '::class' return in Kotlin?
A Java Class object
A String name of the class
A KClass object (Kotlin Reflection)
8. Which modifier is needed on a method to allow it to be overridden?
open
virtual
abstract
9. What is 'expect/actual' used for?
Unit testing
Kotlin Multiplatform platform-specific logic
Asserting nullability
10. What is the difference between a lambda and an anonymous function?
Lambdas are faster
Anonymous functions are always static
Anonymous functions can specify the return type explicitly
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