Previous: References
Up: 1 Introduction
Next: 1.6 Problems
Previous Page: References
Next Page: 1.6 Problems
- Convert the following binary numbers into decimal values:
0000 0100 0110 1001
0011 0001 0111 1111
0101 0101 0101 0101
- Convert the following octal numbers into decimal:
000345
000111
000777
- Convert the following hexadecimal numbers into decimal:
1A
FF
21
- Convert the following decimal integer values into binary, octal, and
hexadecimal:
101
324
129
- Add the following binary numbers:
0000 0100 0110 1001
0011 0001 0111 1111
0101 0101 0101 0101
- Add the following octal numbers:
000345
000111
000777
- Add the following hexadecimal numbers:
1A
FF
21
- How many distinct binary strings can be formed with n bits?
- Find the negative of the following binary numbers
in a two's complement representation:
0000 0100 0110 1001
0011 0001 0111 1111
0101 0101 0101 0101
- Represent the following in two's complement form using 16 bits:
-29
165
-100
- What is the largest positive integer that can be stored in n bits, with one
leading bit reserved for the sign bit? Explain. Negative integer? Assume two's
complement representations.