SlideShare a Scribd company logo
1 of 3
Download to read offline
EE 333, Communication Networks
Quiz-II (2013-14S)
Maximum Marks = 10 Time=45 minutes
1. For the network shown (with
costs of individual segments as
indicated), find the spanning tree
that will be obtained by applying
the standard spanning tree
algorithm. Clearly indicate the root
port of each bridge and the
designated port for each LAN
segment. [4]
Solution
P1
P3
Bridge B1
P2
P1
P3
Bridge B2
P2
P1
P3
Bridge B3
P2
P1
Bridge B4
P2
P1
Bridge B5
P2
P1
Bridge B6
P2
Cost=3 Cost=5
Cost=3
Cost=1
Cost=4
Cost=2
Cost=2
Root
Bridge
D
D D R
R
R
R
R
D
D
D
2.
(a) Apply Dijkstra’s Algorithm to the network
shown to find the least cost paths from Node 1 to
all the other nodes of the network. Show all the
steps of the procedure in detail (cost and path at
each step) and draw the corresponding tree from
Node 1 to the other nodes of the network. Give
the forwarding table that Node 1 will use to send
packets to the other nodes. [4]
(b) If Node 1 wants to multicast to all the other nodes, what would be the cost of doing this
using the router set up of (a)? [1]
(c) We would like to find the two best paths from a source S to a destination D (in any general
network) so that the two paths do not share any common link. Suggest a way to do this. [1]
Solution
(a)
{N} D2 D3 D4 D5 D6 D7
{1} 3
[1-2]
1
[1-3]
5
[1-4]
∞ 2
[1-6]
∞
{1,3} 2
[1-3-2]
1
[1-3]
2
[1-3-4]
5
[1-3-5]
2
[1-6]
∞
{1,3,2} 2
[1-3-2]
1
[1-3]
2
[1-3-4]
5
[1-3-5]
2
[1-6]
4
[1-3-2-7]
{1,3,2,4} 2
[1-3-2]
1
[1-3]
2
[1-3-4]
3
[1-3-4-5]
2
[1-6]
4
[1-3-2-7]
{1,3,2,4,6} 2
[1-3-2]
1
[1-3]
2
[1-3-4]
3
[1-3-4-5]
2
[1-6]
4
[1-3-2-7]
{1,3,2,4,6,5} 2
[1-3-2]
1
[1-3]
2
[1-3-4]
3
[1-3-4-5]
2
[1-6]
4
[1-3-2-7]
{1,3,2,4,6,5,7} 2
[1-3-2]
1
[1-3]
2
[1-3-4]
3
[1-3-4-5]
2
[1-6]
4
[1-3-2-7]
Forwarding Table in Node 1
Destination 2 3 4 5 6 7
Next Node 3 3 3 3 6 3
Routing Tree
(b) Multicasting Cost: Sum of the costs of all the links of the routing tree = 8
(c) First find the lowest cost path between S to D in the given graph. This will be one path.
Now remove all the links of this path from the network graph and find the lowest cost path
in the modified graph. This will be the link-disjoint second best path

More Related Content

What's hot

Double Patterning
Double PatterningDouble Patterning
Double PatterningDanny Luk
 
Algebraic data types: Semilattices
Algebraic data types: SemilatticesAlgebraic data types: Semilattices
Algebraic data types: SemilatticesBernhard Huemer
 
Dijkstra's algorithm presentation
Dijkstra's algorithm presentationDijkstra's algorithm presentation
Dijkstra's algorithm presentationSubid Biswas
 
Double Patterning (4/2 update)
Double Patterning (4/2 update)Double Patterning (4/2 update)
Double Patterning (4/2 update)Danny Luk
 
Dynamic clustering algorithm using fuzzy c means
Dynamic clustering algorithm using fuzzy c meansDynamic clustering algorithm using fuzzy c means
Dynamic clustering algorithm using fuzzy c meansWrishin Bhattacharya
 
2021 01-04-learning filter-basis
2021 01-04-learning filter-basis2021 01-04-learning filter-basis
2021 01-04-learning filter-basisJAEMINJEONG5
 
Double Patterning
Double PatterningDouble Patterning
Double PatterningDanny Luk
 
Dijkstra's Algorithm
Dijkstra's AlgorithmDijkstra's Algorithm
Dijkstra's Algorithmguest862df4e
 
