Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Decipher Binary Number | Binary Numeral System
Numeral Systems 101
course content

Course Content

Numeral Systems 101

Numeral Systems 101

1. Binary Numeral System
2. Octal Numeral system
3. Hexadecimal Numeral system
4. Revelation

bookDecipher Binary Number

Task

So far, so good 😃 Convert binary code to the decimal one. Fill the gaps and follow the algorithm. The result of your manipulations is a specific number in math .

  1. Create variable decimal_number for storing converted decimal number and assign 0 to it.
  2. Print the binary number.
  3. Define the variable power and assign 0 to it.
  4. Define the loop that executes till the binary number is 0.
  5. Count the remainder of division binary_number by 10 and assign it to the variable last_digit.
  6. Multiply last_digit by the 2 raised to the relevant power.
  7. Add the result to the decimal_number.
  8. Decrease binary_number using integer division by 10.
  9. Increase power by 1.
  10. Print the decimal number.

Note

You received one of the Armstrong number: the sum of the cubes of its own digits, let me explain this: 370 = 3^3 + 7^3 + 0^3 = 27 + 343 + 0 = 370

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 3
toggle bottom row

bookDecipher Binary Number

Task

So far, so good 😃 Convert binary code to the decimal one. Fill the gaps and follow the algorithm. The result of your manipulations is a specific number in math .

  1. Create variable decimal_number for storing converted decimal number and assign 0 to it.
  2. Print the binary number.
  3. Define the variable power and assign 0 to it.
  4. Define the loop that executes till the binary number is 0.
  5. Count the remainder of division binary_number by 10 and assign it to the variable last_digit.
  6. Multiply last_digit by the 2 raised to the relevant power.
  7. Add the result to the decimal_number.
  8. Decrease binary_number using integer division by 10.
  9. Increase power by 1.
  10. Print the decimal number.

Note

You received one of the Armstrong number: the sum of the cubes of its own digits, let me explain this: 370 = 3^3 + 7^3 + 0^3 = 27 + 343 + 0 = 370

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 3
toggle bottom row

bookDecipher Binary Number

Task

So far, so good 😃 Convert binary code to the decimal one. Fill the gaps and follow the algorithm. The result of your manipulations is a specific number in math .

  1. Create variable decimal_number for storing converted decimal number and assign 0 to it.
  2. Print the binary number.
  3. Define the variable power and assign 0 to it.
  4. Define the loop that executes till the binary number is 0.
  5. Count the remainder of division binary_number by 10 and assign it to the variable last_digit.
  6. Multiply last_digit by the 2 raised to the relevant power.
  7. Add the result to the decimal_number.
  8. Decrease binary_number using integer division by 10.
  9. Increase power by 1.
  10. Print the decimal number.

Note

You received one of the Armstrong number: the sum of the cubes of its own digits, let me explain this: 370 = 3^3 + 7^3 + 0^3 = 27 + 343 + 0 = 370

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task

So far, so good 😃 Convert binary code to the decimal one. Fill the gaps and follow the algorithm. The result of your manipulations is a specific number in math .

  1. Create variable decimal_number for storing converted decimal number and assign 0 to it.
  2. Print the binary number.
  3. Define the variable power and assign 0 to it.
  4. Define the loop that executes till the binary number is 0.
  5. Count the remainder of division binary_number by 10 and assign it to the variable last_digit.
  6. Multiply last_digit by the 2 raised to the relevant power.
  7. Add the result to the decimal_number.
  8. Decrease binary_number using integer division by 10.
  9. Increase power by 1.
  10. Print the decimal number.

Note

You received one of the Armstrong number: the sum of the cubes of its own digits, let me explain this: 370 = 3^3 + 7^3 + 0^3 = 27 + 343 + 0 = 370

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 3
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
some-alt