|
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.
-
Convert 2910 to binary, hexadecimal and
octal.
-
Convert 5810 to binary, hexadecimal and
octal.
-
Convert E316 to
binary, decimal and octal.
-
Convert 5916 to
binary, decimal and octal.
-
Convert 010010102
to decimal, octal and hexadecimal.
-
Convert 001010102 to
decimal, octal and hexadecimal.
-
Convert 438 to binary,
decimal and hexadecimal.
-
Convert 618 to binary,
decimal and hexadecimal.
BINARY ADDITION
-
01010101 2. 01011010 3. 01101101
+ 01110101 + 11001010 + 11010110
4. 01010110 5. 11010110 6. 01101101
+ 11111001 + 00101011 + 10101010

BINARY SUBTRACTION
1. 3410 2. 6710
3. 8910
-1010 -4010
-6710
4. 7810 5. 8710
6. 1410
-9010 -8810 -3610
SOLUTIONS:
NUMBER CONVERSIONS
-
Convert 2910 to binary, hexadecimal and octal.
Binary: 000111012
Hexadecimal: 1D16
Octal: 358
-
Convert 5810 to binary, hexadecimal and octal.
Binary: 001110102
Hexadecimal: 3A16
Octal: 728
-
Convert E316 to binary, decimal and octal.
Binary: 111000112
Decimal: 22710
Octal: 3438
-
Convert 5916 to binary, decimal and octal.
Binary: 010110012
Decimal: 8910
Octal: 1318
-
Convert 010010102 to decimal, octal and hexadecimal.
Decimal: 7410
Octal: 1128
Hexadecimal: 4A16
-
Convert 001010102 to decimal, octal and hexadecimal.
Decimal: 4210
Octal: 528
Hexadecimal: 2A16
-
Convert 438 to binary, decimal and hexadecimal.
Binary: 001000112
Decimal: 2310
Hexadecimal: 3516
-
Convert 618 to binary, decimal and hexadecimal.
Binary: 001100012
Decimal: 4910
Hexadecimal: 3116
SOLUTIONS:
BINARY ADDITION
-
01010101 2. 01011010 3. 01101101
+ 01110101 + 11001010 + 11010110
11001010 100100100 101000011
4. 01010110 5. 11010110 6. 01101101
+ 11111001 + 00101011 + 10101010
101001111 100000001 100010111
SOLUTIONS:
BINARY SUBTRACTION
1. 3410 2. 6710
3. 8910
-1010 -4010
-6710
4. 7810 5. 8710
6. 1410
-9010 -8810 -3610
Week 5 Course Guide
| Home
|