Question 98

Computer Awareness Number representations Easy

What is the hexadecimal representation of the binary number \(10110111_2\)?

(A) \(B7_{16}\)
(B) \(A7_{16}\)
(C) \(77_{16}\)
(D) \(57_{16}\)
View Dynamic Solution & Explanation
Correct Solution: Option A

Step-by-step Solution:

To convert a binary number to hexadecimal, we group the binary digits into sets of four, starting from the right. Binary: 1011 0111 - The first group is 1011. In decimal, this is \(1*8 + 0*4 + 1*2 + 1*1 = 11\). In hexadecimal, 11 is represented as B. - The second group is 0111. In decimal, this is \(0*8 + 1*4 + 1*2 + 1*1 = 7\). In hexadecimal, this is 7. So, \(10110111_2 = B7_{16}\).