Converting numerical data between different number system involves
The document outlines methods for converting numerical data between different number systems, including decimal, binary, octal, and hexadecimal. It provides systematic approaches for each conversion type, such as dividing by the base and recording remainders for decimal to binary, octal, and hexadecimal, and multiplying by powers of the base for the reverse conversions. Examples are included for clarity on each conversion process.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
2 views
Converting numerical data between different number system involves
The document outlines methods for converting numerical data between different number systems, including decimal, binary, octal, and hexadecimal. It provides systematic approaches for each conversion type, such as dividing by the base and recording remainders for decimal to binary, octal, and hexadecimal, and multiplying by powers of the base for the reverse conversions. Examples are included for clarity on each conversion process.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8
CONVERTING NUMERICAL
DATA BETWEEN DIFFERENT
NUMBER SYSTEM INVOLVES A SYSTEMATIC APPROACH 1.DECIMAL TO BINARY
METHOD REPEATEDLY DIVIDE THE DECIMAL
NUMBER BY 2 AND RECORD THE REMAINDER .
Example : convert 25 (decimal) TO binary
1.BINARY TO DECIMAL
METHOD:MULTIPLY EACH BINARY DIGIT BY THE
CORRESPONDING POWER OF 2 AND SUM THE RESULT
EXAMPLE :CONVERT 11010 (BINARY)TO DECIMAL
3.DECIMAL TO OCTAL
METHOD:REPEATEDLY DIVIDE THE DECIMAL NUMBER BY
8 AND RECORD THE REMAINDERS • EXAMPLE: CONVERT 50 TO DECIMAL TO OCTAL: 4. OCTAL TO DECIMAL METHOD: MULTIPLY EACH OCTAL DIGIT BY THE CORRESPONDING POWER OF 8 AND SUM THE RESULT
• EXAMPLE:CONVERT 37 (OCTAL) TO DECIMAL
5. DECIMAL TO HEXADECIMAL
METHOD: REPEATEDLY DIVIDE THE DECIMAL NUMER BY 16 AND RECORD
THE REMAINDER. CONVERT REAMINDERS GREATER THAN 9 TO THEIR HEXADECIMAL EQUIVALENTS (A-F).
• EXAMPLE:CONVERT 67 (DECIMAL) TO HEXADECIMAL
6. HEXADECIMAL TO DECIMAL
• MULTIPLY EACH HEXADECMAL DIGIT BY THE CORRESPONDING
POWER OF 16 AND SUM THE RESLT. REMEMBER TO USE THE DECIMAL VALUES FOR A-F (A=10,B=11 ETC.)