[Notes] Network planning and administration: Characterization
Characterization of computer networks.
Decimal | Binary | Decimal | Binary |
---|---|---|---|
0 | 0000 | 8 | 1000 |
1 | 0001 | 9 | 1001 |
2 | 0010 | 10 | 1010 |
3 | 0011 | 11 | 1011 |
4 | 0100 | 12 | 1100 |
5 | 0101 | 13 | 1101 |
6 | 0110 | 14 | 1110 |
7 | 0111 | 15 | 1111 |
Decimal | Hexadecimal | Binary | Decimal | Hexadecimal | Binary |
---|---|---|---|---|---|
0 | 0 | 0000 | 16 | 10 | 00010000 |
1 | 1 | 0001 | 17 | 11 | 00010001 |
2 | 2 | 0010 | 18 | 12 | 00010010 |
3 | 3 | 0011 | 19 | 13 | 00010011 |
4 | 4 | 0100 | 20 | 14 | 00010100 |
5 | 5 | 0101 | 21 | 15 | 00010101 |
6 | 6 | 0110 | 22 | 16 | 00010110 |
7 | 7 | 0111 | 23 | 17 | 00010111 |
8 | 8 | 1000 | 24 | 18 | 00011000 |
9 | 9 | 1001 | 25 | 19 | 00011001 |
10 | a | 1010 | 26 | 1a | 00011010 |
11 | b | 1011 | 27 | 1b | 00011011 |
12 | c | 1100 | 28 | 1c | 00011100 |
13 | d | 1101 | 29 | 1d | 00011101 |
14 | e | 1110 | 30 | 1e | 00011110 |
15 | f | 1111 | 31 | 1f | 00011111 |
Binary to decimal
(a8 a7 a6 a5 a4 a3 a2 a1 a0)2 = a8*28+a7*27+a6*26+a5*25+a4*24+a3*23+a2*22+a1*21+a0*20
Convert (101,1)2 to base 10:
(101,1)2 = 1*22+0*21+1*20+1*21 = 4+0+1+0,5 = (5,5)10
Decimal to binary
Convert (357)10 to binary:
357/2 | 178/2 | 89/2 | 44/2 | 22/2 | 11/2 | 5/2 | 2/2 | 1/2 | 0 |
---|---|---|---|---|---|---|---|---|---|
10 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | ||
← | ← | ← | ← | ← | ← | ← | ← |
(257)10 = (101100101)2
Hexadecimal to binary
Convert (1a36d)16 to binary:
(1)16 = (0001)2 |
(a)16 = (1010)2 |
(3)16 = (0011)2 |
(6)16 = (0110)2 |
(d)16 = (1101)2 |
(1a36d)16 = (~~000~~11010001101101101)2
Convert (5f6c,ab8)16 to binary:
(5)16 = (0101)2 |
(f)16 = (1111)2 |
(6)16 = (0110)2 |
(c)16 = (1100)2 |
(a)16 = (1010)2 |
(b)16 = (1011)2 |
(8)16 = (1000)2 |
(5f6c,ab8)16 = (0101111101101100,101010111000)2
Binary to hexadecimal
Convert (0010010111010001,11101100)2 to hexadecimal:
0010 | 0101 | 1101 | 0001 | , | 1110 | 1100 |
---|---|---|---|---|---|---|
2 | 5 | d | 1 | , | 3 | c |
(10010111010001,111011)2 = (25d1,ec)16