Docsity

CS 471G: Networking and Distributed Operating Systems - Homework 6 - Prof. Zongming Fei, Assignments of Computer Science

Toggle sidebar
bg1
CS 471G: Networking and Distributed Operating Systems Spring 2009
Homework 6
Assigned: Apr. 8, 2009 Due: Apr. 15, 2009
1. Kurose & Ross, Chapter 4, on pages 419-429, Problem 22
Note for P22: Use N H(v) to represent the next hop from the source node to destination node vas
of this iteration of the algorithm. Rewrite the Dijkstra’s algorithm to include computing next hop for
each destination, as we did in class. Then do the question and include in each step the value of NH
for each node.
2. Kurose & Ross, Chapter 4, on pages 419-429, Problem 24
Note for P24: Instead of calculating the distance vector table for node zonly, you should compute
the distance tables for all nodes, after the initialization step and after each iteration of a synchronous
version of the distance vector algorithm.
3. Kurose & Ross, Chapter 4, on pages 419-429, Problem 25
4. Kurose & Ross, Chapter 5, on pages 503-508, Problem 2
5. Kurose & Ross, Chapter 5, on pages 503-508, Problem 5
1

Partial preview of the text

Download CS 471G: Networking and Distributed Operating Systems - Homework 6 - Prof. Zongming Fei and more Assignments Computer Science in PDF only on Docsity!

CS 471G: Networking and Distributed Operating Systems Spring 2009

Homework 6

Assigned: Apr. 8, 2009 Due: Apr. 15, 2009

  1. Kurose & Ross, Chapter 4, on pages 419-429, Problem 22

Note for P22: Use N H(v) to represent the next hop from the source node to destination node v as of this iteration of the algorithm. Rewrite the Dijkstra’s algorithm to include computing next hop for each destination, as we did in class. Then do the question and include in each step the value of NH for each node.

  1. Kurose & Ross, Chapter 4, on pages 419-429, Problem 24

Note for P24: Instead of calculating the distance vector table for node z only, you should compute the distance tables for all nodes, after the initialization step and after each iteration of a synchronous version of the distance vector algorithm.

  1. Kurose & Ross, Chapter 4, on pages 419-429, Problem 25
  2. Kurose & Ross, Chapter 5, on pages 503-508, Problem 2
  3. Kurose & Ross, Chapter 5, on pages 503-508, Problem 5