Kotlin Exercises

Want to learn more about Kotlin programming language and Android development? Or just want to have fun learning an easy, but yet complex programming language with a beautiful syntax? Start your journey as a developer with the following brain warmer exercises and simple math problems, which are intended to develop your logical thinking and learn how to break the problem in smaller tasks.

You’ll have free access to any of the first two exercises of every chapter. You can’t get stuck, because each exercise will have some hints, when needed, and solutions written by our developers. If you fall in love with us, you can get full access to all Kotlin exercises by registering or logging in to your account.

1. First Steps

Whether you want to build an app, a game or a website the basic principles remain the same. You have to write a program for the computer to execute and writing such a program is done using a programming language.

2. Conditionals

In computer science, conditional statements, conditional expressions and conditional constructs are features of a programming language, which perform different computations or actions depending on whether a programmer-specified boolean condition evaluates to true or false.

3. Types

All variables and constants in Kotlin have a type. Think of the type as describing what kind of values a variable can have. The type for integer numbers is Int.