Exam 12: Graphs
Exam 1: Software Engineering Principles and C++ Classes42 Questions
Exam 2: Object-Oriented Design OOD and C++35 Questions
Exam 3: Pointers and Array-Based Lists45 Questions
Exam 4: Standard Template Library (STL) I47 Questions
Exam 5: Linked Lists44 Questions
Exam 6: Recursion36 Questions
Exam 7: Stacks44 Questions
Exam 8: Queues48 Questions
Exam 9: Searching and Hashing Algorithms49 Questions
Exam 10: Sorting Algorithms47 Questions
Exam 11: Binary Trees and B-Trees47 Questions
Exam 12: Graphs43 Questions
Exam 13: Standard Template Library (STL) II50 Questions
Select questions type
Let V(G) denote the set of vertices, and E(G) denote the set of edges of a graph G, then if the elements of E are ordered pairs, G is called a directed graph or ____.
(Multiple Choice)
4.9/5
(35)
A weight free tree T is a simple graph such that if u and v are two vertices in T, there is a unique path from u to v.
(True/False)
4.8/5
(39)
A ____ is a path of nonzero length from a vertex u to u with no repeated edges.
(Multiple Choice)
4.8/5
(37)
The shortest path algorithm, also called a greedy algorithm, was developed by Dijkstra.
(True/False)
4.9/5
(42)
How a graph is represented in computer memory depends on the specific application.
(True/False)
4.7/5
(42)
A tree T is called a spanning tree of graph G if T is a subgraph of G such that V(T) = V(G), that is, all the vertices of G are in T.
(True/False)
4.9/5
(45)
In the breadth first traversal algorithm, the root node is visited last.
(True/False)
4.8/5
(38)
In 1736, Euler represented the Königsberg bridge problem as a graph, marking (as recorded) the birth of graph theory.
(True/False)
4.7/5
(36)
To write programs that process and manipulate graphs, the graphs must be stored in computer memory.
(True/False)
4.8/5
(37)
In the breadth first traversal of a graph, all the nodes at any level, i, are visited after visiting the nodes at level i + 1.
(True/False)
4.8/5
(29)
Let G be an undirected graph. A maximal subset of connected vertices is called a ____ of G.
(Multiple Choice)
4.9/5
(43)
A ____ is a path in which all the vertices, except possibly the first and last vertices, are distinct.
(Multiple Choice)
5.0/5
(42)
A graph G has a spanning tree if and only if G is connected; from this it follows that to determine a spanning tree of a graph, the graph must be connected.
(True/False)
4.7/5
(34)
The breadth first traversal of a graph is similar to traversing a binary tree ____.
(Multiple Choice)
4.9/5
(37)
In breadth first traversal, starting at the first vertex, the graph is traversed as little as possible.
(True/False)
4.7/5
(35)
Showing 21 - 40 of 43
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)