Question

In: Computer Science

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

Solutions

Expert Solution

a)
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 100110101.101110110100 to Octal
100 => 4
110 => 6
101 => 5
101 => 5
110 => 6
110 => 6
100 => 4
So, in Octal 100110101.101110110100 is 465.5664
Answer: 465.5664

b)
Adding 3 zeros on left hand side of this number to make it's length a multiple of 4
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 binary to hexadecimal
Converting 000100110101.101110110100 to hexadecimal
0001 => 1
0011 => 3
0101 => 5
1011 => B
1011 => B
0100 => 4
So, in hexadecimal 000100110101.101110110100 is 0x135.BB4
Answer: 135.BB4



Related Solutions

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 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
Convert each of following numbers to Binary numbers, showing all steps. a. (572) 8 b. (1604)...
Convert each of following numbers to Binary numbers, showing all steps. a. (572) 8 b. (1604) 8 c. (1066)10 d. (99)10 e. (80E)16 f. (135AB)16
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)
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 numbers to 8-bit binary and 8-bit hexadecimal: a) 20 b) 78 c) -25...
Convert the following numbers to 8-bit binary and 8-bit hexadecimal: a) 20 b) 78 c) -25 d) -96 Convert the following hexadecimal numbers to binary and decimal assuming two's compliment format: a) 0x56 b) 0x14 c) 0xF8 d) 0xCC MUST DO ALL PROBLEMS AND SHOW ALL WORK!!!!
Binary How is 00001001 (base 2) represented in 8-bit two’s complement notation? Convert 0.3828125 to binary...
Binary How is 00001001 (base 2) represented in 8-bit two’s complement notation? Convert 0.3828125 to binary with 4 bits to the right of the binary point. How is 00110100 (base 2) represented in 8-bit one's complement.  
How to convert 27354 in base 8 to base 16?
How to convert 27354 in base 8 to base 16?
1. For the following function ?(?) = (?^2−8?+16) / (?^2−4) a. Find the critical values b....
1. For the following function ?(?) = (?^2−8?+16) / (?^2−4) a. Find the critical values b. Use the FIRST DERIVATIVE TEST to determine the intervals where the function is INCREASING and DECREASING. c. Find the RELATIVE EXTREMA of the function and state where they occur. d. Find the ABSOLUTE EXTREMA of the function on the interval [−1, 1.75]
Convert the following statement into the 8-bit unsigned binary ASCII representation: Bob’s laptop receives the frame...
Convert the following statement into the 8-bit unsigned binary ASCII representation: Bob’s laptop receives the frame containing the ARP reply message. First, convert each character into it's ASCII equivalents. Then, convert to a Binary number. For example: Bob's -> 066 111 098 039 115 -> 01000010 01101111 01100010 00100111 01110011 Remember, each Binary number has to be 8-bits.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT