Computer - Number Conversion
Computer - Number Conversion
Computer - Number Conversion
Home Programming Java Web Databases Academic Management Quality Telecom More...
There are many methods or techniques, which can be used to convert numbers from one
another. We'll demonstrate here the following:
Computer - Output Devices Step 1 - Divide the decimal number to be converted by the value of the new base.
Computer - Memory Step 2 - Get the remainder from Step 1 as the rightmost digit (least significant digit) of n
number.
Computer - RAM
Step 3 - Divide the quotient of the previous divide by the new base.
Computer - ROM
Step 4 - Record the remainder from Step 3 as the next digit (to the left) of the new base n
Computer - Motherboard
Repeat Steps 3 and 4, getting remainders from right to left, until the quotient becomes zero in S
Computer - Memory Units
The last remainder thus obtained will be the most significant digit (MSD) of the new base numb
Computer - Ports
http://www.tutorialspoint.com/computer_fundamentals/computer_number_conversion.htm 1/5
8/21/2014 Computer - Number Conversion
Computer - Available Courses As mentioned in Steps 2 and 4, the remainders have to be arranged in the reverse order so
first remainder becomes the least significant digit (LSD) and the last remainder becomes t
significant digit (MSD).
Useful Resources
Decimal Number: 2910 = Binary Number: 111012.
Computer - Quick Guide
Developer's Best Practices Step 1 - Determine the column (positional) value of each digit (this depends on the po
the digit and the base of the number system).
Effective Resume Writing
Step 2 - Multiply the obtained column values (in Step 1) by the digits in the corres
Effective Resume Writing columns.
Computer Glossary Step 3 - Sum the products calculated in Step 2. The total is the equivalent value in decim
Who is Who
EXAMPLE
Binary Number: 111012
Step 2 - Convert the decimal number so obtained to the new base number.
EXAMPLE
Octal Number: 258
http://www.tutorialspoint.com/computer_fundamentals/computer_number_conversion.htm 2/5
8/21/2014 Computer - Number Conversion
Step 3 258 2110
Step 1 21 / 2 10 1
Step 2 10 / 2 5 0
Step 3 5/2 2 1
Step 4 2/2 1 0
Step 5 1/2 0 1
Step 1 - Divide the binary digits into groups of three (starting from the right).
Step 2 - Convert each group of three binary digits to one octal digit.
EXAMPLE
Binary Number: 101012
Step 2 101012 28 58
Step 1 - Convert each octal digit to a 3-digit binary number (the octal digits may be tre
decimal for this conversion).
Step 2 - Combine all the resulting binary groups (of 3 digits each) into a single binary nu
EXAMPLE
Octal Number: 258
http://www.tutorialspoint.com/computer_fundamentals/computer_number_conversion.htm 3/5
8/21/2014 Computer - Number Conversion
Step 1 - Divide the binary digits into groups of four (starting from the right).
Step 2 - Convert each group of four binary digits to one hexadecimal symbol.
EXAMPLE
Binary Number: 101012
Step 1 - Convert each hexadecimal digit to a 4-digit binary number (the hexadecimal di
be treated as decimal for this conversion).
Step 2 - Combine all the resulting binary groups (of 4 digits each) into a single binary nu
EXAMPLE
Hexadecimal Number: 1516
Advertisements
http://www.tutorialspoint.com/computer_fundamentals/computer_number_conversion.htm 4/5
8/21/2014 Computer - Number Conversion
ASP.NET | jQuery | AJAX | ANT | JSP | Servlets | log4j | iBATIS | Hibernate | JDBC | Struts | HTML5
http://www.tutorialspoint.com/computer_fundamentals/computer_number_conversion.htm 5/5