Binary Numbers
Binary Numbers
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.
The size of the hexadecimal is much shorter than
the binary number which makes them easy to
write and remember. Let 0000 to 000F
representing hexadecimal numbers from zero to
fifteen, then 0010, 0011, 0012, …etc. Will
represent sixteen, seventeen, eighteen… etc. till
001F which represent thirty open and so on.
The table shows the decimal, binary, octal, and
hexadecimal numbers from 0 to 15 and their
equivalent binary number.
Why is it important to understand the
concept of number systems?
https://www.sciencefriday.com/wp-content/uploads/2015/08/UTF8-Table-7802.png
01001000 01100101 01101100
01101100 01101111 00100001
“Hello!”
Most Significant Bit (MSB) and Least Significant
Bit (LSB)
For a binary number, the most significant bit
(MSB) is the digit furthermost to the left of the
number and the least significant bit (LSB) is the
eps to Convert from Decimal to Binary
Convert a decimal number to binary using the remainder
method. This involves dividing the number by 2
recursively until you're left with 0, while taking note of
each remainder.
Write down the decimal number.
Divide the number by 2.
Write the result underneath.
Write the remainder on the right hand side. This
will be 0 or 1.
Divide the result of the division by 2 and again
write down the remainder.
Continue dividing and writing down remainders
until the result of the division is 0.
2910 (_________________)2
2010 (_________________)2
The most significant bit (MSB) is at the bottom of the
column of remainders and the least significant bit
teps to Convert Binary to Decimal
Converting from binary to decimal involves
multiplying the value of each digit (i.e. 1 or 0)
by the value of the placeholder in the number.
11000112 (_________________)10
How to Convert Octal To Binary
108 (_________________)2
Convert 418 to a binary number.
=4*8+1*1
= 32+1
1F16 (_________________)2
Discard any leading zeros at the left of the
binary number
teps to Convert Binary to Hex
101101112 (_________________)16
ow to Convert Hex to Decimal
= 5 x 4096 + 2 x 256 + 5 x 16 + 10 x 1
= 21,242
Decimal to Hexadecimal
Step by step solution
39/16 = 2, remainder is 7
2/16 = 0, remainder is 2
Hexadecimal to Octal
Step by step solution
Look up each hexadecimal digit to obtain
the equivalent group of four binary digits.