logo

Math 2056W19 Reading Assignment

Answering true or false questions related to trees and graphs.

9 Pages796 Words73 Views
   

Added on  2023-01-17

About This Document

This assignment includes True or False questions about trees, problems related to spanning trees, graph traversals, binary search trees, and weighted graphs. It also requires finding the order of edges and total length of the minimal spanning tree using Prim's and Kruskal's algorithms.

Math 2056W19 Reading Assignment

Answering true or false questions related to trees and graphs.

   Added on 2023-01-17

ShareRelated Documents
Assignment
math 2056W19 reading
APRIL 8, 2019
Math 2056W19 Reading Assignment_1
Ques 1. Answer the following questions True or False.
(a) A tree is an undirected graph with no circuits.
Sol.
True
(b) It is not possible for a simple planar graph to have a chromatic number of 5.
Sol.
True
(c) A rooted tree where every internal vertex has more than m children is called a full m-ary tree.
Sol.
False
(d) If a tree has n vertices, then it hasn1 edges.
Sol.
True
(e) The height of a rooted tree is the length of the longest simple path that starts at the root and ends
at a leaf.
Sol.
True
(f) A balanced rooted tree has all of its leaves at the same level.
Sol.
False
(g) There is only one algorithm for finding a minimal spanning tree of a graph.
Sol.
False
(h) A graph will have a spanning tree if and only if it is connected.
Sol.
True
(i) A simple connected graph has exactly one spanning tree for each choice of the root.
Sol.
False
(j) The following is a prefix code: a=0 , t=0 , e=101 , f =1110
Sol.
Math 2056W19 Reading Assignment_2
False
Ques 2.
Use breadth—first search and a depth—first search to produce, spanning trees for the graph shown
below. Choose i as the root of each spanning tree.
Sol.
This graph can be redrawn as:
i
eh m nd j
g
a b l
c
of k
Math 2056W19 Reading Assignment_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Maths Assignment
|13
|1756
|494

Discrete Mathematics
|7
|962
|209

Assignment On Three Connected Components In The Subgraph
|7
|466
|48

Desklib - Online Library for Study Material
|207
|16045
|382

Solution 2.. Solution a.. Dijkstra Matrix is used to cr
|2
|299
|151

Cryptography Tutorial with Examples and Exercises - Desklib
|20
|3498
|416