Exam 20: Graphs

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

In a(n)_______________ graph. if In a(n)_______________ graph. if   ,then   so  ,then In a(n)_______________ graph. if   ,then   so  so In a(n)_______________ graph. if   ,then   so

Free
(Short Answer)
4.7/5
(37)
Correct Answer:
Verified

undirected

The ____________________ traversal of a graph is similar to traversing a binary tree level by level.

Free
(Short Answer)
4.9/5
(36)
Correct Answer:
Verified

breadth first
breadth-first

In a graph directed G,for each vertex,v,the vertices adjacent to v are called ____ successors.

Free
(Multiple Choice)
4.9/5
(41)
Correct Answer:
Verified

A

A tree T is called a(n)____________________ of graph G if T is a subgraph of G such that V(T )= V(G).

(Short Answer)
4.9/5
(37)

The depth first traversal is similar to the postorder traversal of a binary tree.

(True/False)
4.9/5
(29)

In Prim's algorithm for the minimal spanning tree,we start at a designated vertex,which we call the ____ vertex.

(Multiple Choice)
4.9/5
(35)

The two most common graph traversal algorithms are depth first traversal and breadth first traversal.

(True/False)
4.8/5
(38)

In a directed graph,the pairs (u,v)and (v,u)represent the same edge.

(True/False)
4.7/5
(39)

The shortest path is the path with the smallest ____.

(Multiple Choice)
4.9/5
(36)

Graph theory started in 1736 with the ____ problem.

(Multiple Choice)
4.9/5
(40)

A tree T is called a(n)____ tree of graph G if T is a subgraph of G such that V(T)= V(G); that is,if all vertices of G are in T.

(Multiple Choice)
4.7/5
(45)

Let G be a weighted graph.Let u and v be two vertices in G,and let P be a path in G from u to v.The weight of the path P is the sum of the weights of all the ____________________ on the path P.

(Short Answer)
4.8/5
(34)

Let G be an undirected graph.Let u and v be two vertices in G.A(n)____________________ in G is a simple path in which the first and last vertices are the same.

(Short Answer)
4.8/5
(42)

The ____ of sets A and B is the set of all elements that are in A and B.

(Multiple Choice)
4.7/5
(27)

Two well-known algorithms,Prim's algorithm and ____'s algorithm,can be used to find a minimal spanning tree of a graph.

(Multiple Choice)
5.0/5
(33)

If two edges,e? and e?,are associated with the same pair of vertices {u,v},then e? and e? are called ____ edges.

(Multiple Choice)
4.9/5
(39)

In a(n)____ graph,the edges are drawn using arrows.

(Multiple Choice)
4.9/5
(35)

A graph is called a(n)____ graph if it has no loops and no parallel edges.

(Multiple Choice)
4.8/5
(31)

The shortest path algorithm is also called the ____ algorithm.

(Multiple Choice)
4.7/5
(38)

The implementation of a breadth first graph traversal uses a stack.

(True/False)
5.0/5
(53)
Showing 1 - 20 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)