Fast and Lossless Graph Division Method for Layout Decomposition Using SPQR-Tree
Fast and Lossless Graph Division Method for Layout Decomposition Using SPQR-TreeFast and Lossless Graph Division Method for Layout Decomposition Using SPQR-Tree
Fast and Lossless Graph Division Method for Layout Decomposition Using SPQR-TreeDanny Luk
 
2021 03-02-transformer interpretability
2021 03-02-transformer interpretability2021 03-02-transformer interpretability
2021 03-02-transformer interpretabilityJAEMINJEONG5
 
Fuzzy c-Means Clustering Algorithms
Fuzzy c-Means Clustering AlgorithmsFuzzy c-Means Clustering Algorithms
Fuzzy c-Means Clustering AlgorithmsJustin Cletus
 
Introduction To Advanced Image Processing
Introduction To Advanced Image ProcessingIntroduction To Advanced Image Processing
Introduction To Advanced Image ProcessingSuren Kumar
 
Discrete Mathematics Presentation
Discrete Mathematics PresentationDiscrete Mathematics Presentation
Discrete Mathematics PresentationSalman Elahi
 
Analysis of CANADAIR CL-215 retractable landing gear.
Analysis of CANADAIR CL-215 retractable landing gear.Analysis of CANADAIR CL-215 retractable landing gear.
Analysis of CANADAIR CL-215 retractable landing gear.Nagesh NARASIMHA PRASAD
 
Lecture 5 Relationship between pixel-2
Lecture 5 Relationship between pixel-2Lecture 5 Relationship between pixel-2
Lecture 5 Relationship between pixel-2VARUN KUMAR
 
Understand Manifolds using MATLAB
Understand Manifolds using MATLAB Understand Manifolds using MATLAB
Understand Manifolds using MATLAB Pranav Challa
 

What's hot (20)

Double Patterning
Double PatterningDouble Patterning
Double Patterning
 
Algebraic data types: Semilattices
Algebraic data types: SemilatticesAlgebraic data types: Semilattices
Algebraic data types: Semilattices
 
Dijkstra's algorithm presentation
Dijkstra's algorithm presentationDijkstra's algorithm presentation
Dijkstra's algorithm presentation
 
Double Patterning (4/2 update)
Double Patterning (4/2 update)Double Patterning (4/2 update)
Double Patterning (4/2 update)
 
Dynamic clustering algorithm using fuzzy c means
Dynamic clustering algorithm using fuzzy c meansDynamic clustering algorithm using fuzzy c means
Dynamic clustering algorithm using fuzzy c means
 
2021 01-04-learning filter-basis
2021 01-04-learning filter-basis2021 01-04-learning filter-basis
2021 01-04-learning filter-basis
 
Double Patterning
Double PatterningDouble Patterning
Double Patterning
 
1
11
1
 
Clustering tutorial
Clustering tutorialClustering tutorial
Clustering tutorial
 
Dijkstra's Algorithm
Dijkstra's AlgorithmDijkstra's Algorithm
Dijkstra's Algorithm
 
Fast and Lossless Graph Division Method for Layout Decomposition Using SPQR-Tree
Fast and Lossless Graph Division Method for Layout Decomposition Using SPQR-TreeFast and Lossless Graph Division Method for Layout Decomposition Using SPQR-Tree
Fast and Lossless Graph Division Method for Layout Decomposition Using SPQR-Tree
 
2021 03-02-transformer interpretability
2021 03-02-transformer interpretability2021 03-02-transformer interpretability
2021 03-02-transformer interpretability
 
Fuzzy c-Means Clustering Algorithms
Fuzzy c-Means Clustering AlgorithmsFuzzy c-Means Clustering Algorithms
Fuzzy c-Means Clustering Algorithms
 
d
dd
d
 
Introduction To Advanced Image Processing
Introduction To Advanced Image ProcessingIntroduction To Advanced Image Processing
Introduction To Advanced Image Processing
 
Discrete Mathematics Presentation
Discrete Mathematics PresentationDiscrete Mathematics Presentation
Discrete Mathematics Presentation
 
Analysis of CANADAIR CL-215 retractable landing gear.
Analysis of CANADAIR CL-215 retractable landing gear.Analysis of CANADAIR CL-215 retractable landing gear.
Analysis of CANADAIR CL-215 retractable landing gear.
 
Lecture 5 Relationship between pixel-2
Lecture 5 Relationship between pixel-2Lecture 5 Relationship between pixel-2
Lecture 5 Relationship between pixel-2
 
Understand Manifolds using MATLAB
Understand Manifolds using MATLAB Understand Manifolds using MATLAB
Understand Manifolds using MATLAB
 
Survey onhpcs languages
Survey onhpcs languagesSurvey onhpcs languages
Survey onhpcs languages
 

Viewers also liked

Os melhores Sons com certeza tocam aqui, Mit Fm
Os melhores Sons com certeza tocam aqui, Mit FmOs melhores Sons com certeza tocam aqui, Mit Fm
Os melhores Sons com certeza tocam aqui, Mit FmMateus Teles
 
Copy of Logo_First HSE World_CMYK
Copy of Logo_First HSE World_CMYKCopy of Logo_First HSE World_CMYK
Copy of Logo_First HSE World_CMYKMartin Tremblay MSc
 
Chapitre 1: III. Expiation et miracles.
Chapitre 1: III. Expiation et miracles.Chapitre 1: III. Expiation et miracles.
Chapitre 1: III. Expiation et miracles.Pierrot Caron
 
2/15/2012 - Wrapping Your Head Around the SharePoint Beast
2/15/2012 - Wrapping Your Head Around the SharePoint Beast2/15/2012 - Wrapping Your Head Around the SharePoint Beast
2/15/2012 - Wrapping Your Head Around the SharePoint BeastMark Rackley
 
Bringing the strongman to open shame
Bringing the strongman to open shameBringing the strongman to open shame
Bringing the strongman to open shameTolulope Ilori
 
Plan de Negocios y Marketing - Aula Empresa
Plan de Negocios y Marketing - Aula EmpresaPlan de Negocios y Marketing - Aula Empresa
Plan de Negocios y Marketing - Aula EmpresaAula Empresa
 
Virtual Reality
Virtual RealityVirtual Reality
Virtual RealityIpsos UK
 
Topic-Hoarseness Part1
Topic-Hoarseness Part1Topic-Hoarseness Part1
Topic-Hoarseness Part1Nuuni Numnim
 
Presentación ciclo emergencias sanitarias
Presentación ciclo emergencias sanitariasPresentación ciclo emergencias sanitarias
Presentación ciclo emergencias sanitariasEASO Politeknikoa
 
Introduction à AngularJS dans un contexte Office365
Introduction à AngularJS dans un contexte Office365Introduction à AngularJS dans un contexte Office365
Introduction à AngularJS dans un contexte Office365Sébastien Levert
 
Collaboration Stories: How One Tool Doesn't Fit All Anymore
Collaboration Stories: How One Tool Doesn't Fit All AnymoreCollaboration Stories: How One Tool Doesn't Fit All Anymore
Collaboration Stories: How One Tool Doesn't Fit All AnymoreShareGate
 
Atención Sanitaria Especial en Situaciones de Emergencia
Atención Sanitaria Especial en Situaciones de EmergenciaAtención Sanitaria Especial en Situaciones de Emergencia
Atención Sanitaria Especial en Situaciones de EmergenciaUniversity of Alicante
 
[Webinar] SharePoint is About to Skyrocket to the Top... Get Ready!
[Webinar] SharePoint is About to Skyrocket to the Top... Get Ready![Webinar] SharePoint is About to Skyrocket to the Top... Get Ready!
[Webinar] SharePoint is About to Skyrocket to the Top... Get Ready!ShareGate
 

Viewers also liked (17)

Os melhores Sons com certeza tocam aqui, Mit Fm
Os melhores Sons com certeza tocam aqui, Mit FmOs melhores Sons com certeza tocam aqui, Mit Fm
Os melhores Sons com certeza tocam aqui, Mit Fm
 
2012-04-24 Intacct Cloud Solutions
2012-04-24 Intacct Cloud Solutions2012-04-24 Intacct Cloud Solutions
2012-04-24 Intacct Cloud Solutions
 
Copy of Logo_First HSE World_CMYK
Copy of Logo_First HSE World_CMYKCopy of Logo_First HSE World_CMYK
Copy of Logo_First HSE World_CMYK
 
Chapitre 1: III. Expiation et miracles.
Chapitre 1: III. Expiation et miracles.Chapitre 1: III. Expiation et miracles.
Chapitre 1: III. Expiation et miracles.
 
2/15/2012 - Wrapping Your Head Around the SharePoint Beast
2/15/2012 - Wrapping Your Head Around the SharePoint Beast2/15/2012 - Wrapping Your Head Around the SharePoint Beast
2/15/2012 - Wrapping Your Head Around the SharePoint Beast
 
Bringing the strongman to open shame
Bringing the strongman to open shameBringing the strongman to open shame
Bringing the strongman to open shame
 
Enterprise service bus part 2
Enterprise service bus part 2Enterprise service bus part 2
Enterprise service bus part 2
 
Plan de Negocios y Marketing - Aula Empresa
Plan de Negocios y Marketing - Aula EmpresaPlan de Negocios y Marketing - Aula Empresa
Plan de Negocios y Marketing - Aula Empresa
 
5th year table quiz
5th year table quiz5th year table quiz
5th year table quiz
 
Virtual Reality
Virtual RealityVirtual Reality
Virtual Reality
 
Topic-Hoarseness Part1
Topic-Hoarseness Part1Topic-Hoarseness Part1
Topic-Hoarseness Part1
 
Esquema prog. anual cta.2016
Esquema prog. anual cta.2016Esquema prog. anual cta.2016
Esquema prog. anual cta.2016
 
Presentación ciclo emergencias sanitarias
Presentación ciclo emergencias sanitariasPresentación ciclo emergencias sanitarias
Presentación ciclo emergencias sanitarias
 
Introduction à AngularJS dans un contexte Office365
Introduction à AngularJS dans un contexte Office365Introduction à AngularJS dans un contexte Office365
Introduction à AngularJS dans un contexte Office365
 
Collaboration Stories: How One Tool Doesn't Fit All Anymore
Collaboration Stories: How One Tool Doesn't Fit All AnymoreCollaboration Stories: How One Tool Doesn't Fit All Anymore
Collaboration Stories: How One Tool Doesn't Fit All Anymore
 
Atención Sanitaria Especial en Situaciones de Emergencia
Atención Sanitaria Especial en Situaciones de EmergenciaAtención Sanitaria Especial en Situaciones de Emergencia
Atención Sanitaria Especial en Situaciones de Emergencia
 
[Webinar] SharePoint is About to Skyrocket to the Top... Get Ready!
[Webinar] SharePoint is About to Skyrocket to the Top... Get Ready![Webinar] SharePoint is About to Skyrocket to the Top... Get Ready!
[Webinar] SharePoint is About to Skyrocket to the Top... Get Ready!
 

Similar to Quiz 2-solution

Interconnection Network
Interconnection NetworkInterconnection Network
Interconnection NetworkHeman Pathak
 
routing algorithm
routing algorithmrouting algorithm
routing algorithmAnusuaBasu
 
Computer networking presentation
Computer networking presentationComputer networking presentation
Computer networking presentationMd. Touhidur Rahman
 
Radix-3 Algorithm for Realization of Type-II Discrete Sine Transform
Radix-3 Algorithm for Realization of Type-II Discrete Sine TransformRadix-3 Algorithm for Realization of Type-II Discrete Sine Transform
Radix-3 Algorithm for Realization of Type-II Discrete Sine TransformIJERA Editor
 
Radix-3 Algorithm for Realization of Type-II Discrete Sine Transform
Radix-3 Algorithm for Realization of Type-II Discrete Sine TransformRadix-3 Algorithm for Realization of Type-II Discrete Sine Transform
Radix-3 Algorithm for Realization of Type-II Discrete Sine TransformIJERA Editor
 
IAP PPT-1.pptx
IAP PPT-1.pptxIAP PPT-1.pptx
IAP PPT-1.pptxHirazNor
 
IAP presentation-1.pptx
IAP presentation-1.pptxIAP presentation-1.pptx
IAP presentation-1.pptxHirazNor
 
JAVA BASED VISUALIZATION AND ANIMATION FOR TEACHING THE DIJKSTRA SHORTEST PAT...
JAVA BASED VISUALIZATION AND ANIMATION FOR TEACHING THE DIJKSTRA SHORTEST PAT...JAVA BASED VISUALIZATION AND ANIMATION FOR TEACHING THE DIJKSTRA SHORTEST PAT...
JAVA BASED VISUALIZATION AND ANIMATION FOR TEACHING THE DIJKSTRA SHORTEST PAT...ijseajournal
 
Ee693 sept2014midsem
Ee693 sept2014midsemEe693 sept2014midsem
Ee693 sept2014midsemGopi Saiteja
 
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...vtunotesbysree
 
Module 3- transport_layer .pptx
Module 3- transport_layer           .pptxModule 3- transport_layer           .pptx
Module 3- transport_layer .pptxhariprasad279825
 
