nerdexam
Juniper

JN0-102 · Question #276

What is the decimal equivalent of 10101010?

The correct answer is D. 170. This question asks for the decimal equivalent of the 8-bit binary number 10101010.

Junos OS Fundamentals

Question

What is the decimal equivalent of 10101010?

Options

  • A182
  • B180
  • C172
  • D170

How the community answered

(48 responses)
  • A
    2% (1)
  • B
    8% (4)
  • C
    4% (2)
  • D
    85% (41)

Why each option

This question asks for the decimal equivalent of the 8-bit binary number 10101010.

A182

182 is the decimal equivalent of 10110110.

B180

180 is the decimal equivalent of 10110100.

C172

172 is the decimal equivalent of 10101100.

D170Correct

The binary number 10101010 is converted to decimal by summing the products of each bit by its corresponding power of 2 (from right to left, starting with 2^0). This calculation yields (1*128) + (0*64) + (1*32) + (0*16) + (1*8) + (0*4) + (1*2) + (0*1) = 128 + 32 + 8 + 2 = 170.

Concept tested: Binary to decimal conversion

Source: https://learn.microsoft.com/en-us/windows/win32/wintun/binary-numbers

Topics

#binary conversion#binary to decimal

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice