Project
Numeral System Converter (Java)
964 completions
~ 16 hours
4.1 This project is deprecated or unpublished. It may be difficult or impossible to complete it. Please switch to another project.
Master loops and arrays and learn how to handle errors. In addition, you get to explore binary — a fundamental concept in programming.
Provided by
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.
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:
Start with outputs and the binary system: print a line with an example conversion.
Learn the basics of working with Scanner class: teach the converter to determine the last digit of the octal number, converted from the decimal system.
With the help of switch operator and prefixes, convert the number to any system of your choice.
Upgrade your converter: enable it to convert numbers from and to any numeral system. Practice arrays, loops and strings.
Make it possible for the converter to work with fractions as well (that is, float and double datatypes).
Mistakes are inevitable: teach your converter to handle them and report errors if they occur.
Reviews
MŚ
Marcin Śladewski4 years ago
It was kinda helpful for simple algorithms and brings attention to handling incorrect input. If you are a bit more advanced and want to play with Streams API most of this task can be solved with stream processing giving you simple problem fo play with new API for a bit.
4.1
Learners who completed this project within the course rated it as follows: