What are the decimal and hexadecimal equivalents for the binary number 10110111
?
A. 69/0x2102
B. 183/B7
C. 173/A6
D. 83/0xC5
Answer: Option B
Solution(By Examveda Team)
You must be able to take a binary number and convert it into both decimal and hexadecimal.To convert to decimal, just add up the 1s using their values. The values that are turned on with the binary number of
10110111
are 128 + 32 + 16 + 4 + 2 + 1 = 183
.To get the hexadecimal equivalent, you need to break the eight binary digits into nibbles (4 bits),
1011
and 0111
. By add-ing up these values, you get
11
and 7
. In hexadecimal, 11
is B
,so the answer is
0xB7
. Related Questions on Internetworking
A. 1 only
B. 1 and 3
C. 3 and 4
D. 5 only
E. All of the above
A. 3, 3, 1, 7
B. 3, 2, 1, none
C. 3, 2, 1, 7
D. 3, 3, 2, none
E. All of the above
Which of the following describe router functions?
A. Packet switching
B. Packet filtering
C. Internetwork communication
D. Path selection
E. All of the above
Join The Discussion