SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
James F. Kurose, Keith W. Ross
Chapter:
The Network Layer
Exercise:
Problems
Question:25 | ISBN:9780132856201 | Edition: 6

Question

Repeat Problem P24 for paths from x to z, z to u, and z to w.

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Answer

Consider the  problem P24 and the Figure 4.27 in the text book.

There are 11 paths found that do not form cycles from "x" to "z". Those 11 paths are as follows:

  1. x-y-z
  2. x-w-z
  3. x-y-w-z
  4. x-w-y-z
  5. x-v-w-z
  6. x-u-w-z
  7. x-v-w-y-z
  8. x-u-v-w-z
  9. x-u-w-y-z
  10. x-u-v-w-y-z
  11. x-v-u-w-y-z

There are 18 paths found that do not form cycles from "z" to "u". Those 18 paths are as follows:

  1. z-w-u
  2. z-y-w-u
  3. z-w-v-u
  4. z-y-x-u
  5. z-y-w-u
  6. z-w-x-u
  7. z-y-w-x-u
  8. z-w-y-x-u
  9. z-w-x-v-u
  10. z-w-v-x-u
  11. z-y-x-w-u
  12. z-y-x-v-u
  13. z-y-w-v-u
  14. z-y-x-w-v-u
  15. z-y-x-v-w-u
  16. z-y-w-x-v-u
  17. z-y-w-v-x-u
  18. z-w-y-x-v-u

There are 7 paths found that do not form cycles from "z" to "w". Those 7 paths are as follows:

  1. z-w
  2. z-y-w
  3. z-y-x-w
  4. z-y-x-v-w
  5. z-y-x-u-w
  6. z-y-x-u-v-w
  7. z-y-x-v-u-w

 

0 0

Discussions

Post the discussion to improve the above solution.