Project

Number Base Converter (Kotlin)

Medium
857 completions
~ 18 hours
4.2

You will master loops and functions, learn about numeric data types, and explore different numeral systems including binary — one of the basic concepts in programming.

Provided by

JetBrains Academy JetBrains Academy

About

We’re all quite used to our good old decimal system of numerals. But let’s not forget that there are other ways to count! Whether we need to convert numbers from one system to another just for fun or to store large data more efficiently, a converter proves helpful. In this project, you will create your own tool that will help you convert numbers from one system to another and recreate built-in functions to practice algorithmic systems.

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Practice loop, function, and string processing and give your program new functionality: converting user input numbers to the decimal system. Also, add commands to determine what the program should do next.
Upgrade your converter: enable it to convert numbers between any numeral systems. While you're at it, master loops and learn how to store large numbers.
Make it possible for the converter to work with fractions, especially with large fractional numbers.

Reviews

Mohammad Ahmad ALhamad avatar
Mohammad Ahmad ALhamad
2 months ago
At this point in learning Kotlin, programming is less about discovering entirely new concepts and more about mastering the language's capabilities and understanding how to leverage them effectively. While the project itself wasn't overly complex, it provided a valuable opportunity to apply Kotlin's ...
Youssef Boukhadda avatar
Youssef Boukhadda
2 years ago
good practice especially the use of less used type like BigInt and BigDecimal and their specific operators and functions.
Konstantinos Gioldasis avatar
Konstantinos Gioldasis
2 years ago
Very nice project to work on BigIntegers, BigDecimals and Debugging.

4.2

Learners who completed this project within the Kotlin Developer course rated it as follows:
Usefulness
4.4
Fun
4.0
Clarity
4.2