SlideShare a Scribd company logo
1 of 4
Download to read offline
EE 333, Communication Networks
Solutions Final Exam (2014-15S)
Maximum Marks = 50 Time = 3 hours
1. (a)
* 2 * 2
1 2 1 2
* 1 2
1 2
1 1 1 1
1 (1 ) 0.5 (1 )
(2 ) 1 (1 0.5 )
N N
N
   
   
 
   
 
   
          
   
 
    
 
* 1 2
1 2
1 1
(2 ) 2
N
 
   
 
   
  
(b)
* 2 * 2
1 1 2
*
1 2
1 1 1
1 (1 ) (1 )
1
(2 ) 1 (1 )
N N
N
   
  

   
 
 
       
 
    
*
1 2
1 1 1 1
(2 ) (2 ) 2
N

     
 
    
   
(c) When both A and B have the packet and both transmit, the average total number of
transmissions required (from both A and B) would be –
1 2 1 2 1 2
2 2
1 (1 )(1 )     

    
Using this,
* 2 * 2
1 2 1 2 1 2
1 1 2
1 (1 ) (1 )N N   
     
 
       
  
* 2
1 2 1 2 1 2
1 1 2
(2 ) 1 (1 )N     
     
 
      
  
Therefore, * 1 2
1 2 1 2 1 2
1 1 2
(2 ) 2 2
N
  
         
      
        
          
2. (a) The State Transition Diagram is given below
(b) Balance Equations
0 1 1 0
1 2 2 1 0 0 1
2
2 1 3 3 1 2 0
( ) (1 ) (1 ) ( )
( ) ( ) (2 )
p p p p
p p p p p p p
p p p p p p p
  
      
    
 
       
     
3 2 4 4 2 3
1 2 1 2
( ) ( )
................................................................................
( ) ( )
..................................................................
n n n n n n
p p p p p p
p p p p p p
  
     
   
   
..............
(c) Summing both sides of all the equations, we get
1 0 0
0 01 2 1 2
k k k
k k k
p p p
p p
 
 
  
  
 
   
  
(d) Generating Function
Multiplying LHS and RHS of the ith
equation by zi
and summing both sides, we get
2 1
1 0 0
i i i
i i i
i i i
p z p z p z 
  
 
  
   
Using
0
( ) i
i
i
P z p z


  and simplifying, we get
2 0
0 2
( ) ( ) ( ) ( )
1
p
P z p z P z zP z P z
z z
 
 
    
 
The Normalization Condition requires that P(1)=1
Therefore, 0 2
1 2
1 2 ( )
1
p P z
z z


 

  
 
(e) Mean
1
( )
z
dP z
N
dz 
 2 2
(1 2 )( 2 )
( )
(1 )
z
P z
z z
  
 
 
 
 
2
3 (1 2 ) 3
(1 2 ) 1 2
N
  
 

 
 
(f) Using Little’s Formula with 2eff  , we get
3
2 (1 2 )eff
N
W
  
 

