Difference between revisions of "CSC231 Review of hexadecimal number system"
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | --[[User:Thiebaut|D. Thiebaut]] | + | --[[User:Thiebaut|D. Thiebaut]] ([[User talk:Thiebaut|talk]]) 09:19, 13 February 2017 (EST) |
---- | ---- | ||
+ | =Conversion Table= | ||
+ | <br /> | ||
<center> | <center> | ||
− | {| class="wikitable" | + | {| class="wikitable" style="text-align: center;" |
! binary | ! binary | ||
! hexadecimal | ! hexadecimal | ||
Line 20: | Line 22: | ||
| | | | ||
1 | 1 | ||
− | |-| | + | |- |
+ | | | ||
0010 | 0010 | ||
| | | | ||
Line 26: | Line 29: | ||
| | | | ||
2 | 2 | ||
− | |-| | + | |- |
+ | | | ||
0011 | 0011 | ||
| | | | ||
Line 32: | Line 36: | ||
| | | | ||
3 | 3 | ||
− | |-| | + | |- |
+ | | | ||
0100 | 0100 | ||
| | | | ||
Line 38: | Line 43: | ||
| | | | ||
4 | 4 | ||
− | |-| | + | |- |
+ | | | ||
0101 | 0101 | ||
| | | | ||
Line 44: | Line 50: | ||
| | | | ||
5 | 5 | ||
− | |-| | + | |- |
+ | | | ||
0110 | 0110 | ||
| | | | ||
Line 50: | Line 57: | ||
| | | | ||
6 | 6 | ||
− | |-| | + | |- |
+ | | | ||
0111 | 0111 | ||
| | | | ||
Line 56: | Line 64: | ||
| | | | ||
7 | 7 | ||
− | |-| | + | |- |
+ | | | ||
1000 | 1000 | ||
| | | | ||
Line 62: | Line 71: | ||
| | | | ||
8 | 8 | ||
− | |-| | + | |- |
+ | | | ||
1001 | 1001 | ||
| | | | ||
Line 68: | Line 78: | ||
| | | | ||
9 | 9 | ||
− | |-| | + | |- |
+ | | | ||
1010 | 1010 | ||
| | | | ||
Line 74: | Line 85: | ||
| | | | ||
10 | 10 | ||
− | |-| | + | |- |
+ | | | ||
1011 | 1011 | ||
| | | | ||
Line 80: | Line 92: | ||
| | | | ||
11 | 11 | ||
− | |-| | + | |- |
+ | | | ||
1100 | 1100 | ||
| | | | ||
Line 86: | Line 99: | ||
| | | | ||
12 | 12 | ||
− | |-| | + | |- |
+ | | | ||
1101 | 1101 | ||
| | | | ||
Line 92: | Line 106: | ||
| | | | ||
13 | 13 | ||
− | |-| | + | |- |
+ | | | ||
1110 | 1110 | ||
| | | | ||
Line 98: | Line 113: | ||
| | | | ||
14 | 14 | ||
− | |-| | + | |- |
+ | | | ||
1111 | 1111 | ||
| | | | ||
Line 138: | Line 154: | ||
− | + | aaAA | |
9999 | 9999 | ||
Line 154: | Line 170: | ||
* Perform the following additions in hex: | * Perform the following additions in hex: | ||
− | + | 1000 + AAAA | |
1234 + F | 1234 + F |
Latest revision as of 09:19, 13 February 2017
--D. Thiebaut (talk) 09:19, 13 February 2017 (EST)
Conversion Table
binary | hexadecimal | decimal |
---|---|---|
0000 |
0 |
0 |
0001 |
1 |
1 |
0010 |
2 |
2 |
0011 |
3 |
3 |
0100 |
4 |
4 |
0101 |
5 |
5 |
0110 |
6 |
6 |
0111 |
7 |
7 |
1000 |
8 |
8 |
1001 |
9 |
9 |
1010 |
a |
10 |
1011 |
b |
11 |
1100 |
c |
12 |
1101 |
d |
13 |
1110 |
e |
14 |
1111 |
f |
15 |
Some exercises to help you review the hexadecimal system
- What are the first 32 hex numbers, starting with 00?
- Convert these hexadecimal numbers to binary, and to decimal.
1111 1234 AAAA F001 FFFF
- Convert these decimal numbers to binary, and hexadecimal
65 127 1024
- What comes after these hexadecimal numbers, logically?
aaAA 9999 19F 1ABF FFEF F00F ABCDEF
- Perform the following additions in hex:
1000 + AAAA 1234 + F 1234 + ABCD FFFF + FFFF