Number System - Lesson1 - Conversion
Number System - Lesson1 - Conversion
(IST50US)
10/29/21
Numbering Systems
Characteristics of Numbering Systems
000 0 20 1
001 1 21 2
010 2 22 4
011 3 23 8
100 4 24 16
101 5 25 32
110 6 26 64
111 7 27 128
Decimal to Binary Conversion
• The easiest way to convert a decimal number to its binary equivalent is
to use the Division Algorithm
• This method repeatedly divides a decimal number by 2 and records the
quotient and remainder
– The remainder digits (a sequence of zeros and ones) form the binary
equivalent in least significant to most significant digit sequence
Decimal to Binary
Conversion(Division Algorithm)
Decimal to Binary
Conversion(Division Algorithm)
Division Algorithm
1 0 0 0 0 1 12
Binary to Decimal Conversion
• The easiest method for converting a binary
number to its decimal equivalent is to use the
Multiplication Algorithm
• Multiply the binary digits by increasing powers
of two, starting from the right
• Then, to find the decimal number equivalent,
sum those products
Binary to Decimal Conversion (Multiplication
Algorithm)
Binary to Decimal Conversion
(Multiplication Algorithm)
Binary to Decimal Conversion
(Multiplication Algorithm)
Octal Number System
• Also known as the Base 8 System
• Uses digits 0 - 7
• Readily converts to binary
• Groups of three (binary) digits can be used to
represent each octal digit
• Also uses multiplication and division
algorithms for conversion to and from base 10
Decimal to octal
Conversion(Division Algorithm)
Decimal to octal
Conversion(Division Algorithm)
Decimal to octal
Conversion(Division Algorithm
Octal to Decimal Conversion
• The easiest method for converting a Octal
number to its decimal equivalent is to use the
Multiplication Algorithm
• Multiply the Octal digits by increasing powers
of eight, starting from the right
• Then, to find the decimal number equivalent,
sum those products
Octal to Decimal Conversion(Multiplication
Algorithm)
Octal to Decimal Conversion(Multiplication
Algorithm)
Hexadecimal Number System
• Base 16 system
• Uses digits 0-9 &
letters A,B,C,D,E,F
• Groups of four bits
represent each
base 16 digit
Decimal to Hexadecimal
Conversion
• The easiest way to convert a decimal number to its equivalent
Hexadecimal is to use the Division Algorithm