3(a)
N DB DC DD DE DF DG DH DI DJ
A 2
A-B
3
A-C
7
A-D
∞ 7
A-F
∞ ∞ ∞ ∞
A,B 2
A-B
3
A-C
7
A-D
4
A-B-E
7
A-F
∞ ∞ ∞ ∞
A,B,C 2
A-B
3
A-C
7
A-D
4
A-B-E
5
A-C-F
∞ ∞ ∞ ∞
A,B,C,E 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
∞ ∞ ∞
A,B,C,E,F 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
∞ ∞ ∞
A,B,C,E,F,G 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
7
A-B-E-G-H
9
A-B-E-G-I
∞
ABCEFGD 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
7
A-B-E-G-H
7
A-B-E-D-I
13
A-D-J
ABCEFGDH 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
7
A-B-E-G-H
7
A-B-E-D-I
8
ABEGHJ
ABCEFGDHI 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
7
A-B-E-G-H
7
A-B-E-D-I
8
ABEGHJ
ABCEFGDHIJ 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
7
A-B-E-G-H
7
A-B-E-D-I
8
ABEGHJ
Forwarding Table at Node A
Destination B C D E F G H I J
Next Node B C B B C B B B B
(b) Multicast Cost = Sum of Link Costs in above tree = 16
(c) Delete all the links of the first path in the network graph and apply Dijkstra’s Algorithm once again
4. Refer to the textbook and the lecture notes for the answers
3(a) ALTERNATE SOLUTION
N DB DC DD DE DF DG DH DI DJ
A 2
A-B
3
A-C
7
A-D
∞ 7
A-F
∞ ∞ ∞ ∞
A,B 2
A-B
3
A-C
7
A-D
4
A-B-E
7
A-F
∞ ∞ ∞ ∞
A,B,C 2
A-B
3
A-C
7
A-D
4
A-B-E
5
A-C-F
∞ ∞ ∞ ∞
A,B,C,E 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
∞ ∞ ∞
A,B,C,E,G 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
7
A-B-E-G-H
9
A-B-E-G-I
∞
A,B,C,E,G,F 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
7
A-B-E-G-H
9
A-B-E-G-I
∞
ABCEGFD 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
7
A-B-E-G-H
7
A-B-E-D-I
13
A-D-J
ABCEGFDH 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
7
A-B-E-G-H
7
A-B-E-D-I
8
ABEGHJ
ABCEGFDHI 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
7
A-B-E-G-H
7
A-B-E-D-I
8
ABEGHJ
ABCEGFDHIJ 2
A-B
3
A-C
6
A-B-E-D
4
A-B-E
5
A-C-F
5
A-B-E-G
7
A-B-E-G-H
7
A-B-E-D-I
8
ABEGHJ
Slightly different sequence if the other “7” is chosen first
Forwarding Table at Node A
Destination B C D E F G H I J
Next Node B C B B C B B B B
(b) Multicast Cost = Sum of Link Costs in above tree = 16
(c) Delete all the links of the first path in the network graph and apply Dijkstra’s Algorithm once again
4. Refer to the textbook and the lecture notes for the answers

More Related Content

What's hot

107069260 trabajo-final-de-estructuras-ii
107069260 trabajo-final-de-estructuras-ii107069260 trabajo-final-de-estructuras-ii
107069260 trabajo-final-de-estructuras-iiEdwin Torres C
 
Respuestas de la prueba parcial n. 2-matlab
Respuestas de la prueba parcial n. 2-matlabRespuestas de la prueba parcial n. 2-matlab
Respuestas de la prueba parcial n. 2-matlabfabriciovillacres2017
 
[DL輪読会]A Probabilistic U-Net for Segmentation of Ambiguous Images
[DL輪読会]A Probabilistic U-Net for Segmentation of Ambiguous Images[DL輪読会]A Probabilistic U-Net for Segmentation of Ambiguous Images
[DL輪読会]A Probabilistic U-Net for Segmentation of Ambiguous ImagesDeep Learning JP
 
Quantum mechanics 1st edition mc intyre solutions manual
Quantum mechanics 1st edition mc intyre solutions manualQuantum mechanics 1st edition mc intyre solutions manual
Quantum mechanics 1st edition mc intyre solutions manualSelina333
 
ロマンティックな9つの数 #ロマ数ボーイズ
ロマンティックな9つの数 #ロマ数ボーイズロマンティックな9つの数 #ロマ数ボーイズ
ロマンティックな9つの数 #ロマ数ボーイズJunpei Tsuji
 
Bpt logarit ltdh 2013
Bpt logarit  ltdh 2013Bpt logarit  ltdh 2013
Bpt logarit ltdh 2013Huynh ICT
 
Quantum Mechanics A Paradigms Approach 1st Edition McIntyre Solutions Manual
Quantum Mechanics A Paradigms Approach 1st Edition McIntyre Solutions ManualQuantum Mechanics A Paradigms Approach 1st Edition McIntyre Solutions Manual
Quantum Mechanics A Paradigms Approach 1st Edition McIntyre Solutions ManualAndersonasaa
 
Some Special Functions of Complex Variable
Some Special Functions of Complex VariableSome Special Functions of Complex Variable
Some Special Functions of Complex Variablerahulmonikasharma
 
Decomposition formulas for H B - hypergeometric functions of three variables
Decomposition formulas for H B - hypergeometric functions of three variablesDecomposition formulas for H B - hypergeometric functions of three variables
Decomposition formulas for H B - hypergeometric functions of three variablesinventionjournals
 
مراجعة مركزة نهائية 2021
مراجعة مركزة  نهائية 2021مراجعة مركزة  نهائية 2021
مراجعة مركزة نهائية 2021Rihan Rihan
 
