Question: Q 3 . [ Prim s minimum spanning tree algorithm ] Solve Problem 8 . 6 b from the Baase s textbook ( page 4

Q3.[Prims minimum spanning tree algorithm] Solve Problem 8.6b from the Baases textbook (page 416).
Execute Prims minimum spanning tree algorithm by hand on the graph in Figure (a)[(a) A weighted graph], showing how the data structures evolve. Clearly indicate which edges become part of the minimum spinning tree and in what order.
Start at vertex H.
Q4[25 pts.]: [Dijkstras shortest-path algorithm] Solve Problem 8.15c from the Baases textbook (page 419).
Figure 8.13 Digraph for Exercise 8.15
Here is the adjacency list (with edge weights in parentheses) for the digraph shown in Figure 8.13[see above]:
A: B(4.0), F(2.0)
B: A(1.0), C(3.0), D(4.0)
C: A(6.0), B(3.0), D(7.0)
D: A(6.0), E(2.0)
E: D(5.0)
F: D(2.0), E(3.0)
c. Execute Dijkstras shortest-path algorithm by hand on this graph, showing how the data structures evolve, with s = A. Clearly indicate which edges become part of the shortest-path tree and in what order.
Q5[20 pts.]: Show the Huffman tree and Encoding Table that results from the following distribution (frequency) of punctuation characters and digits: colon (95), space (313), newline (70), comma (35),1(221),2(164),3(57),5(241),6(153).
Please provide answers in proper step by step. Do not provide AI answers. Also I want the answers to be hand written if not proper explanation and tables required.
Q 3 . [ Prim s minimum spanning tree algorithm ]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!