Essay on conversions worksheet

Submitted By jtiffchang
Words: 571
Pages: 3

Binary, Decimal, Hexadecimal, and RGB Worksheet
This worksheet is worth up to 40 points total (two Lab grades). It is possible to earn up to 44 points overall.
You must record your final answers by the lines that begin with three asterisks. ***
Decimal to Binary Conversion (4 points)
1. Convert this IP address to binary: 152.71.249.1
First octet: 152
Decimal
152
24
24
24
8
0
0
0
Value
128
64
32
16
8
4
2
1
Remainder
24
Neg
Neg
8
0
Neg
Neg neg Binary
1
0
0
1
1
0
0
0
Second octet: 71
Decimal
71
71
7
7
7
7
3
1
Value
128
64
32
16
8
4
2
1
Remainder
Neg
7
Neg
Neg
neg
3
1
0
Binary
0
1
0
0
0
1
1
1
Third octet: 249
Decimal
249
121
57
25
9
1
1
1
Value
128
64
32
16
8
4
2
1
Remainder
121
57
25
9
1
Neg
Neg
0
Binary
1
1
1
1
1
0
0
1
Fourth octet: 1
Decimal
1
1
1
1
1
1
1
1
Value
128
64
32
16
8
4
2
1
Remainder
Neg
Neg
Neg
Neg
Neg
Neg
neg
0
Binary
0
0
0
0
0
0
0
1
*** IP Address is 10011000.01000111.11111001.00000001

Binary to Decimal Conversion (8 points)
1. IP Address: 10101011.00111100.11100010.00010101
First Octet: 10101011:
Binary
1
0
1
0
1
0
1
1
Decimal
128
0
160
160
168
168
170
171
Second Octet: 00111100
Binary
0
0
1
1
1
1
0
0
Decimal
0
0
32
48
56
60
60
60
Third Octet: .11100010
Binary
1
1
1
0
0
0
1
0
Decimal
128
192
224
224
224
224
226
226
Fourth Octet: 00010101
Binary
0
0
0
1
0
1
0
1
Decimal
0
0
0
16
16
20
20
21
*** IP Address: 171.60.226.21

2. RGB (11111010, 10110000, 00011101)
Red: 11111010
Binary
1
1
1
1
1
0
1
0
Decimal
128
192
224
240
248
248
250
250
Green: 10110000
Binary
1
0
1
1
0
0
0
0
Decimal
128
128
160
176
176
176
176
176
Blue: 00011101
Binary
0
0
0
1
1
1
0
1
Decimal
0
0
0
16
24
28
28
29
*** RGB (___250______, ______176_____, _____29______)
*** What color is this? ______Beige brown_______

Decimal to Hexadecimal (12 pts)
1. Convert this color to hexadecimal: RGB(16, 45, 212)
*** #102DD4
*** What color is this? ____Blue_________
2. Convert this color to hexadecimal: RGB(100, 255, 0)
*** #64FF00
*** What color is this? _____Green________
3. Convert this color to