Mathematical Modelling of Electro-Mechanical System in Matlab
Mathematical Modelling of Electro-Mechanical System in MatlabMathematical Modelling of Electro-Mechanical System in Matlab
Mathematical Modelling of Electro-Mechanical System in MatlabCOMSATS Abbottabad
 
20200515 蔡儀律師-著作權問題實例解說-轉譯 影片 書籍等為主
20200515 蔡儀律師-著作權問題實例解說-轉譯 影片 書籍等為主20200515 蔡儀律師-著作權問題實例解說-轉譯 影片 書籍等為主
20200515 蔡儀律師-著作權問題實例解說-轉譯 影片 書籍等為主Jamie C. Yang
 
Mathematical Relations
Mathematical RelationsMathematical Relations
Mathematical Relationsmohull
 
13200836 solution-manual-process-dynamics-and-control-donald-r-coughanowr-130...
13200836 solution-manual-process-dynamics-and-control-donald-r-coughanowr-130...13200836 solution-manual-process-dynamics-and-control-donald-r-coughanowr-130...
13200836 solution-manual-process-dynamics-and-control-donald-r-coughanowr-130...nutkoon
 
Certain D - Operator for Srivastava H B - Hypergeometric Functions of Three V...
Certain D - Operator for Srivastava H B - Hypergeometric Functions of Three V...Certain D - Operator for Srivastava H B - Hypergeometric Functions of Three V...
Certain D - Operator for Srivastava H B - Hypergeometric Functions of Three V...inventionjournals
 
Effect of orientation angle of elliptical hole in thermoplastic composite pla...
Effect of orientation angle of elliptical hole in thermoplastic composite pla...Effect of orientation angle of elliptical hole in thermoplastic composite pla...
Effect of orientation angle of elliptical hole in thermoplastic composite pla...ijceronline
 
Fieldtheoryhighlights2015
Fieldtheoryhighlights2015Fieldtheoryhighlights2015
Fieldtheoryhighlights2015foxtrot jp R
 
Mathematical Modelling of Electrical/Mechanical modellinng in MATLAB
Mathematical Modelling of Electrical/Mechanical modellinng in MATLABMathematical Modelling of Electrical/Mechanical modellinng in MATLAB
Mathematical Modelling of Electrical/Mechanical modellinng in MATLABCOMSATS Abbottabad
 
Special Products and Factoring , Rational Algebraic Expressions Concept Map
Special Products and Factoring , Rational Algebraic Expressions Concept MapSpecial Products and Factoring , Rational Algebraic Expressions Concept Map
Special Products and Factoring , Rational Algebraic Expressions Concept MapRocyl Anne Javagat
 

What's hot (20)

107069260 trabajo-final-de-estructuras-ii
107069260 trabajo-final-de-estructuras-ii107069260 trabajo-final-de-estructuras-ii
107069260 trabajo-final-de-estructuras-ii
 
Respuestas de la prueba parcial n. 2-matlab
Respuestas de la prueba parcial n. 2-matlabRespuestas de la prueba parcial n. 2-matlab
Respuestas de la prueba parcial n. 2-matlab
 
[DL輪読会]A Probabilistic U-Net for Segmentation of Ambiguous Images
[DL輪読会]A Probabilistic U-Net for Segmentation of Ambiguous Images[DL輪読会]A Probabilistic U-Net for Segmentation of Ambiguous Images
[DL輪読会]A Probabilistic U-Net for Segmentation of Ambiguous Images
 
Quantum mechanics 1st edition mc intyre solutions manual
Quantum mechanics 1st edition mc intyre solutions manualQuantum mechanics 1st edition mc intyre solutions manual
Quantum mechanics 1st edition mc intyre solutions manual
 
ロマンティックな9つの数 #ロマ数ボーイズ
ロマンティックな9つの数 #ロマ数ボーイズロマンティックな9つの数 #ロマ数ボーイズ
ロマンティックな9つの数 #ロマ数ボーイズ
 
Bpt logarit ltdh 2013
Bpt logarit  ltdh 2013Bpt logarit  ltdh 2013
Bpt logarit ltdh 2013
 
Quantum Mechanics A Paradigms Approach 1st Edition McIntyre Solutions Manual
Quantum Mechanics A Paradigms Approach 1st Edition McIntyre Solutions ManualQuantum Mechanics A Paradigms Approach 1st Edition McIntyre Solutions Manual
Quantum Mechanics A Paradigms Approach 1st Edition McIntyre Solutions Manual
 
