Converting Decimal Number 18 into Binary Number System

Binary number system is a base-2 number system commonly used in computing and digital electronics. It represents numbers using only two symbols, typically 0 and 1. Converting a decimal number into binary involves a simple yet iterative process of division and noting the remainders.

Convert 18 into binary number system:

a) 10101 binary numbers
b) 10010 binary numbers
c) 10001 binary numbers
d) 11110 binary numbers

Final answer:

The binary representation of the decimal number 18 is 10010. This conversion is done by iteratively dividing by 2 and noting the remainders.

Explanation:

To convert the decimal number 18 into a binary number, we use a method of dividing by 2 and keeping note of the remainder. Here's how:

  1. Divide 18 by 2 to get 9 with a remainder of 0. This remainder becomes the least significant bit (rightmost bit).
  2. Divide 9 by 2 to get 4 with a remainder of 1.
  3. Divide 4 by 2 to get 2 with a remainder of 0.
  4. Divide 2 by 2 to get 1 with a remainder of 0.
  5. Divide 1 by 2 to get 0 with a remainder of 1. This last remainder becomes the most significant bit (leftmost bit).

So, writing the remainders from the last to the first, we get 10010, which is the binary representation of 18. Thus, the correct choice is option b.

Convert the decimal number 18 into binary representation using the explained method. The binary representation of the decimal number 18 is 10010.
← Preventive maintenance tips for printers Exploring elliptic curve cryptography small keys with strong security →