Difference between revisions of "CSC231 Exercises Binary Hexadecimal"
(→Binary to decimal and hexadecimal) |
(→Binary to decimal and hexadecimal) |
||
Line 8: | Line 8: | ||
0 | 0 | ||
− | + | 9999 | |
0000 1110 0001 1101 0000 0000 | 0000 1110 0001 1101 0000 0000 | ||
+ | |||
+ | ==Base 3== | ||
+ | |||
+ | Count in base 3. List the first 10 numbers. | ||
==Hex to binary and decimal== | ==Hex to binary and decimal== |
Revision as of 07:27, 16 September 2014
Contents
Exercises on number conversion
Binary to decimal and hexadecimal
Convert the following binary numbers to their (unsigned) decimal and hexadecimal equivalent. For each one indicate the amount of storage required to store them (nybble, byte, word, double-word):
0 9999 0000 1110 0001 1101 0000 0000
Base 3
Count in base 3. List the first 10 numbers.
Hex to binary and decimal
Same question for these numbers:
1a 1234 1010 ffff
Decimal to binary and hex
Same question for these numbers:
15 129 32767
Converter