GATE Computer Science Solved Paper 2004
GATE Computer Science Solved Paper 2004GATE Computer Science Solved Paper 2004
GATE Computer Science Solved Paper 2004Rohit Garg
 
Route1
Route1Route1
Route1Saeed
 
The Curious Clojurist - Neal Ford (Thoughtworks)
The Curious Clojurist - Neal Ford (Thoughtworks)The Curious Clojurist - Neal Ford (Thoughtworks)
The Curious Clojurist - Neal Ford (Thoughtworks)jaxLondonConference
 
K means clustering
K means clusteringK means clustering
K means clusteringAhmedasbasb
 
Branch and bounding : Data structures
Branch and bounding : Data structuresBranch and bounding : Data structures
Branch and bounding : Data structuresKàŕtheek Jåvvàjí
 
Gate Previous Years Papers
Gate Previous Years PapersGate Previous Years Papers
Gate Previous Years PapersRahul Jain
 

Similar to Quiz 2-solution (20)

Interconnection Network
Interconnection NetworkInterconnection Network
Interconnection Network
 
routing algorithm
routing algorithmrouting algorithm
routing algorithm
 
Cnetwork
CnetworkCnetwork
Cnetwork
 
Computer networking presentation
Computer networking presentationComputer networking presentation
Computer networking presentation
 
Radix-3 Algorithm for Realization of Type-II Discrete Sine Transform
Radix-3 Algorithm for Realization of Type-II Discrete Sine TransformRadix-3 Algorithm for Realization of Type-II Discrete Sine Transform
Radix-3 Algorithm for Realization of Type-II Discrete Sine Transform
 
Radix-3 Algorithm for Realization of Type-II Discrete Sine Transform
Radix-3 Algorithm for Realization of Type-II Discrete Sine TransformRadix-3 Algorithm for Realization of Type-II Discrete Sine Transform
Radix-3 Algorithm for Realization of Type-II Discrete Sine Transform
 
IAP PPT-1.pptx
IAP PPT-1.pptxIAP PPT-1.pptx
IAP PPT-1.pptx
 
IAP presentation-1.pptx
IAP presentation-1.pptxIAP presentation-1.pptx
IAP presentation-1.pptx
 
5.2_video_slides.pptx
5.2_video_slides.pptx5.2_video_slides.pptx
5.2_video_slides.pptx
 
Nov 02 P2
Nov 02 P2Nov 02 P2
Nov 02 P2
 
JAVA BASED VISUALIZATION AND ANIMATION FOR TEACHING THE DIJKSTRA SHORTEST PAT...
JAVA BASED VISUALIZATION AND ANIMATION FOR TEACHING THE DIJKSTRA SHORTEST PAT...JAVA BASED VISUALIZATION AND ANIMATION FOR TEACHING THE DIJKSTRA SHORTEST PAT...
JAVA BASED VISUALIZATION AND ANIMATION FOR TEACHING THE DIJKSTRA SHORTEST PAT...
 
Ee693 sept2014midsem
Ee693 sept2014midsemEe693 sept2014midsem
Ee693 sept2014midsem
 
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...
 
Module 3- transport_layer .pptx
Module 3- transport_layer           .pptxModule 3- transport_layer           .pptx
Module 3- transport_layer .pptx
 
GATE Computer Science Solved Paper 2004
GATE Computer Science Solved Paper 2004GATE Computer Science Solved Paper 2004
GATE Computer Science Solved Paper 2004
 
Route1
Route1Route1
Route1
 
The Curious Clojurist - Neal Ford (Thoughtworks)
The Curious Clojurist - Neal Ford (Thoughtworks)The Curious Clojurist - Neal Ford (Thoughtworks)
The Curious Clojurist - Neal Ford (Thoughtworks)
 
K means clustering
K means clusteringK means clustering
K means clustering
 
Branch and bounding : Data structures
Branch and bounding : Data structuresBranch and bounding : Data structures
Branch and bounding : Data structures
 
Gate Previous Years Papers
Gate Previous Years PapersGate Previous Years Papers
Gate Previous Years Papers
 

More from Gopi Saiteja

Topic11 sortingandsearching
Topic11 sortingandsearchingTopic11 sortingandsearching
Topic11 sortingandsearchingGopi Saiteja
 
Ee693 sept2014quizgt2
Ee693 sept2014quizgt2Ee693 sept2014quizgt2
Ee693 sept2014quizgt2Gopi Saiteja
 
