Question

In: Computer Science

Convert 9F.216 to octal

Convert 9F.216 to octal

Solutions

Expert Solution


9F.216

Let's first convert hexadecimal value of 9F.2 into binary
Hexadecimal     Binary
    0           0000
    1           0001
    2           0010
    3           0011
    4           0100
    5           0101
    6           0110
    7           0111
    8           1000
    9           1001
    A           1010
    B           1011
    C           1100
    D           1101
    E           1110
    F           1111
Use this table to convert from hexadecimal to binary
Converting 9F.2 to binary
9 => 1001
F => 1111
2 => 0010
So, in binary 9F.2 is 10011111.0010

Now, let's convert that binary number into octal
Adding 1 zeros on left hand side of this number to make it's length a multiple of 3
Octal   Binary
    0           000
    1           001
    2           010
    3           011
    4           100
    5           101
    6           110
    7           111
Use this table to convert from binary to Octal
Converting 010011111.001 to Octal
010 => 2
011 => 3
111 => 7
001 => 1
So, in Octal 010011111.001 is 237.1

Answer: 237.1

Related Solutions

Convert 7A216 to octal
Convert 7A216 to octal
Convert CC53 (hexidecimal) to the octal equivalent
Convert CC53 (hexidecimal) to the octal equivalent
Design a transducer to convert a binary string into octal. For example the bit string 001101110...
Design a transducer to convert a binary string into octal. For example the bit string 001101110 should produce 156. Please complete the code to account for the 7 cases of 3 digit binary strings. //Function binaryToOctal takes a char array digits of length 3 //Pre: digits contains 3 binary digits. //Post: function returns the octal number equivalent to the 3 binary digits int binaryToOctal( char digits[], int 3){ int number; if(digits[0]=='0') if (digits[1]=='1') if (digits[2]=='0') return 2;//found "010" else return...
Convert the following to Octal, hexadecimal and binary (long method (multiply and Divide by methods)) 2647.95...
Convert the following to Octal, hexadecimal and binary (long method (multiply and Divide by methods)) 2647.95 (10)
Convert the following decimal number into (a) binary and (b) Octal (SHOW ALL STEPS) 205.75
Convert the following decimal number into (a) binary and (b) Octal (SHOW ALL STEPS) 205.75
Convert binary to the following 100110101.1011101101)2 a.) Octal ( )8 b.) Hexa  ( )16 steps would be...
Convert binary to the following 100110101.1011101101)2 a.) Octal ( )8 b.) Hexa  ( )16 steps would be helpful thanks
Convert each of following numbers to Octal numbers, showing all steps. a. (111110110)2 b. (1100010)2 c....
Convert each of following numbers to Octal numbers, showing all steps. a. (111110110)2 b. (1100010)2 c. (2001)10 d. (1492)10 e. (A9)16 f. (5FF71 )16
How many zeros are there at the end of 2019! in octal notation ?
How many zeros are there at the end of 2019! in octal notation ?
Write an application that prints a table of the binary and octal equivalent of the decimal...
Write an application that prints a table of the binary and octal equivalent of the decimal numbers in the range 1 through 256. **Write in JAVA**
In a sample of 270 adults, 216 had children. Construct a 99% confidence interval for the...
In a sample of 270 adults, 216 had children. Construct a 99% confidence interval for the true population proportion of adults with children. Give your answers as decimals, to three places
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT