Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Convert each section using the formula b * 2^2 + b * 2^1 + b* 2^0 and you get th

ID: 440794 • Letter: C

Question

Convert each section using the formula b * 2^2 + b * 2^1 + b* 2^0 and you get the octal number 766. Similarly, 2^4 = 16 so to convert a number from binary to hexadecimal all that is necessary is to start at the right of the number, mark off 4 bits, convert those bits to decimal. The resulting number is the hexadecimal equivalent. Take the binary number 10101001. Break it up into sections of 4 bits each: 1010 1001 Convert each section using the formula b * 2^3 + b * 2^2 + b * 2^1 + b* 2^0 and you get the hexadecimal number A9. Convert the following binary numbers to octal: 1000001 = ?10000010 =? 1100010 =? Convert the following binary numbers to hexadecimal: 11100111 =? 01101110 = ? 01111111 = ?

Explanation / Answer

binary         to   octal

--------------------------------------------------------------------------------------------

1.          1000001 (001 000 001)

       0 * 2^2 + 0 * 2^1 + 1* 2^0 =1

           0 * 2^2 + 0 * 2^1 + 0* 2^0 =0                 =      101

            0 * 2^2 + 0 * 2^1 + 1* 2^0 =1

2.   10000010 (010 000 010)

0 * 2^2 + 1* 2^1 + 0* 2^0   =2

           0 * 2^2 + 0 * 2^1 + 0* 2^0 =0                    =          202

            0 * 2^2 + 1 * 2^1 + 0* 2^0 =2


3.          1100010   (001 100 010)                          

           0 * 2^2 + 1* 2^1 + 0* 2^0   =2

           1 * 2^2 + 0 * 2^1 + 0* 2^0 =4                 =                    142

            0 * 2^2 + 0 * 2^1 + 1* 2^0 =1

                    binary                                        to              hexadecimal

-----------------------------------------------------------------------------------------------

1.      11100111 (1110 0111)                          

          0*2^3+ 1 * 2^2 + 1* 2^1 + 1* 2^0 =7               =                   E7

           1*2^3+ 1 * 2^2 + 1* 2^1 + 0* 2^0 =E   


2.          01101110 (0110 1110)   


           1*2^3+ 1 * 2^2 + 1* 2^1 + 0* 2^0 =E              =                       6E

           0*2^3+ 1 * 2^2 + 1* 2^1 + 0* 2^0 =6

3.        01111111 (0111 1111)   

          1*2^3+ 1 * 2^2 + 1* 2^1 + 1* 2^0 =F            =                       7F
           0*2^3+ 1 * 2^2 + 1* 2^1 + 1* 2^0 =7