Ee693 sept2014quizgt1
Ee693 sept2014quizgt1Ee693 sept2014quizgt1
Ee693 sept2014quizgt1Gopi Saiteja
 
Ee693 sept2014quiz1
Ee693 sept2014quiz1Ee693 sept2014quiz1
Ee693 sept2014quiz1Gopi Saiteja
 
Ee693 questionshomework
Ee693 questionshomeworkEe693 questionshomework
Ee693 questionshomeworkGopi Saiteja
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programmingGopi Saiteja
 
Cs105 l15-bucket radix
Cs105 l15-bucket radixCs105 l15-bucket radix
Cs105 l15-bucket radixGopi Saiteja
 
Chapter11 sorting algorithmsefficiency
Chapter11 sorting algorithmsefficiencyChapter11 sorting algorithmsefficiency
Chapter11 sorting algorithmsefficiencyGopi Saiteja
 
Answers withexplanations
Answers withexplanationsAnswers withexplanations
Answers withexplanationsGopi Saiteja
 
Vector space interpretation_of_random_variables
Vector space interpretation_of_random_variablesVector space interpretation_of_random_variables
Vector space interpretation_of_random_variablesGopi Saiteja
 
Statistical signal processing(1)
Statistical signal processing(1)Statistical signal processing(1)
Statistical signal processing(1)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 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
 
Statistical signal processing(1)
Statistical signal processing(1)Statistical signal processing(1)
Statistical signal processing(1)
 

Recently uploaded

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 

Recently uploaded (20)

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 

Quiz 2-solution

  • 1. EE 333, Communication Networks Quiz-II (2013-14S) Maximum Marks = 10 Time=45 minutes 1. For the network shown (with costs of individual segments as indicated), find the spanning tree that will be obtained by applying the standard spanning tree algorithm. Clearly indicate the root port of each bridge and the designated port for each LAN segment. [4] Solution P1 P3 Bridge B1 P2 P1 P3 Bridge B2 P2 P1 P3 Bridge B3 P2 P1 Bridge B4 P2 P1 Bridge B5 P2 P1 Bridge B6 P2 Cost=3 Cost=5 Cost=3 Cost=1 Cost=4 Cost=2 Cost=2 Root Bridge D D D R R R R R D D D
  • 2. 2. (a) Apply Dijkstra’s Algorithm to the network shown to find the least cost paths from Node 1 to all the other nodes of the network. Show all the steps of the procedure in detail (cost and path at each step) and draw the corresponding tree from Node 1 to the other nodes of the network. Give the forwarding table that Node 1 will use to send packets to the other nodes. [4] (b) If Node 1 wants to multicast to all the other nodes, what would be the cost of doing this using the router set up of (a)? [1] (c) We would like to find the two best paths from a source S to a destination D (in any general network) so that the two paths do not share any common link. Suggest a way to do this. [1] Solution (a) {N} D2 D3 D4 D5 D6 D7 {1} 3 [1-2] 1 [1-3] 5 [1-4] ∞ 2 [1-6] ∞ {1,3} 2 [1-3-2] 1 [1-3] 2 [1-3-4] 5 [1-3-5] 2 [1-6] ∞ {1,3,2} 2 [1-3-2] 1 [1-3] 2 [1-3-4] 5 [1-3-5] 2 [1-6] 4 [1-3-2-7] {1,3,2,4} 2 [1-3-2] 1 [1-3] 2 [1-3-4] 3 [1-3-4-5] 2 [1-6] 4 [1-3-2-7] {1,3,2,4,6} 2 [1-3-2] 1 [1-3] 2 [1-3-4] 3 [1-3-4-5] 2 [1-6] 4 [1-3-2-7] {1,3,2,4,6,5} 2 [1-3-2] 1 [1-3] 2 [1-3-4] 3 [1-3-4-5] 2 [1-6] 4 [1-3-2-7] {1,3,2,4,6,5,7} 2 [1-3-2] 1 [1-3] 2 [1-3-4] 3 [1-3-4-5] 2 [1-6] 4 [1-3-2-7] Forwarding Table in Node 1 Destination 2 3 4 5 6 7 Next Node 3 3 3 3 6 3
  • 3. Routing Tree (b) Multicasting Cost: Sum of the costs of all the links of the routing tree = 8 (c) First find the lowest cost path between S to D in the given graph. This will be one path. Now remove all the links of this path from the network graph and find the lowest cost path in the modified graph. This will be the link-disjoint second best path