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)
Convert the following to Octal, hexadecimal and binary (long method(multiply and Divide by methods)) a.1364.367(10) b.1568.246(10)...
Convert the following to Octal, hexadecimal and binary (long method(multiply and Divide by methods)) a.1364.367(10) b.1568.246(10) c.846.578(10) d.245.86(10) e.2647.95(10)
1) Convert (0.513)10 to octal. 2) Given the two binary numbers X = 1010100 and Y...
1) Convert (0.513)10 to octal. 2) Given the two binary numbers X = 1010100 and Y = 1000011, perform the subtraction (a) X - Y and (b) Y - X by using 2’s complements. 4) Simplify the Boolean function and draw the logic diagram to implement the function (i) F(a,b,c,d) = ∑(0,1,9,12,13,14) (ii) F(a,b,c,d) = ∑(0,2,3,5,9,10,15) with don’t care d(a,b,c,d) = ∑(1,3,7,8,11,) 5) Implement the Boolean expression F (A, B, C, D) = _(1, 3, 4,7, 8,12, 13, 14, 15)...
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?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT