Tuesday, 19 May 2015

CS601 Data Communication Assignment No. 01 20, May 2015.

Assignment

Consider a computer network of a social networking web site in which 7 routers are connected with each other using a dedicated wired point to point link. Each link is of 5 meters and cost of wire is 100 PKR per meter.

In view of the above scenario answer the following questions and provide yours to-the-point answers in respective tables.

  1. What will be the total number of links before and after adding this new router?

No. of Links before adding new router
No. of Links after adding new router
Calculation
Final Answer


Calculation
Final Answer



  1. What will be the total cost of wire before adding this new router and after adding this router?

Total cost of wire before adding new router
Total cost of wire after adding new router
Calculation
Final Answer


Calculation
Final Answer



Idea Solution : 

Here 7 routers are given which are connected with a mesh topology, you have to find how many links they are connected through?
After:
and if you add one more router in the current mesh, how many links now you have to add?
use this formula:
no. of links= n(n-1)/2
where n = number of nodes
let us solve one as an example:
suppose we have 5 routers in a mesh and we have to find the number of links:
no. links= n(n-1)/2
= 5(5-1)/2 = 10 links
:)