Some Special Functions of Complex Variable
Some Special Functions of Complex VariableSome Special Functions of Complex Variable
Some Special Functions of Complex Variable
 
Decomposition formulas for H B - hypergeometric functions of three variables
Decomposition formulas for H B - hypergeometric functions of three variablesDecomposition formulas for H B - hypergeometric functions of three variables
Decomposition formulas for H B - hypergeometric functions of three variables
 
مراجعة مركزة نهائية 2021
مراجعة مركزة  نهائية 2021مراجعة مركزة  نهائية 2021
مراجعة مركزة نهائية 2021
 
Ca8e Ppt 6 1
Ca8e Ppt 6 1Ca8e Ppt 6 1
Ca8e Ppt 6 1
 
Mathematical Modelling of Electro-Mechanical System in Matlab
Mathematical Modelling of Electro-Mechanical System in MatlabMathematical Modelling of Electro-Mechanical System in Matlab
Mathematical Modelling of Electro-Mechanical System in Matlab
 
20200515 蔡儀律師-著作權問題實例解說-轉譯 影片 書籍等為主
20200515 蔡儀律師-著作權問題實例解說-轉譯 影片 書籍等為主20200515 蔡儀律師-著作權問題實例解說-轉譯 影片 書籍等為主
20200515 蔡儀律師-著作權問題實例解說-轉譯 影片 書籍等為主
 
Mathematical Relations
Mathematical RelationsMathematical Relations
Mathematical Relations
 
13200836 solution-manual-process-dynamics-and-control-donald-r-coughanowr-130...
13200836 solution-manual-process-dynamics-and-control-donald-r-coughanowr-130...13200836 solution-manual-process-dynamics-and-control-donald-r-coughanowr-130...
13200836 solution-manual-process-dynamics-and-control-donald-r-coughanowr-130...
 
Certain D - Operator for Srivastava H B - Hypergeometric Functions of Three V...
Certain D - Operator for Srivastava H B - Hypergeometric Functions of Three V...Certain D - Operator for Srivastava H B - Hypergeometric Functions of Three V...
Certain D - Operator for Srivastava H B - Hypergeometric Functions of Three V...
 
Effect of orientation angle of elliptical hole in thermoplastic composite pla...
Effect of orientation angle of elliptical hole in thermoplastic composite pla...Effect of orientation angle of elliptical hole in thermoplastic composite pla...
Effect of orientation angle of elliptical hole in thermoplastic composite pla...
 
Fieldtheoryhighlights2015
Fieldtheoryhighlights2015Fieldtheoryhighlights2015
Fieldtheoryhighlights2015
 
Mathematical Modelling of Electrical/Mechanical modellinng in MATLAB
Mathematical Modelling of Electrical/Mechanical modellinng in MATLABMathematical Modelling of Electrical/Mechanical modellinng in MATLAB
Mathematical Modelling of Electrical/Mechanical modellinng in MATLAB
 
Special Products and Factoring , Rational Algebraic Expressions Concept Map
Special Products and Factoring , Rational Algebraic Expressions Concept MapSpecial Products and Factoring , Rational Algebraic Expressions Concept Map
Special Products and Factoring , Rational Algebraic Expressions Concept Map
 

Similar to End sem solution

Sistemas de comunicacion 4ta edicion - bruce a. carlson solutions manual
Sistemas de comunicacion   4ta edicion - bruce a. carlson solutions manualSistemas de comunicacion   4ta edicion - bruce a. carlson solutions manual
Sistemas de comunicacion 4ta edicion - bruce a. carlson solutions manualluis hernando rodriguez montenegro
 
Theory of electroelasticity
Theory of electroelasticityTheory of electroelasticity
Theory of electroelasticitySpringer
 
Formulario de Calculo Diferencial-Integral
Formulario de Calculo Diferencial-IntegralFormulario de Calculo Diferencial-Integral
Formulario de Calculo Diferencial-IntegralErick Chevez
 
IRJET- On Certain Subclasses of Univalent Functions: An Application
IRJET- On Certain Subclasses of Univalent Functions: An ApplicationIRJET- On Certain Subclasses of Univalent Functions: An Application
IRJET- On Certain Subclasses of Univalent Functions: An ApplicationIRJET Journal
 
Formulario oficial-calculo
Formulario oficial-calculoFormulario oficial-calculo
Formulario oficial-calculoFavian Flores
 
Solucao_Marion_Thornton_Dinamica_Classic (1).pdf
Solucao_Marion_Thornton_Dinamica_Classic (1).pdfSolucao_Marion_Thornton_Dinamica_Classic (1).pdf
Solucao_Marion_Thornton_Dinamica_Classic (1).pdfFranciscoJavierCaedo
 
Geurdes Monte Växjö
Geurdes Monte VäxjöGeurdes Monte Växjö
Geurdes Monte VäxjöRichard Gill
 
International journal of applied sciences and innovation vol 2015 - no 1 - ...
International journal of applied sciences and innovation   vol 2015 - no 1 - ...International journal of applied sciences and innovation   vol 2015 - no 1 - ...
International journal of applied sciences and innovation vol 2015 - no 1 - ...sophiabelthome
 
Formulario cálculo
Formulario cálculoFormulario cálculo
Formulario cálculoMan50035
 
Second-order Cosmological Perturbations Engendered by Point-like Masses
Second-order Cosmological Perturbations Engendered by Point-like MassesSecond-order Cosmological Perturbations Engendered by Point-like Masses
Second-order Cosmological Perturbations Engendered by Point-like MassesMaxim Eingorn
 
ゲーム理論BASIC 演習46 -部分ゲーム完全均衡-
ゲーム理論BASIC 演習46 -部分ゲーム完全均衡-ゲーム理論BASIC 演習46 -部分ゲーム完全均衡-
ゲーム理論BASIC 演習46 -部分ゲーム完全均衡-ssusere0a682
 
摂動完全均衡 -1- 【ナッシュ均衡の精緻化】
摂動完全均衡 -1- 【ナッシュ均衡の精緻化】摂動完全均衡 -1- 【ナッシュ均衡の精緻化】
摂動完全均衡 -1- 【ナッシュ均衡の精緻化】ssusere0a682
 
Triumph- JEE Advanced Maths - Paper 1
Triumph- JEE Advanced Maths - Paper 1Triumph- JEE Advanced Maths - Paper 1
Triumph- JEE Advanced Maths - Paper 1askiitians
 

Similar to End sem solution (20)

E024033041
E024033041E024033041
E024033041
 
Maths ms
Maths msMaths ms
Maths ms
 
Sistemas de comunicacion 4ta edicion - bruce a. carlson solutions manual
Sistemas de comunicacion   4ta edicion - bruce a. carlson solutions manualSistemas de comunicacion   4ta edicion - bruce a. carlson solutions manual
Sistemas de comunicacion 4ta edicion - bruce a. carlson solutions manual
 
D41024030
D41024030D41024030
D41024030
 
Theory of electroelasticity
Theory of electroelasticityTheory of electroelasticity
Theory of electroelasticity
 
Formulario de Calculo Diferencial-Integral
Formulario de Calculo Diferencial-IntegralFormulario de Calculo Diferencial-Integral
Formulario de Calculo Diferencial-Integral
 
IRJET- On Certain Subclasses of Univalent Functions: An Application
IRJET- On Certain Subclasses of Univalent Functions: An ApplicationIRJET- On Certain Subclasses of Univalent Functions: An Application
IRJET- On Certain Subclasses of Univalent Functions: An Application
 
Formulario oficial-calculo
Formulario oficial-calculoFormulario oficial-calculo
Formulario oficial-calculo
 
Solucao_Marion_Thornton_Dinamica_Classic (1).pdf
Solucao_Marion_Thornton_Dinamica_Classic (1).pdfSolucao_Marion_Thornton_Dinamica_Classic (1).pdf
Solucao_Marion_Thornton_Dinamica_Classic (1).pdf
 
Geurdes Monte Växjö
Geurdes Monte VäxjöGeurdes Monte Växjö
Geurdes Monte Växjö
 
International journal of applied sciences and innovation vol 2015 - no 1 - ...
International journal of applied sciences and innovation   vol 2015 - no 1 - ...International journal of applied sciences and innovation   vol 2015 - no 1 - ...
International journal of applied sciences and innovation vol 2015 - no 1 - ...
 
Formulario calculo
Formulario calculoFormulario calculo
Formulario calculo
 
Formulario cálculo
Formulario cálculoFormulario cálculo
Formulario cálculo
 
Second-order Cosmological Perturbations Engendered by Point-like Masses
Second-order Cosmological Perturbations Engendered by Point-like MassesSecond-order Cosmological Perturbations Engendered by Point-like Masses
Second-order Cosmological Perturbations Engendered by Point-like Masses
 
