Professional Documents
Culture Documents
CS432 2
CS432 2
HIRA NASEEM
(a) Compute the checksum using 1’s complement for each of the following data bytes:
Answer
10101011
+ 10100110
01010001
+ 1
01010010
+ 01011101
10101111
+ 01011011
00001010
+ 1
00001011
1’s complement 1 1 1 1 0 1 0 0
(b) Write the final value which will be sent to the receiver after checksum calculation.
Final value :
00001011 checksum
11110100 1’s complement
11111111
QuestionNo.2:
Suppose the shortest path = Min hop Routing is shown in red color i.e. x to b whose bandwidth’s
demand d is 27 Mbps. Calculate the Total bandwidth for the route x to b (shown in red color)
considering the following criteria.
Answer:
Chosen route is the shortest path (Min hop Routing), Min hop is equal to the number
of hops on the shortest path.
Where:
D is the bandwidth