NT1210 Intro to Networking
Instructor. Bobbie Casteel III
Chapter 1 Manual
Exercise 1.1.1
Create a mapping similar to Figure 1-1 for the decimal number 2931 using either paper and pencil or a Word document.
103 102 101 100
1000 100 10 1
2 9 3 1
2000 900 30 1 = 2931
Exercise 1.1.2
Create a mapping similar to Figure 1-2 for binary number 110^2 using either paper and pencil or Word document.
22 21 20
4 2 1
1 1 0
4 2 0 = 6
Exercise 1.1.3
Create mapping similar to Figure 1-2 for the binary number 11^2 using either paper and pencil or Word document.
2 1
1 1
2 1 = 2
Exercise 1.1.4
Create mapping similar to Figure 1-3 for the binary number 10010^2 using either paper and pencil or Word document.
24 23 22 21 20
16 8 4 2 1
1 0 0 1 0
16 0 0 2 0 = 18
Exercise 1.1.5
Create mapping similar to Figure 1-3 for the binary number 11100010^2 using either paper and pencil or Word document.
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
1 1 1 0 0 0 1 0
128 64 32 0 0 0 2 0 =226
Exercise 1.1.6
Using the example in Figure 1-5 and the steps that followed, create, a binary conversion for the decimal value 156.
156 28 28 28 12 4 0 0
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
1 0 0 1 1 1 0 0 = 100111002
128 0 0 16 8 4 0 0 = 156
Exercise 1.1.7
Using the example in Figure 1-5 and the steps that followed, create, a binary conversion for the decimal value 255.
255 127 63 31 15 7 3 1
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
1 1 1 1 1 1 1 1 = 111111112
128 64 32 16 8 4 2 1 = 255
Exercise 1.1.8
Using the example in Figure 1-5 and the steps that followed, create, a binary conversion for the decimal value 200.
200 72 8 8 8 0 0 0
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
1 1 0 0 1 0 0 0 = 1100100002
128 64 0 0 8 0 0 0 = 200
Lab 1.1 Review
1. Convert the decimal value 127 to binary. Explain the process of conversion that you used.
Decimal value 127 = Binary value 01111111 by using the decimal conversion and subtracting the primary decimal and the binary base of 2.
2. Explain why the values 10^2 and 0010^2 are equivalent.
The both add up to the same decimal equivalent based on the number being in the same position.
3. Based on the breakdown of the decimal and binary systems in this lab, describe the available digit values and the first four digits of a base 5 numbering system. You can use the binary system as a reference, where the available digit values are 0 and 1 and the first four digits are 1 ,2, 4 and 8.
The available digits increase and therefore increasing the number of possible combination and giving the use a greater amount to work with. 0-4; 1, 5, 25, 125
4. Using the Internet and the Help files in Excel, explain why creating a converter from decimal to binary would be more difficult to construct. Hint: you should consider the conditional evaluation of whether the decimal value remaining is larger than the binary digit value.
It would be more difficult to convert decimal to binary excel because you have to keep in mind which base group you are using and the brackets you are reading.
Lab 1.2
Exercise 1.2.1
Using Figure 1-9 as an example, determine the result of adding 110^2 and 1001^2.
Exercise 1.2.2
Using Figure 1-9 as an example, determine the result of adding 110^2 and 101^2.
Exercise 1.2.3
Using Figure 1-9 as an example, determine the result of adding 111^2 and 111^2.
Exercise 1.2.4
Determine the result of 1002 OR 0112.
Exercise 1.2.5
Determine the result of 1112 AND 1002.
Exercise 1.2.6
Determine the result of NOT 10012.
Exercise 1.2.7
Using binary addition, what is the result of 10102 + 102? Using binary addition, how would you repeatedly increment a number by 2?
Exercise 1.2.8
Using the AND operator, what is the result of 11002 AND 11112? What can you conclude about using AND on any value with a string of 1s?
Exercise 1.2.9
Using the OR operator, what is the result of 11002 OR 11112? What can you conclude about using OR on any value with a string of 1s? What value can you use with an OR operator