All Practice Exams

100+ Free Kotlin Professional Certificate Practice Questions

Prepare for the Kotlin Professional Certificate by JetBrains exam with instant access — no signup required.

✓ No registration✓ No credit card✓ No hidden fees✓ Start practicing immediately
100+ Questions
100% Free

Loading practice questions...

2026 Statistics

Key Facts: Kotlin Professional Certificate Exam

4 courses

Courses in the certificate path

JetBrains / LinkedIn Learning

~11 hours

Total course content

JetBrains

April 2026

Certificate launch

The Kotlin Blog

No fee

Included with LinkedIn Premium access

JetBrains / LinkedIn Learning

No expiration

Credential validity

JetBrains

Final exam

Earned by passing a graded assessment after 4 courses

JetBrains

The Kotlin Professional Certificate by JetBrains is a four-course path on LinkedIn Learning (launched April 2026) earned by completing about 11 hours of content and passing a graded final exam. It covers Kotlin essentials, object-oriented and functional Kotlin, coroutines and asynchronous programming, Kotlin Multiplatform, and full-stack/backend basics with Ktor. Access is included with LinkedIn Premium (one-month free trial for eligible users); JetBrains does not publish a fixed question count or numeric passing score, and the certificate does not expire.

Sample Kotlin Professional Certificate Practice Questions

Try these sample questions to test your Kotlin Professional Certificate exam readiness. Each question includes a detailed explanation. Start the interactive quiz above for the full 100+ question experience with AI tutoring.

1Which keyword declares a read-only (immutable) reference in Kotlin?
A.var
B.const
C.val
D.let
Explanation: `val` declares a read-only reference: it must be assigned once and cannot be reassigned. `var` declares a mutable reference that can be reassigned. Preferring `val` is a core Kotlin idiom for safer, more predictable code.
2What does the following code print? val name: String? = null println(name?.length ?: -1)
A.-1
B.0
C.null
D.It throws a NullPointerException
Explanation: The safe-call operator `?.` returns null when `name` is null instead of throwing. The Elvis operator `?:` then substitutes the right-hand value, so the expression evaluates to -1 and that is printed.
3In Kotlin, what is the type of the expression `if (x > 0) "pos" else "neg"`?
A.String, because if is an expression that returns a value
B.Unit, because if is a statement
C.Boolean
D.Any, because the branches differ
Explanation: In Kotlin `if` is an expression, not just a statement, so it produces a value. Because both branches yield String literals, the whole expression has type String and can be assigned directly to a variable.
4Which statement about Kotlin's `String` template syntax is correct for the variable `count`?
A."Total: %count%" interpolates the value of count
B."Total: #{count}" interpolates the value of count
C."Total: @count" interpolates the value of count
D."Total: ${count}" interpolates the value of count
Explanation: Kotlin string templates use the dollar sign: `$count` for a simple variable and `${expression}` for an arbitrary expression. So `"Total: ${count}"` embeds the value of `count` in the string.
5What is printed by this code? val list = listOf(1, 2, 3) val result = list.map { it * 2 } println(result)
A.[2, 4, 6]
B.[1, 2, 3]
C.[1, 4, 9]
D.6
Explanation: `map` transforms each element using the lambda and returns a new list. The lambda `{ it * 2 }` doubles each element, producing [2, 4, 6]. The implicit `it` parameter refers to the current element.
6Which declaration makes `age` a mutable property that starts at 0?
A.var age = 0
B.val age = 0
C.const age = 0
D.let age = 0
Explanation: `var age = 0` declares a mutable property initialized to 0; its type Int is inferred and it can be reassigned later. Use `var` only when reassignment is genuinely needed.
7What does the `!!` (non-null assertion) operator do?
A.Returns null silently if the value is null
B.Throws a NullPointerException if the value is null, otherwise returns the non-null value
C.Converts a non-null type to a nullable type
D.Provides a default value when the receiver is null
Explanation: The `!!` operator converts a nullable value to its non-null type, but if the value is actually null it throws a KotlinNullPointerException at that point. It should be used sparingly because it bypasses Kotlin's null-safety guarantees.
8How is a function that takes two Int parameters and returns their sum declared in Kotlin?
A.fun sum(a: Int, b: Int): Int { return a + b }
B.int sum(int a, int b) { return a + b; }
C.func sum(a Int, b Int) Int { return a + b }
D.def sum(a: Int, b: Int) -> Int: return a + b
Explanation: Kotlin functions use the `fun` keyword, parameters are written `name: Type`, and the return type follows the parameter list after a colon. `fun sum(a: Int, b: Int): Int { return a + b }` is the correct form.
9What does this single-expression function return when called as `square(4)`? fun square(n: Int) = n * n
A.16
B.8
C.Unit
D.It does not compile without a return type
Explanation: This is an expression-body function: the `=` form lets Kotlin infer the return type from the expression. `4 * 4` is 16, so `square(4)` returns 16. No explicit `return` or return type is required here.
10What is printed? val x = 5 val label = when { x < 0 -> "negative" x == 0 -> "zero" else -> "positive" } println(label)
A.positive
B.zero
C.negative
D.Nothing, because when needs a subject
Explanation: A `when` without a subject evaluates each branch condition as a Boolean. With x = 5, the first two conditions are false, so the `else` branch runs and assigns "positive". `when` is an expression, so its value is stored in `label`.

About the Kotlin Professional Certificate Exam

The Kotlin Professional Certificate by JetBrains is a four-course learning path on LinkedIn Learning, launched in April 2026, that takes developers from Kotlin essentials to full-stack multiplatform development. The courses cover Kotlin syntax, functions, collections and I/O; object-oriented and asynchronous code including data classes, sealed classes, extension functions, and coroutines; and Kotlin Multiplatform with Ktor and Compose. Learners work in IntelliJ IDEA and, by the end, can build complete multiplatform applications from a shared codebase. To earn the certificate you complete all four courses (about 11 hours total) and pass a graded final exam, after which you can add the credential directly to your LinkedIn profile.

Assessment

Question count not published by the exam provider

Time Limit

Self-paced; about 11 hours of course content plus the final exam

Passing Score

Not published as a numeric score; you must pass the final exam after completing all four courses

Exam Fee

Included with LinkedIn Learning (LinkedIn Premium) access; no separate fee (JetBrains (delivered on LinkedIn Learning))

Kotlin Professional Certificate Exam Content Outline

~28%

Kotlin essentials

Core syntax and the type system: val versus var, type inference, null safety with safe calls (?.), the Elvis operator (?:) and non-null assertion (!!), control flow, when expressions, ranges, smart casts, string templates, functions, and default arguments.

~34%

Object-oriented and functional Kotlin

Classes, inheritance and the open modifier, data classes and copy(), sealed classes with exhaustive when, objects and companion objects, interfaces, enums, generics, destructuring, lambdas and higher-order functions, extension functions, scope functions (let/run/apply), and collection operations such as map, filter, fold, and groupBy.

~22%

Coroutines and asynchronous programming

suspend functions, the launch and async builders, Job and Deferred, dispatchers (Main/Default/IO), structured concurrency and cooperative cancellation, withContext and coroutineScope, and cold asynchronous streams with Flow, emit, collect, and flowOn.

~6%

Kotlin Multiplatform fundamentals

Sharing business logic across mobile (Android/iOS), web, desktop, and backend; common versus platform source sets; the expect/actual mechanism; supported compilation targets; and Compose Multiplatform for shared UI.

~9%

Full-stack and backend Kotlin basics

Building asynchronous servers and clients with Ktor, the routing DSL and request/response handling, Spring Boot REST controllers, and JSON serialization with kotlinx.serialization.

How to Pass the Kotlin Professional Certificate Exam

What You Need to Know

  • Passing score: Not published as a numeric score; you must pass the final exam after completing all four courses
  • Assessment: Question count not published by the exam provider
  • Time limit: Self-paced; about 11 hours of course content plus the final exam
  • Exam fee: Included with LinkedIn Learning (LinkedIn Premium) access; no separate fee

Keys to Passing

  • Work through all 100 available questions
  • Review every answer and explanation
  • Track weak areas and revisit them
  • Use our AI tutor for tough concepts

Kotlin Professional Certificate Study Tips from Top Performers

1Master null safety first: practice the safe call ?., the Elvis operator ?:, and !!, and know exactly when each returns null versus throws, since these appear constantly in real Kotlin code.
2Get fluent with collection operators (map, filter, fold, reduce, groupBy, flatMap) by predicting their output on small lists; the certificate emphasizes functional, expression-based Kotlin.
3Understand the difference between data classes, sealed classes, and objects, including what each generates (equals/hashCode/copy/componentN) and why sealed classes make when exhaustive.
4Drill coroutines until structured concurrency feels natural: launch versus async, Job versus Deferred, the Main/Default/IO dispatchers, cooperative cancellation, and cold Flow with emit and collect.
5Learn Kotlin Multiplatform fundamentals conceptually: common versus platform source sets, the expect/actual mechanism, supported targets, and how Compose Multiplatform shares UI.
6Practice in IntelliJ IDEA as the courses do, running short Kotlin snippets to confirm output rather than memorizing; hands-on reinforcement is the fastest way to internalize the semantics.

Frequently Asked Questions

What is the Kotlin Professional Certificate by JetBrains?

It is a four-course learning path created by JetBrains and delivered on LinkedIn Learning, launched in April 2026. It takes you from Kotlin essentials to multiplatform development with Ktor and Compose, totaling about 11 hours, and you earn the certificate by completing all four courses and passing a graded final exam.

How much does the Kotlin Professional Certificate cost?

There is no separate exam fee. The certificate is accessed through LinkedIn Learning with a LinkedIn Premium subscription, which includes a one-month free trial for eligible users. Many employers, universities, and some public libraries also provide free LinkedIn Learning access.

How many questions are on the final exam?

JetBrains and LinkedIn Learning do not publish a fixed number of questions or a numeric passing score for the final exam. The credential is earned by completing all four courses and passing that graded assessment.

What topics does the certificate cover?

The path covers Kotlin essentials (syntax, functions, collections, null safety), object-oriented and asynchronous code (data classes, sealed classes, extension functions, coroutines), and Kotlin Multiplatform development including Ktor and Compose for shared code across mobile, desktop, web, and backend.

Do I need prior Kotlin experience?

No. The certificate is designed for developers with basic programming knowledge who want to learn Kotlin and explore multiplatform development. You work in IntelliJ IDEA throughout the courses.

Does the certificate expire?

No. The Kotlin Professional Certificate does not need renewal. Once earned, you can download it, share it, and add it directly to your LinkedIn profile to showcase your Kotlin and multiplatform skills.