InterviewPitch
Land the job you want — prepare
with Real interviews Q&A
Curated interview questions, company-wise guides and coding rounds. Practice mock interviews, improve with feedback, and track your progress.
Q&A
Top curated interview packs
Company-wise & role-wise packs, quality assured.
Mock interview
AI scoring
Coding rounds
Top 10 sets
Beginner
1. What is Kotlin Multiplatform (KMP)?
Kotlin Multiplatform is a technology that allows sharing common code across multiple platforms like Android, iOS, Web, Desktop, and Backend.
Beginner
2. Who developed Kotlin?
Kotlin was developed by JetBrains.
Beginner
3. What problem does KMP solve?
It reduces duplicate code by sharing business logic across platforms.
Beginner
4. What platforms does KMP support?
Android, iOS, JVM, Web (JS), Desktop, and Native.
Beginner
5. What is shared module?
A module containing common business logic shared across platforms.
Beginner
6. What is expect/actual?
expect declares platform-specific API in common code, and actual provides its implementation in platform modules.
Beginner
7. What is Kotlin/Native?
Kotlin/Native compiles Kotlin code into native binaries for platforms like iOS and macOS.
Beginner
8. What is Kotlin/JVM?
Kotlin code compiled to run on the Java Virtual Machine.
Beginner
9. What is Kotlin/JS?
Kotlin compiled into JavaScript for web applications.
Beginner
10. What is Gradle in KMP?
Gradle is the build tool used to configure and manage KMP projects.
Beginner
11. What is commonMain?
The source set where shared logic is written.
Beginner
12. What is androidMain?
Android-specific implementation source set.
Beginner
13. What is iosMain?
iOS-specific implementation source set.
Beginner
14. Is UI shared in KMP?
Traditionally no, but Compose Multiplatform allows UI sharing.
Beginner
15. What is KMP library publishing?
Creating reusable multiplatform libraries distributed via Maven.
Intermediate
16. What is dependency injection in KMP?
Injecting dependencies into shared code using frameworks like Koin.
Intermediate
17. How networking works in KMP?
Using Ktor client with platform-specific engines.
Intermediate
18. What is Ktor?
A Kotlin framework for building async servers and clients.
Intermediate
19. What is coroutines in KMP?
Lightweight threads used for asynchronous programming.
Intermediate
20. What is Flow?
A reactive stream API built on coroutines.
Intermediate
21. How database works in KMP?
Using SQLDelight for shared database logic.
Intermediate
22. What is serialization?
Converting objects into JSON using Kotlinx Serialization.
Intermediate
23. What is shared business logic?
Code like validation, networking, database, and domain logic.
Intermediate
24. What is platform-specific code?
Code written for a particular target like Android or iOS.
Intermediate
25. How KMP handles threading?
Through coroutines and structured concurrency.
Intermediate
26. What is KMP project structure?
commonMain, androidMain, iosMain and test source sets.
Intermediate
27. What is Compose Multiplatform?
A UI framework to build shared UI across platforms.
Intermediate
28. What is Kotlin Native memory model?
A model managing object sharing between threads safely.
Intermediate
29. How KMP integrates with iOS?
Via generated Objective-C/Swift frameworks.
Intermediate
30. What are KMP limitations?
Limited direct UI sharing (unless Compose), build complexity.
Advanced
31. How does expect/actual work internally?
Compiler matches expect declarations with platform-specific actual implementations at build time.
Advanced
32. What is hierarchical project structure?
Allows sharing code among subsets of targets.
Advanced
33. What is binary compatibility?
Ensures libraries remain usable across versions.
Advanced
34. How KMP handles concurrency?
Using coroutines and new memory manager in Kotlin/Native.
Advanced
35. What is freezing in Kotlin/Native?
Making objects immutable to safely share across threads.
Advanced
36. What is new memory manager?
Updated memory model that removes freezing requirement.
Advanced
37. What is multiplatform testing?
Writing common tests executed across platforms.
Advanced
38. What is publishing KMP to Maven?
Using Gradle publishing plugin to distribute artifacts.
Advanced
39. What is interoperability with Swift?
Calling Kotlin code from Swift using generated frameworks.
Advanced
40. What is KMP architecture pattern?
Commonly MVVM with shared ViewModel logic.
Coding Round
41. Create expect function
expect fun platformName(): StringCoding Round
42. Provide actual implementation
actual fun platformName(): String = "Android"Coding Round
43. Coroutine example
Answer hereCoding Round
44. Flow example
Answer hereCoding Round
45. Ktor client request
client.get("https://api.example.com")Coding Round
46. Serialize object
Json.encodeToString(user)Coding Round
47. Define shared ViewModel
Answer hereCoding Round
48. Create SQLDelight database
val db = Database(driver)Coding Round
49. Gradle KMP plugin setup
Answer hereCoding Round
50. Define targets in Gradle
Answer here