How to Convert Decimal Numbers to Binary Representation

What is the binary representation of the decimal number 19?

Choose the correct option:

  1. 10011
  2. 10110
  3. 1100111
  4. 1101011

What is the binary representation of the decimal number 22?

Choose the correct option:

  1. 10011
  2. 10110
  3. 1100111
  4. 1101011

What is the binary representation of the decimal number 103?

Choose the correct option:

  1. 10011
  2. 10110
  3. 1100111
  4. 1101011

Answers:

a. 10011

b. 10110

c. 1100111

To convert a decimal number to binary representation, we use the process of division and remainders. Starting with the given decimal number, we divide it successively by 2 until the quotient becomes 0. The remainders obtained in each division, read in reverse order, form the binary representation.

Decimal number 19 in binary is 10011. This binary representation is obtained by dividing the decimal number 19 by 2 and noting the remainders until the quotient becomes 0. The remainders, read in reverse order, give the binary representation 10011.

Decimal number 22 in binary is 10110. By following the same process of division and remainders, the binary representation of decimal number 22 is 10110.

Decimal number 103 in binary is 1100111. Applying the division and remainders method, the binary representation of decimal number 103 is 1100111.

← Generating cryptographically secure pseudo random numbers in python Optic fiber the future of high speed internet technology →