Hn3414011407
Hn3414011407Hn3414011407
Hn3414011407
 
Trig cheat sheet
Trig cheat sheetTrig cheat sheet
Trig cheat sheet
 
Trig cheat sheet
Trig cheat sheetTrig cheat sheet
Trig cheat sheet
 
ゲーム理論BASIC 演習46 -部分ゲーム完全均衡-
ゲーム理論BASIC 演習46 -部分ゲーム完全均衡-ゲーム理論BASIC 演習46 -部分ゲーム完全均衡-
ゲーム理論BASIC 演習46 -部分ゲーム完全均衡-
 
摂動完全均衡 -1- 【ナッシュ均衡の精緻化】
摂動完全均衡 -1- 【ナッシュ均衡の精緻化】摂動完全均衡 -1- 【ナッシュ均衡の精緻化】
摂動完全均衡 -1- 【ナッシュ均衡の精緻化】
 
Triumph- JEE Advanced Maths - Paper 1
Triumph- JEE Advanced Maths - Paper 1Triumph- JEE Advanced Maths - Paper 1
Triumph- JEE Advanced Maths - Paper 1
 

More from Gopi Saiteja

More from Gopi Saiteja (20)

Trees gt(1)
Trees gt(1)Trees gt(1)
Trees gt(1)
 
Topic11 sortingandsearching
Topic11 sortingandsearchingTopic11 sortingandsearching
Topic11 sortingandsearching
 
Heapsort
HeapsortHeapsort
Heapsort
 
Hashing gt1
Hashing gt1Hashing gt1
Hashing gt1
 
Ee693 sept2014quizgt2
Ee693 sept2014quizgt2Ee693 sept2014quizgt2
Ee693 sept2014quizgt2
 
Ee693 sept2014quizgt1
Ee693 sept2014quizgt1Ee693 sept2014quizgt1
Ee693 sept2014quizgt1
 
Ee693 sept2014quiz1
Ee693 sept2014quiz1Ee693 sept2014quiz1
Ee693 sept2014quiz1
 
Ee693 sept2014midsem
Ee693 sept2014midsemEe693 sept2014midsem
Ee693 sept2014midsem
 
Ee693 questionshomework
Ee693 questionshomeworkEe693 questionshomework
Ee693 questionshomework
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
Cs105 l15-bucket radix
Cs105 l15-bucket radixCs105 l15-bucket radix
Cs105 l15-bucket radix
 
Chapter11 sorting algorithmsefficiency
Chapter11 sorting algorithmsefficiencyChapter11 sorting algorithmsefficiency
Chapter11 sorting algorithmsefficiency
 
Answers withexplanations
Answers withexplanationsAnswers withexplanations
Answers withexplanations
 
Sorting
SortingSorting
Sorting
 
Solution(1)
Solution(1)Solution(1)
Solution(1)
 
Pthread
PthreadPthread
Pthread
 
Open mp
Open mpOpen mp
Open mp
 
Introduction
IntroductionIntroduction
Introduction
 
Cuda
CudaCuda
Cuda
 
Vector space interpretation_of_random_variables
Vector space interpretation_of_random_variablesVector space interpretation_of_random_variables
Vector space interpretation_of_random_variables
 

