5,300 views
2 votes
2 votes
A group of $2^n -1$ routers are interconnected in a centralized binary tree with a router at each tree node . Router 1 communicates with Router j by sending a message to the root of the tree. The root then sends a message back down to j  Derive an approximate expression for the minimum number of hops per message for large N , assuming that all the router pairs are equally likely

1). $2N-4$

2). $N-4/2$

3). $N-4/2$

4). $N-4$

1 Answer

1 votes
1 votes

Answer is 2N-4

 binary tre having 2n-1 routers

In Nth level of tree each node(router) will take n-1 hops to tranfer to root and half of the total routers are on this level. (n-1)*1/2 hops

N-1 level 's nodes will take n-2 hops to tranfer to root and half of the remaining routers are on this level. (n-2)*1/4 hops

N-2 level 's nodes will take n-3 hops to tranfer to root and half of the remaining routers are on this level. (n-3)*1/8 hops

N-3 level 's nodes will take n-4 hops to tranfer to root and half of the remaining routers are on this level. (n-4)*1/16 hops

So in total i router to root 

=  (n-1)*1/2+ (n-2)*1/4+ (n-3)*1/8+ (n-4)*1/16+......

= n-2 

Similarly root to router j again n-2

Mminimum no. Hops = 2(n-2)= 2n-4

Related questions

0 votes
0 votes
0 answers
1
54Y4N asked Oct 9, 2023
233 views
A 1 kilometer long CSMA/CD (not 802.3) has a propagation speed of 200m/ìsec. Repeaters are not allowed in this system Data frames are 256 bits long, including 32 bits of...
0 votes
0 votes
1 answer
2
once_2019 asked Oct 7, 2018
846 views
An upper-layer packet is split into 5 frames, each of which has an 90% chance of arriving undamaged. If no error control is done by the data link protocol, how many times...
2 votes
2 votes
1 answer
3
Sumit Singh Chauhan asked Aug 2, 2018
1,746 views
What is the channel capacity of printer (in bps) with a 400Hz bandwidth and a signal to noise ratio is 7 dB?