IST 220

Week 5: DATA REPRESENTATION

 

PRACTICE PROBLEMS

Topics:

Number Conversions

  Binary Addition

Binary Subtraction

Solutions

Week 5 Course Guide | Home

NUMBER CONVERSIONS

Convert all bases to binary first. You can convert the number from binary to any other base.
  1. Convert 2910 to binary, hexadecimal and octal.
  2. Convert 5810 to binary, hexadecimal and octal.
  3. Convert E316 to binary, decimal and octal.
  4. Convert 5916 to binary, decimal and octal.
  5. Convert 010010102 to decimal, octal and hexadecimal.
  6. Convert 001010102 to decimal, octal and hexadecimal.
  7. Convert 438 to binary, decimal and hexadecimal.
  8. Convert 618 to binary, decimal and hexadecimal.
solution


Ý Back

BINARY ADDITION 

  1. 01010101 2. 01011010 3. 01101101
+ 01110101 + 11001010 + 11010110
solutions

 
 
4. 01010110 5. 11010110 6. 01101101

+ 11111001 + 00101011 + 10101010

solutions
 
 

Ý Back

BINARY SUBTRACTION

1. 3410 2. 6710 3. 8910

-1010 -4010 -6710

solutions

 
 
4. 7810 5. 8710 6. 1410

-9010 -8810 -3610

solutions


SOLUTIONS:

NUMBER CONVERSIONS

 
  1. Convert 2910 to binary, hexadecimal and octal.

  2. Binary: 000111012

    Hexadecimal: 1D16

    Octal: 358


     
     
  3. Convert 5810 to binary, hexadecimal and octal.

  4. Binary: 001110102

    Hexadecimal: 3A16

    Octal: 728


     
     
  5. Convert E316 to binary, decimal and octal.

  6. Binary: 111000112

    Decimal: 22710

    Octal: 3438


     
     
  7. Convert 5916 to binary, decimal and octal.

  8. Binary: 010110012

    Decimal: 8910

    Octal: 1318


     
     
  9. Convert 010010102 to decimal, octal and hexadecimal.

  10. Decimal: 7410

    Octal: 1128

    Hexadecimal: 4A16


     
     
  11. Convert 001010102 to decimal, octal and hexadecimal.

  12. Decimal: 4210

    Octal: 528

    Hexadecimal: 2A16


     
     
  13. Convert 438 to binary, decimal and hexadecimal.

  14. Binary: 001000112

    Decimal: 2310

    Hexadecimal: 3516


     
     
  15. Convert 618 to binary, decimal and hexadecimal.
Binary: 001100012

Decimal: 4910

Hexadecimal: 3116

Ý Back

SOLUTIONS:

BINARY ADDITION

 
  1. 01010101 2. 01011010 3. 01101101
+ 01110101 + 11001010 + 11010110
11001010 100100100 101000011
Ý Back
 

4. 01010110 5. 11010110 6. 01101101

+ 11111001 + 00101011 + 10101010

101001111 100000001 100010111 

Ý Back

SOLUTIONS:

BINARY SUBTRACTION

1. 3410 2. 6710 3. 8910

-1010 -4010 -6710

Ý Back


4. 7810 5. 8710 6. 1410

-9010 -8810 -3610

Ý Back

Ý Back to top of page

Week 5 Course Guide | Home