End sem solution

  • 1. EE 333, Communication Networks Solutions Final Exam (2014-15S) Maximum Marks = 50 Time = 3 hours 1. (a) * 2 * 2 1 2 1 2 * 1 2 1 2 1 1 1 1 1 (1 ) 0.5 (1 ) (2 ) 1 (1 0.5 ) N N N                                             * 1 2 1 2 1 1 (2 ) 2 N                (b) * 2 * 2 1 1 2 * 1 2 1 1 1 1 (1 ) (1 ) 1 (2 ) 1 (1 ) N N N                                * 1 2 1 1 1 1 (2 ) (2 ) 2 N                   (c) When both A and B have the packet and both transmit, the average total number of transmissions required (from both A and B) would be – 1 2 1 2 1 2 2 2 1 (1 )(1 )            Using this, * 2 * 2 1 2 1 2 1 2 1 1 2 1 (1 ) (1 )N N                       * 2 1 2 1 2 1 2 1 1 2 (2 ) 1 (1 )N                        Therefore, * 1 2 1 2 1 2 1 2 1 1 2 (2 ) 2 2 N                                        
  • 2. 2. (a) The State Transition Diagram is given below (b) Balance Equations 0 1 1 0 1 2 2 1 0 0 1 2 2 1 3 3 1 2 0 ( ) (1 ) (1 ) ( ) ( ) ( ) (2 ) p p p p p p p p p p p p p p p p p p                                3 2 4 4 2 3 1 2 1 2 ( ) ( ) ................................................................................ ( ) ( ) .................................................................. n n n n n n p p p p p p p p p p p p                  .............. (c) Summing both sides of all the equations, we get 1 0 0 0 01 2 1 2 k k k k k k p p p p p                    (d) Generating Function Multiplying LHS and RHS of the ith equation by zi and summing both sides, we get 2 1 1 0 0 i i i i i i i i i p z p z p z              Using 0 ( ) i i i P z p z     and simplifying, we get 2 0 0 2 ( ) ( ) ( ) ( ) 1 p P z p z P z zP z P z z z            The Normalization Condition requires that P(1)=1 Therefore, 0 2 1 2 1 2 ( ) 1 p P z z z           (e) Mean 1 ( ) z dP z N dz   2 2 (1 2 )( 2 ) ( ) (1 ) z P z z z            2 3 (1 2 ) 3 (1 2 ) 1 2 N           (f) Using Little’s Formula with 2eff  , we get 3 2 (1 2 )eff N W      
  • 3. 3(a) N DB DC DD DE DF DG DH DI DJ A 2 A-B 3 A-C 7 A-D ∞ 7 A-F ∞ ∞ ∞ ∞ A,B 2 A-B 3 A-C 7 A-D 4 A-B-E 7 A-F ∞ ∞ ∞ ∞ A,B,C 2 A-B 3 A-C 7 A-D 4 A-B-E 5 A-C-F ∞ ∞ ∞ ∞ A,B,C,E 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G ∞ ∞ ∞ A,B,C,E,F 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G ∞ ∞ ∞ A,B,C,E,F,G 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G 7 A-B-E-G-H 9 A-B-E-G-I ∞ ABCEFGD 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G 7 A-B-E-G-H 7 A-B-E-D-I 13 A-D-J ABCEFGDH 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G 7 A-B-E-G-H 7 A-B-E-D-I 8 ABEGHJ ABCEFGDHI 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G 7 A-B-E-G-H 7 A-B-E-D-I 8 ABEGHJ ABCEFGDHIJ 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G 7 A-B-E-G-H 7 A-B-E-D-I 8 ABEGHJ Forwarding Table at Node A Destination B C D E F G H I J Next Node B C B B C B B B B (b) Multicast Cost = Sum of Link Costs in above tree = 16 (c) Delete all the links of the first path in the network graph and apply Dijkstra’s Algorithm once again 4. Refer to the textbook and the lecture notes for the answers
  • 4. 3(a) ALTERNATE SOLUTION N DB DC DD DE DF DG DH DI DJ A 2 A-B 3 A-C 7 A-D ∞ 7 A-F ∞ ∞ ∞ ∞ A,B 2 A-B 3 A-C 7 A-D 4 A-B-E 7 A-F ∞ ∞ ∞ ∞ A,B,C 2 A-B 3 A-C 7 A-D 4 A-B-E 5 A-C-F ∞ ∞ ∞ ∞ A,B,C,E 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G ∞ ∞ ∞ A,B,C,E,G 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G 7 A-B-E-G-H 9 A-B-E-G-I ∞ A,B,C,E,G,F 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G 7 A-B-E-G-H 9 A-B-E-G-I ∞ ABCEGFD 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G 7 A-B-E-G-H 7 A-B-E-D-I 13 A-D-J ABCEGFDH 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G 7 A-B-E-G-H 7 A-B-E-D-I 8 ABEGHJ ABCEGFDHI 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G 7 A-B-E-G-H 7 A-B-E-D-I 8 ABEGHJ ABCEGFDHIJ 2 A-B 3 A-C 6 A-B-E-D 4 A-B-E 5 A-C-F 5 A-B-E-G 7 A-B-E-G-H 7 A-B-E-D-I 8 ABEGHJ Slightly different sequence if the other “7” is chosen first Forwarding Table at Node A Destination B C D E F G H I J Next Node B C B B C B B B B (b) Multicast Cost = Sum of Link Costs in above tree = 16 (c) Delete all the links of the first path in the network graph and apply Dijkstra’s Algorithm once again 4. Refer to the textbook and the lecture notes for the answers