Professional Documents
Culture Documents
Binary Number Sytems
Binary Number Sytems
Addition Subtraction
1+0=1 1-0=1
1+1=10 10-1=1
1+1+1=11 11-1=10
Addition/Subtraction
Subtraction
Examples
Addition
111
1111 -101
+ 100 10
10 11
11
1 11111
010 1
1 1 10 10
+111
10110 - 1 0 1
1 1 1
Decimal to Binary conversions
• Example. Convert 462.15 to binary
number
• The whole number part is divided
continuously by 2 to write digit 0 if
there is no remainder and write digit 1
if there is a remainder.
• The series of binary numbers are
recorded from last to first obtained
numbers.
462÷2=231 R 0
231÷2=115 R 1
115÷2=57 R 1
57 ÷2=28 R 1
28 ÷2=14 R 0
14 ÷2=7 R 0
7 ÷2=3 R 1
3 ÷2=1 R 1
1 ÷2=0 R 1
46210=111001110
The decimal part is successfully
multiplied by 2 to write digit 1 for
whole part result and digit 0 for
decimal result. Digits are listed from
the first to last
i.e 0 .15×2=0.3 R 0
0.3×2=0.6 R 0
0.6×2=1.2 R 1 etc
0.1510=001 to three binary numbers
462.15 =111001110.001
Binary to Decimal Conversions
• In order to convert between binary and decimal numbers, we need to
understand the relationship between the digits of a given number, the
position of those digits, and the base of the number system.
• e.g convert 110.012 to base 10
1473.28=512+256+56+3+0.25
=827.2510
Convert 33B.416 to base 10
33B.416=768+48+11+0.25
=827.2510
Comparing Number Systems
Consider the decimal number 827.25. The
table below gives the value of this number in
binary, octal, decimal and hexadecimal
System Number Base Length of digits
Binary 1100111011.01 2 12
Octal 1473.2 8 4
Decimal 827.25 10 5
Hexadecimal 33B.4 16 4
1473.2
Octal 1 4 7 3 2
Binary 001 100 111 011 010
001100111011.010