Quizzes

Kotlin quizzes

Choose a quiz and test your understanding of a focused concept.

Android Device Vibration Quiz: Vibrator and VibrationEffect in Java

Test your knowledge of Android vibration in Java using Vibrator and VibrationEffect, including permissions, patterns, amplitude, and pitfalls.

Android Intents Quiz: Launch Another App or Activity Safely

Test your understanding of launching another Android app or activity using intents, package names, explicit intents, and safe checks.

Fix IntelliJ Kotlin JVM Target Mismatch Quiz: 1.8 vs 1.6

Test how to fix IntelliJ Kotlin JVM target mismatch errors by aligning Gradle, Kotlin compiler, SDK, modules, and rebuild steps.

How to Check if a lateinit Variable Is Initialized in Kotlin Quiz

Test your Kotlin knowledge on safely checking whether a lateinit property is initialized using isInitialized and better alternatives.

How to Convert Kotlin to Java Source Files Quiz

Test your understanding of Kotlin-to-Java conversion, interoperability, decompilation, and common pitfalls on the JVM.

How to Debug Android App Crashes: Logcat, Stack Traces, and “Unfortunately, MyApp Has Stopped” Quiz

Test your Android crash debugging skills with Logcat, stack traces, exceptions, common mistakes, and real app crash scenarios.

How to Keep the Cursor at the End of an EditText in Android Java Quiz

Test your understanding of moving the cursor to the end of an EditText after setText() in Android Java with practical examples.

Java Static Methods in Kotlin Quiz: Top-Level Functions, Companion Objects, and Objects

Test your understanding of Java static method equivalents in Kotlin using top-level functions, companion objects, objects, and @JvmStatic.

Kotlin Ternary Operator Equivalent Quiz: Use `if` as an Expression

Test your understanding of Kotlin's ternary operator equivalent using `if` expressions, syntax, mistakes, and real-world examples.

Kotlin `by lazy` vs `lateinit` Quiz: Choose the Right Property Initialization

Test your Kotlin understanding of `by lazy` vs `lateinit`, including syntax, behavior, pitfalls, and real-world usage.