Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ARead aloud TV MIDDLE EAST UNTVEKSIT V Draw Highlig Amman - Jordan Note: answer all questions (10 Marks). 1. Using Kruskal's algorithm how many minimum

image text in transcribed
image text in transcribed
image text in transcribed
ARead aloud TV MIDDLE EAST UNTVEKSIT V Draw Highlig Amman - Jordan Note: answer all questions (10 Marks). 1. Using Kruskal's algorithm how many minimum cost spanning trees are possible (explain your answer)?(2 Marks) 6 3 6 3 6 6 2. Total number of spanning trees for the following graph is (show your answer): (2 Marks) 3. Consider the following directed, weighted graph (6 marks): 2 4 (a) Calculate the shortest paths (Dijkstra's algorithm) from A to every other vertex. Show your steps in the table below. (2 points) Path Distance 0 Vertex 1 2 3 4 5 (b) Can Dijkstra's algorithm calculate the shortest path in part a) if no where exactly it fails? (2 points) (e) What single edge could be removed from the graph in such that Dijkstra's algorithm would work correctly? e points) (d) Calculate the shortest path for the above graph using Bellman-Ford Algorithm (2 points)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions