Respuesta :

CPED

Answer:

  • The leftmost 1 in 101 gives the 4.
  • 1 in 101 (using binary system) gives the bits that must be counted to make a decimal number.

Explanation:

While working on binary system, we represent the decimal digits (0-9) by using only two digits 0's and 1's. They are written by dividing the decimal digit by 2 and then recording the remainder bits in reverse order.

As given in the question 5 is represented in binary as 101.

Now converting binary to decimal:

  • The bits of binary number are multiplied by increasing powers of 2 (starting from the right) and added to get decimal value.
  • So the binary number 101 will be interpreted as:

        [tex]=1*2^2+ 0*2^1 + 1*2^0\\= 1*4 + 0 + 1\\= 4+1\\=5[/tex]

  • So the leftmost 1 will show the presence of 4.
  • 1 in the number 101 shows which bits will be weighted to give the required value.

i hope it will help you!

Q&A Education