Exam 20: Graphs
Exam 1: An Overview of Computers and Programming Languages50 Questions
Exam 2: Basic Elements of C++50 Questions
Exam 3: Input/Output50 Questions
Exam 4: Control Structures I (Selection)50 Questions
Exam 5: Control Structures II (Repetition)50 Questions
Exam 6: User-Defined Functions50 Questions
Exam 7: User-Defined Simple Data Types, Namespaces, and the string Type50 Questions
Exam 8: Arrays and Strings50 Questions
Exam 9: Records (structs)50 Questions
Exam 10: Classes and Data Abstraction50 Questions
Exam 11: Inheritance and Composition50 Questions
Exam 12: Pointers, Classes, Virtual Functions, Abstract Classes, and Lists50 Questions
Exam 13: Overloading and Templates50 Questions
Exam 14: Exception Handling50 Questions
Exam 15: Recursion50 Questions
Exam 16: Linked Lists50 Questions
Exam 17: Stacks and Queues50 Questions
Exam 18: Searching and Sorting Algorithms50 Questions
Exam 19: Binary Trees50 Questions
Exam 20: Graphs50 Questions
Exam 21: Standard Template Library (STL)50 Questions
Select questions type
The ____________________ algorithm gives the shortest distance for a given node to every other node in the graph.
(Short Answer)
4.7/5
(33)
The edges connecting two vertices can be assigned a non-negative real number,called the ____ of the edge.
(Multiple Choice)
4.7/5
(42)
Let e (u,v)be an edge in an undirected graph G.The edge e is said to be ____________________ on the vertices u and v.
(Short Answer)
4.8/5
(36)
Y is a(n)____ of X if every element of Y is also an element of X.
(Multiple Choice)
4.8/5
(35)
If the elements of E(G)are ordered pairs,G is called a(n)____ graph.
(Multiple Choice)
4.8/5
(39)
A maximal subset of connected vertices is called a ____ of G.
(Multiple Choice)
5.0/5
(37)
-A(n)____________________ ordering of the vertices of the accompanying graph is 0,1,4,3,2,5,7,8,6,9.

(Short Answer)
4.9/5
(45)
A graph is ____________________ if the number of vertices is zero.
(Short Answer)
4.9/5
(47)
A simple path is a path in which all vertices,except possibly the first and last vertices,are distinct.
(True/False)
4.9/5
(37)
____________________ algorithm builds the tree iteratively by adding edges until a minimal spanning tree is obtained.
(Short Answer)
4.9/5
(38)
It is possible to design Prim's algorithm so that it is of the order O(n²).
(True/False)
4.9/5
(30)
A set Y is called a(n)____________________ of X if every element of Y is also an element of X.
(Short Answer)
5.0/5
(31)
A(n)____ tree T is a simple graph such that if u and v are two vertices in T,a unique path exists from u to v.
(Multiple Choice)
4.9/5
(35)
The ____ of sets A and B is the set of all elements that are in A or in B.
(Multiple Choice)
4.8/5
(39)
A graph might have cycles; therefore,we might not be able to traverse the entire graph from a single vertex.
(True/False)
4.9/5
(39)
The starting vertex of a shortest path in a graph is called the ____________________.
(Short Answer)
4.8/5
(29)
-A(n)____________________ ordering of the vertices of the accompanying graph is 0,1,3,4,2,5,7,8,6,9.

(Short Answer)
4.9/5
(34)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)