1 )将八进制转换为二进制(1) conversionofoctalnumbersystemtobinarynumbersystem ) toconvertoctalnumbersintobinarynumbers,wecanusetetem
要将八进制转换为二进制,请使用八进制和二进制关系。
octalnumberbinarynumber 00010012010301141005101611071118二进制二进制0 000 1个001201030114100510161107111 example 1: convert (73.2 ) )
例1 :将“73.2”8改为“? ) 2
解决方案:
解:
Using the table provided above,wecanreplaceoctalnumberswiththeirequivalentbinarydigits。
您可以使用上表将八进制数替换为等效的二进制数。
7=111 3=011 2=010 Therefore,(73.2 )8=(111011.010 ) 2
因此,(73.2 )8=) 111011.010 ) 2
example 2:转换器(475.62 ) 8 into )? ) 2
例2 :将“475.62”8改为“? ) 2
解决方案:
解:
Using the table provided above,wecanreplaceoctalnumberswiththeirequivalentbinarydigits。
您可以使用上表将八进制数替换为等效的二进制数。
4=1007=1115=1016=1102=010 therefore,(475.62 )8=) 100111101.110010 ) 2
因此,(475.62 )8=) 100111101.110010 ) 2
2 )将八进制转换为十进制(2) conversionofoctalnumbersystemtodecimalnumbersystem ) )。 conversionofoctalnumberintoadecimalnumbercanbedoneusingthepositionalweightswithecorresponding
通过将位置权重乘以相应的位,然后将它们全部相加以获得十进制数,可以使用位置权重将八进制数转换为十进制数。
inanintegralpartoftheoctalnumber,theweightsfollowthepatternas 80、81、82、83、84、85 andsoonfromrighttoleft。
在部分八进制数中,权重从右到左,如80、81、82、83、84和85,具体取决于模式。
nthefractionalpartoftheoctalnumber,theweightsfollowthepatternas8- 1、8-2、8-3、8-4、8-5 andsooonfromleftttoright
在八进制小数部分中,权重根据模式从左到右分别为8-1、8-2、-5 8、8-4、-5 8等。
example 1:转换器(75.3 )8=? (10
示例1 :转换(75.3 )8=? (10
解决方案:
解:
wemultiplyeachbitwithecorrespondingpositionalweightandthenaddthemtogethertogettheresult。
将每个比特乘以适当位置的权重,并将它们相加,得到结果。
Therefore,(75.3 )8=) 61.375 ) 10
因此,(75.3 )8=) 61.375 ) 10
Exa
mple 2: Convert (624.712)8 = ( ? )10示例2:转换(624.712) 8 =(?) 10
Solution:
解:
We multiply each bit with the corresponding positional weight and then add them together to get the result.
我们将每个位乘以相应的位置权重,然后将它们加在一起以获得结果。
Therefore, (624.712)8 = (404.894)10
因此, (624.712) 8 =(404.894) 10
Example 3: Convert (482.31)8 = ( ? )10
示例3:转换(482.31) 8 =(?) 10
Solution:
解:
Given number (482.31)8 is not an octal number as a range of octal number is from 0 to 7 and the given number includes 8. So, it cannot be converted to a decimal number.
给定数字(482.31) 8不是八进制数字,因为八进制数字的范围是从0到7,并且给定数字包括8。因此,不能将其转换为十进制数字 。
3)将八进制数制转换为十六进制数制 (3) Conversion of Octal Number System into Hexadecimal Number System)Conversion of the octal number to hexadecimal can only be done using a certain definite path. We first have to convert octal number to binary number and then convert the binary number into hexadecimal number i.e., Octal Number → Binary Number → Hexadecimal Number
八进制数到十六进制的转换只能使用某个确定的路径来完成。 我们首先必须将八进制数转换为二进制数,然后将二进制数转换为十六进制数,即八进制数→二进制数→十六进制数
Example 1: Convert (35.7)8 into ( ? )16
示例1:将(35.7) 8转换为(?) 16
Solution:
解:
Step 1: Convert octal number to binary number.
Therefore, (35.7)8 = (011101.111)2
步骤1:将八进制数转换为二进制数。
因此, (35.7) 8 =(011101.111) 2
Step 2: Convert binary number to a hexadecimal number.
Therefore, (011101.111)2 = (1D.E)16
步骤2:将二进制数转换为十六进制数。
因此, (011101.111) 2 =(1D.E) 16
Therefore, (35.7)8 = (1D.E)16
因此, (35.7) 8 =(1D.E) 16
Note: To know how to convert the binary number into a hexadecimal number?, Read: Conversion of binary number into a hexadecimal number.
注意:要知道如何将二进制数转换为十六进制数,请阅读: 将二进制数转换为十六进制数 。
Example 2: Convert (73.2)8 into ( ? )16
示例2:将(73.2) 8转换为(?) 16
Solution:
解:
Step 1: Convert octal number to binary number.
Therefore, (73.2)8 = (111011.010)2
步骤1:将八进制数转换为二进制数。
因此, (73.2) 8 =(111011.010) 2
Step 2: Convert binary number to a hexadecimal number.
Therefore, (111011.010)2 = (3B.4)16
步骤2:将二进制数转换为十六进制数。
因此, (111011.010) 2 =(3B.4) 16
Therefore, (73.2)8 = (3B.4)16
因此, (73.2) 8 =(3B.4) 16
翻译自: https://www.includehelp.com/basics/conversion-of-octal-number-system-to-binary-decimal-and-hexadecimal-number-systems.aspx