Unit 4: Graphs Theory I - Practice Quiz

MTH401 — Discrete Mathematics 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the degree of a vertex in an undirected graph?

Graph terminologies Easy
A. The total number of vertices in the graph
B. The number of edges incident with the vertex
C. The number of vertices adjacent to each edge
D. The total number of paths in the graph

2 What are two vertices called if an edge connects them?

Graph terminologies Easy
A. Isolated vertices
B. Isomorphic vertices
C. Adjacent vertices
D. Pendant vertices

3 A vertex with degree is called what?

Graph terminologies Easy
A. A pendant vertex
B. A terminal vertex
C. An isolated vertex
D. A regular vertex

4 How many edges does the complete graph have?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Easy
A.
B.
C.
D.

5 Which statement describes a cycle graph?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Easy
A. Every vertex has degree
B. Every vertex has degree
C. Every vertex has degree
D. Every vertex has degree

6 What is a regular graph?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Easy
A. A graph containing no isolated vertices
B. A graph whose edges have equal weight
C. A graph containing exactly one cycle
D. A graph whose vertices have equal degree

7 How is a wheel graph formed from a cycle graph?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Easy
A. By replacing every cycle edge with two parallel edges
B. By adding a central vertex adjacent to every cycle vertex
C. By removing one edge from the cycle
D. By joining each cycle vertex to exactly one new vertex

8 How many vertices does the three-dimensional cube graph have?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Easy
A.
B.
C.
D.

9 What property defines a bipartite graph?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Easy
A. Its vertices can be divided into two sets with edges only between the sets
B. Each pair of distinct vertices is connected by an edge
C. Its edges can be divided into two sets with equal numbers of edges
D. Each vertex is adjacent to exactly two other vertices

10 How many edges are in the complete bipartite graph ?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Easy
A.
B.
C.
D.

11 Which representation lists the neighbors of each vertex?

Representing graphs Easy
A. Adjacency list
B. Degree sequence
C. Vertex label set
D. Edge weight table

12 For a simple undirected graph, what does an entry in an adjacency matrix indicate?

Adjacency and incidence matrix Easy
A. The two corresponding vertices have equal degree
B. The corresponding vertex is isolated
C. The two corresponding vertices are adjacent
D. The corresponding edge has unit weight

13 What is always true about the adjacency matrix of a simple undirected graph?

Adjacency and incidence matrix Easy
A. It contains only one row
B. It is triangular
C. It is symmetric
D. It has determinant

14 In the incidence matrix of a simple undirected graph, what do the columns usually represent?

Adjacency and incidence matrix Easy
A. Edges
B. Vertices
C. Components
D. Paths

15 When are two graphs isomorphic?

Graph isomorphism Easy
A. When a vertex correspondence preserves adjacency
B. When their vertices have the same labels
C. When their edges have the same lengths
D. When they are drawn in the same shape

16 Which property must be the same for two isomorphic graphs?

Graph isomorphism Easy
A. Drawing orientation
B. Vertex label names
C. Number of vertices
D. Physical edge lengths

17 What is a path in a graph?

Path and connectivity for undirected graphs and digraphs Easy
A. A matrix showing vertex degrees
B. A collection of vertices with no edges
C. A sequence of vertices connected by edges
D. A set containing every edge twice

18 When is an undirected graph connected?

Path and connectivity for undirected graphs and digraphs Easy
A. When the graph contains exactly one cycle
B. When a path exists between every pair of vertices
C. When every vertex has degree exactly
D. When every pair of vertices shares an edge

19 When is a directed graph strongly connected?

Path and connectivity for undirected graphs and digraphs Easy
A. When the underlying undirected graph has one cycle
B. When all directed edges point toward one vertex
C. When every vertex is reachable from every other vertex by directed paths
D. When every vertex has exactly one outgoing edge

20 Which condition is required for Dijkstra's shortest path algorithm to work correctly?

Dijkstra's algorithm for shortest path problem Easy
A. Every vertex must have degree
B. The graph must be complete
C. All edge weights must be nonnegative
D. All edge weights must be identical

21 A simple undirected graph has 12 vertices, each of degree 5. How many edges does the graph contain?

Graph terminologies Medium
A. 60 edges
B. 35 edges
C. 30 edges
D. 25 edges

22 A simple graph has 8 vertices and 13 edges. What is the number of edges in its complement?

Graph terminologies Medium
A. 13 edges
B. 21 edges
C. 15 edges
D. 28 edges

23 A complete graph has 45 edges. How many vertices does it have?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Medium
A. 9 vertices
B. 10 vertices
C. 11 vertices
D. 12 vertices

24 A wheel graph is formed by adding one hub vertex adjacent to every vertex of . Which statement describes the resulting graph?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Medium
A. It has 6 vertices and 10 edges
B. It has 5 vertices and 10 edges
C. It has 6 vertices and 11 edges
D. It has 5 vertices and 11 edges

25 Which pair gives the degree of each vertex and the total number of edges in the 3-dimensional cube graph ?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Medium
A. Degree 3 and 12 edges
B. Degree 2 and 8 edges
C. Degree 3 and 16 edges
D. Degree 4 and 12 edges

26 In the complete bipartite graph , which statement is correct?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Medium
A. It has 15 vertices and 8 edges
B. It has 8 vertices and 15 edges
C. It has 8 vertices and 16 edges
D. It has 15 vertices and 16 edges

27 A connected graph contains exactly one cycle, and that cycle has length 7. Which conclusion is necessarily true?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Medium
A. The graph is bipartite
B. The graph is regular
C. The graph is not bipartite
D. The graph is complete

28 An undirected graph has adjacency list , , , and . Which edge set represents the graph?

Representing graphs Medium
A.
B.
C.
D.

29 The adjacency matrix of a simple undirected graph is What are the degrees of vertices 1 through 4?

Adjacency and incidence matrix Medium
A.
B.
C.
D.

30 The incidence matrix of a simple undirected graph has 7 rows and 10 columns. What do these dimensions indicate?

Adjacency and incidence matrix Medium
A. 7 vertices and 10 edges
B. 10 vertices and 7 edges
C. 7 components and 10 vertices
D. 10 components and 7 vertices

31 For a loop-free directed graph, the adjacency matrix uses when there is an arc from vertex to vertex . What does the sum of column represent?

Adjacency and incidence matrix Medium
A. The in-degree of vertex
B. The out-degree of vertex
C. The total degree of vertex
D. The number of paths from

32 Graph has edges , and graph has edges . Which mapping is an isomorphism from to ?

Graph isomorphism Medium
A.
B.
C.
D.

33 Two simple graphs have the same degree sequence . One graph is , while the other consists of two disjoint triangles. Why are they not isomorphic?

Graph isomorphism Medium
A. They have different vertex counts
B. They have different edge counts
C. They have different degree sums
D. They have different connectivity

34 In a graph with edges , consider the sequence . How should this sequence be classified?

Path and connectivity for undirected graphs and digraphs Medium
A. A path but not a trail
B. A trail but not a path
C. Both a path and a trail
D. Neither a path nor a trail

35 A connected graph has 9 vertices and 9 edges, with exactly one cycle. An edge on that cycle is removed. What is true of the resulting graph?

Path and connectivity for undirected graphs and digraphs Medium
A. It becomes disconnected and becomes a tree
B. It remains connected and remains cyclic
C. It remains connected and becomes a tree
D. It becomes disconnected and remains cyclic

36 A digraph has arcs , , , and . Which statement is correct?

Path and connectivity for undirected graphs and digraphs Medium
A. It is neither strongly nor weakly connected
B. It is weakly connected but not strongly connected
C. It is strongly connected but not weakly connected
D. It is both strongly and weakly connected

37 An undirected connected graph has a bridge . What happens when is removed?

Path and connectivity for undirected graphs and digraphs Medium
A. The number of components increases
B. Every remaining edge becomes a bridge
C. Every remaining vertex becomes isolated
D. The number of vertices decreases

38 A weighted undirected graph has edges , , , , , , and . What is the shortest distance from to ?

Dijkstra's algorithm for shortest path problem Medium
A. 6
B. 9
C. 8
D. 7

39 During Dijkstra's algorithm, vertex has finalized distance 6. An edge from to an unvisited vertex has weight 4, while the current tentative distance of is 13. What is the updated distance of ?

Dijkstra's algorithm for shortest path problem Medium
A. 17
B. 13
C. 9
D. 10

40 Why can the standard Dijkstra's algorithm fail when a graph contains a negative-weight edge?

Dijkstra's algorithm for shortest path problem Medium
A. The adjacency matrix may become asymmetric
B. The graph may contain too many vertices
C. The source may have more than one neighbor
D. A finalized distance may later decrease

41 Which of the following nonincreasing sequences is graphical for a simple graph on six vertices?

