Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

- DATA STRUCTURES AND ALGORITHMS I on Graphs Find an image of an object, for example: On the image, identify a minimum of 7 points

- DATA STRUCTURES AND ALGORITHMS I on "Graphs"

  1. Find an image of an object, for example:

image text in transcribed

  1. On the image, identify a minimum of 7 points or vertices. For example:

image text in transcribed

  1. Draw a connected graph based on these vertices using a minimum 7 edges. Label the vertices with letters If you have a very long name, use a maximum of 10 letters, labeled as letters and digits

[2 marks]

Remember each graph in the class must be UNIQUE. A duplicate will be rejected.

  1. Write your set of vertices and edges as below: [1 marks]

V = { }

E = { }

  1. Draw its Adjacency Matrix [3 marks]

  1. Draw its Adjacency List (3 marks)

  1. Show a traversal of the graph both traversal methods [7 marks]:
  • Breadth-First Search (BFS)
  • Depth First Search (DFS)

For both algorithms, you need to show the steps and draw the resultant BFS Tree and DFS Tree respectively.

  1. Based on the graph you have made earlier in no 3, assign values as weights on all the edges where all the edges are of different weights.

Find the minimum spanning tree using any one of the two available algorithms for the Minimum Cost Spanning Tree. You need to show the calculation of the minimum cost [4 marks]

AS SOON AS POSSIBLE PLEASE

Transcribed image text

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

Step: 3

blur-text-image

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

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions