Changes

Jump to: navigation, search
Method 3: Octal to Binary / Binary to Octal
==== Method 3: Octal to Binary / Binary to Octal ====
<table align="right"><tr><td>[[Image:octalbin-to-binoctal.png|thumb|right|275px230px|Performing an '''binary to octal to binary''' numbering conversion.]]</td><td>[[Image:binoctal-to-octalbin.png|thumb|right|230px275px|Performing an '''octal to binary to octal''' numbering conversion.]]</td></table>When converting '''decimal''' numbers Binary to Octal''' # One octal number represents 3 binary''' numbers, perform the following steps:so starting from right-side, group binary digits into groups of 3 (add leading zeros if necessary).# Write (4)(2)(1) under <bru>each<br/u>group of 3 binary numbers.# On Multiply the left side, write the '''decimal number''' to be convertedplaceholders (i.e.# Far to the right, write the 0'''number s and 1''' and while moving '''leftwards''', '''double s) by the number''' until that number is NOT greater than corresponding (4)(2)(1) for each group to obtain the decimal octal number to be converted (refer to the diagram)of ''binary to octal'' conversion.<br><br> ''Octal to Binary'' # If you are converting to 8-bitOne octal number represents 3 binary numbers, 32so starting from right-bitside, etc., enter '''group binary digits into groups of 3 (add leading zeros''' if those doubled numbers are '''greater than''' the decimal numbernecessary).# Write (4)(2)(1) under <u>each<br/u>group of 3 binary numbers.# Moving in a '''rightwards''' direction, if Multiply the doubled number '''less''' than the decimal number, write a ''placeholders (i.e. 0's and 1''' and subtract the double number's value from ) by the decimal number.<br># If corresponding (4)(2)(1) for each group to obtain the next doubled octal number is (refer to diagram of ''binary to octal'greater''' then the remainder, then write a '''zero'''; otherwise, if the number is less than but not zero, repeat the above steps #4 and #5 until you have obtained your binary numberconversion.<br><br><br>
==== Method 4: Hexadecimal to Binary / Binary to Hexadecimal ====
13,420
edits

Navigation menu