Graph terminologies Hard
A.
B.
C.
D.

42 A simple graph has ten vertices: six vertices have degree , and four vertices have degree . How many edges does the line graph have?

Graph terminologies Hard
A.
B.
C.
D.

43 Let be formed by adjoining one hub vertex to every vertex of the cycle , where . For which value of is regular?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Hard
A. Every
B. Every even
C. Only
D. Only

44 In the -dimensional cube graph , what are, respectively, the number of shortest paths and the maximum number of internally vertex-disjoint paths between two antipodal vertices?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Hard
A.
B.
C.
D.

45 How many distinct spanning trees does the complete bipartite graph have?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Hard
A.
B.
C.
D.

46 A simple graph on nine vertices is regular and isomorphic to its complement. Which pair gives the degree of each vertex and the number of edges of ?

Special types of graphs: complete, cycle, regular, wheel, cube, bipartite and complete bipartite Hard
A.
B.
C.
D.

47 Let be the adjacency matrix of a graph under its original labeling. A new labeling is specified by a permutation matrix whose th column is the standard basis vector corresponding to the old label of new vertex . What is the adjacency matrix under the new labeling?

Representing graphs Hard
A.
B.
C.
D.

48 Let be the adjacency matrix of the cycle . What is the value of the entry ?

Adjacency and incidence matrix Hard
A.
B.
C.
D.

49 An undirected graph has vertices, edges, and connected components. After assigning an arbitrary orientation to every edge, let be its oriented incidence matrix over . What are and ?

Adjacency and incidence matrix Hard
A.
B.
C.
D.

50 A simple graph has edges, degree sequence , and adjacency matrix satisfying . How many distinct -cycles does the graph contain?

Adjacency and incidence matrix Hard
A.
B.
C.
D.

51 Graph is obtained from by adding chords and . Graph is obtained from by adding chords and . Both graphs use the cyclic order . Which invariant proves that and are not isomorphic?

Graph isomorphism Hard
A. The number of degree- vertices
B. The edges induced by degree- vertices
C. The common degree sequence
D. The total number of vertices

52 Let have edge set and let have edge set . Which tuple defines an isomorphism ?

Graph isomorphism Hard
A.
B.
C.
D.

53 In , let belong to the part of size and belong to the part of size . What is the maximum number of pairwise internally vertex-disjoint - paths?

Path and connectivity for undirected graphs and digraphs Hard
A.
B.
C.
D.

54 The condensation of a digraph has vertices and arcs , , , , , and . What is the minimum number of arcs that must be added to make the original digraph strongly connected?

Path and connectivity for undirected graphs and digraphs Hard
A.
B.
C.
D.

55 A finite digraph has a condensation DAG containing exactly one source strongly connected component . Which conclusion is necessarily true?

Path and connectivity for undirected graphs and digraphs Hard
A. Every vertex can reach every vertex of
B. The underlying undirected graph is complete
C. The condensation contains exactly one sink
D. Every vertex of can reach every vertex

56 Consider the directed weighted graph with arcs , , , , , , , and . What are the shortest distance from to and the number of distinct shortest - paths?

Dijkstra's algorithm for shortest path problem Hard
A.
B.
C.
D.

57 A directed graph has arcs , , , , and . If standard Dijkstra's algorithm finalizes vertices and stops when is extracted, what distance does it report for , and what is the true shortest distance?

Dijkstra's algorithm for shortest path problem Hard
A.
B.
C.
D.

58 Dijkstra's algorithm is run on a graph with nonnegative edge weights, including zero-weight edges, and equal tentative distances are broken arbitrarily. Which property is guaranteed?

Dijkstra's algorithm for shortest path problem Hard
A. The predecessor tree is unique
B. Every shortest path has equal edge count
C. The settled order is unique
D. Settled distances are nondecreasing

59 Which transformation of all edge weights is guaranteed to preserve the complete set of shortest paths between every ordered pair of vertices in a nonnegatively weighted graph?

Dijkstra's algorithm for shortest path problem Hard
A. Replace each directed edge by an undirected edge
B. Replace every weight by its square
C. Multiply every weight by the same positive constant
D. Add the same positive constant to every weight

60 In an undirected graph, two nonadjacent vertices and are connected by at most four pairwise internally vertex-disjoint - paths, and a family of four such paths exists. What is the minimum size of a vertex set, excluding and , whose removal separates from ?

Path and connectivity for undirected graphs and digraphs Hard
A.
B.
C.
D.