Number Systems (Binary, Hexadecimal, Denary)
03/07/03
0011 0111 0011
Ben
01000010 101 110
1000 0001 10110 0101 0001 1110 1001 0011 0101 10111 0101 0101 1011 0101 1110 0100
8 1 24 5 1 14 9 3 5 23 5 5 11 5 14 4
Hexadecimal numerals are widely used by computer system designers and programmers, as they provide a more human-friendly representation of binary-coded values. Each hexadecimal digit represents a nibble (four binary digits), which is half a byte (eight binary digits). For example, a single byte can have values ranging from 0000 0000 to 1111 1111 in binary form, which can be more conveniently represented as 00 to FF (255) in hexadecimal. Hexadecimal has a number base of 16.
x = 30
print(format(x, '02x' ) )
1e (30)
divde by 16
if there is a decimal times it by 16 and note the result
a remainder of 0 results in 0
convert into hex
3/7/3
3 7 3
Ben
42 65 6e
0F 0E 0C 19 04 17 05 05 0B 13 15 0E 14 09 0C 08 01 0C 06 14 05 12 0D
15 14 12 25 4 23 5 5 11 19 21 14 20 9 12 8 1 12 6 20 5 18 13
Recent Posts
See AllThe Radian describes the plane angle subtended by a circular arc as the length of the arc divided by the radius of the arc. The number of...
Comments