Unit 7 Flashcards

1
Q

In an blank, the edges are unordered pairs of vertices, which is useful for modeling relationships that are symmetric.

A

undirected graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A graph is blank if the vertex set is finite.

A

finite

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A single element of V is called a blank and is usually represented pictorially by a dot with a label.

A

vertex

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

If there is an edge between two vertices, they are said to be blank

A

adjacent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Vertices b and e are the blank of edge {b, e}.

A

endpoints

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The edge {b, e} is blank to vertices b and e.

A

incident

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A vertex c is a blank of vertex b if {b, c} is an edge.

A

neighbor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In a simple graph, the blank of a vertex is the number of neighbors it has.

A

degree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The blank of a graph is the sum of the degrees of all of the vertices.

A

total degree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In a blank, all the vertices have the same degree

A

regular graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

In a blank, all the vertices have degree d

A

d-regular graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A graph H = (VH, EH) is a blank of a graph G = (VG, EG) if VH ⊆ VG and EH ⊆ EG. Note that any graph G is a blank of itself.

A

subgraph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

blank are multiple edges between the same pair of vertices.

A

Parallel edges

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A graph can also have a blank which is an edge between a vertex and itself.

A

self-loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

If a graph does not have parallel edges or self-loops, it is said to be a blank.

A

simple graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Let G=(V, E) be an undirected graph. Then blank the number of edges is equal to the total degree:

A

twice

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Kn is called the blank on n vertices. Kn has an edge between every pair of vertices.

A

complete graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Kn is sometimes called a blank of size n or an n-blank.

A

clique

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Cn is called a blank on n vertices. The edges connect the vertices in a ring.

A

cycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

The blank, denoted Qn, has 2n vertices. Each vertex is labeled with an n-bit string. Two vertices are connected by an edge if their corresponding labels differ by only one bit.

A

n-dimensional hypercube

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Kn,m has n+m blank. The vertices are divided into two sets: one with m vertices and one set with n vertices. There are no edges between vertices in the same set, but there is an edge between every vertex in one set and every vertex in the other set.

A

vertices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

In an undirected graph, the total degree of the graph G is blank the number of edges in G.

A

2 times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

In the blank of a graph, each vertex has a list of all its neighbors. Note that since the graph is undirected if vertex a is in b’s list of neighbors, then b must also be in a’s list of neighbors.

A

adjacency list representation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

The blank for a graph with n vertices is an n by n matrix whose entries are all either 0 or 1, indicating whether or not each edge is present.

A

matrix representation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Two graphs are said to be blank if there is a correspondence between the vertex sets of each graph such that there is an edge between two vertices of one graph if and only if there is an edge between the corresponding vertices of the second graph.

A

isomorphic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

Let G = (V, E) and G’=(V’,E’). G and G’ are isomorphic if there is a bijection f: V → V’ such that for every pair of vertices x, y ∈ V, {x, y} ∈ E if and only if {f(x), f(y)} ∈ E’. The function f is called an blank from G to G’.

A

isomorphism

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

A property is said to be blank if whenever two graphs are isomorphic, one graph has the property if and only if the other graph also has the property.

A

preserved under isomorphism

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Consider two graphs, G and G’. Let f be an isomorphism from G to G’. For each vertex v in G, the degree of vertex v in G is equal to the degree of vertex f(v) in G’. what is this theorem?

A

Degree preserved under isomorphism

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

The blank of a graph is a list of the degrees of all of the vertices in non-increasing order. Non-increasing order means that each number is less than or equal to the preceding number in the sequence.

A

degree sequence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

The degree sequence of a graph is blank.

A

preserved under isomorphism

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

The labeling of the vertices is blank preserved under isomorphism, so two graphs can be isomorphic even if the vertices have different labels.

A

not a property

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

Listing the degrees of each vertex of a graph G from largest to smallest is called the degree sequence of a graph. The degree sequence is a property blank.

A

preserved under isomorphism

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

he degree of vertex v in graph G is the same as the degree of f(v) in G’ if f is an blank between G and G’. That is, the degree of a vertex is a property preserved under isomorphism for every vertex v.

A

isomorphism

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

If two graphs have either a different number of edges or a different number of vertices, they are not blank.

A

isomorphic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

blank of two isomorphic graphs that remain the same for every isomorphism defined between them are called properties preserved under isomorphism.

A

Structural properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

The number and degree of vertices, number of edges, and degree sequence are blank of graphs.

A

structural properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

If the blank of two graphs are the same they are isomorphic. Let G = (V, E) and G’=(V’,E’). G and G’ are isomorphic if there is a bijection f: V → V’ such that for every pair of vertices x, y ∈ V, {x, y} ∈ E if and only if {f(x), f(y)} ∈ E’. The function f is called an isomorphism from G to G’.

A

structural properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

A blank from v0 to vl in an undirected graph G is a sequence of alternating vertices and edges that starts and ends with a vertex

A

walk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

The blank is l, the number of edges in the walk.

A

length of a walk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

An blank is a walk in which the first and last vertices are not the same.

A

open walk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

A blank is a walk in which the first and last vertices are the same.

A

closed walk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

The edges in an blank do not have a particular orientation, so an edge can be traversed in either direction. If {v, w} is an edge in an undirected graph, then a walk can have vertex v followed by w or w followed by v. Thus, if the vertices in a walk are reversed, the resulting sequence is also a walk .

A

undirected graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

In blank, the endpoints of an edge have a well-defined order. An edge (x, y) in a directed graph can only be traversed from x to y. If the graph happens to have edges (x, y) and (y, x) then a walk can go from x to y or from y to x.

A

directed graphs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

A blank is an open walk in which no edge occurs more than once.

A

trail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

A blank is a closed walk in which no edge occurs more than once.

A

circuit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

A blank is a trail in which no vertex occurs more than once

A

path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

A blank is a circuit of length at least 1 in which no vertex occurs more than once, except the first and last vertices which are the same.

A

cycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
48
Q

A sequence of alternating vertices and edges that begin and end with a vertex is called a blank. You can denote the walk as a sequenced list of vertices with the understanding that there is an edge connecting adjacent vertices

A

walk

49
Q

The number of blank is referred to as the length of the walk

A

edges

50
Q

A walk where no blank is repeated is called a path.

A

vertex

51
Q

If there exists a walk between vertex a and vertex b in a graph G, then there also exists a path in G that blank and blank.

A

begins with vertex a and ends with vertex b

52
Q

If the first vertex is the same as the last vertex, the walk is called a blank. For example, <a,b,c,b,a>.

A

circuit

53
Q

If the circuit is at least three lengths and contains no repeated vertex other than the beginning and end, it is called a blank. For example, <a,b,c,d,a>.

A

cycle

54
Q

If <v,w,x,s> is a walk in an blank, then so is <s,x,w,v> because the edges have no defined direction. If <v,w,x,s> is a walk in a blank, <s,x,w,v> is not necessarily a walk.

A

undirected graph
directed graph

55
Q

In an undirected graph, if there is a path from vertex v to vertex w, then there is also a path from w to v. The two vertices, v and w, are said to be blank.

A

connected.

56
Q

A set of vertices in a graph is said to be blank if every pair of vertices in the set is connected.

A

connected

57
Q

A graph is said to be connected if every pair of vertices in the graph is connected, and is blank otherwise.

A

disconnected

58
Q

A disconnected graph can be blank into more than one connected component.

A

divided

59
Q

A blank is a maximal set of vertices that is connected. The word “maximal” means that if any vertex is added to a connected component, then the set of vertices will no longer be connected.

A

connected component

60
Q

A vertex that is not connected with any other vertex is called an blank and is therefore a connected component with only one vertex.

A

isolated vertex

61
Q

An undirected graph G is blank if the graph remains connected after any k - 1 vertices are removed from the graph.

A

k-vertex-connected

62
Q

The blank of a graph is the largest k such that the graph is k-vertex-connected. The blank of a graph G is denoted κ(G).

A

vertex connectivity

63
Q

The vertex connectivity of a graph is the minimum number of vertices whose removal disconnects the graph into blank

A

more than one connected component.

64
Q

An undirected graph G is blank if it remains connected after any k - 1 edges are removed from the graph.

A

k-edge-connected

65
Q

The blank of a graph is the largest k such that the graph is k-edge-connected. The blank of a graph G is denoted λ(G).

A

edge connectivity

66
Q

The blank of a graph is the minimum number of edges whose removal disconnects the graph into more than one connected component.

A

edge connectivity

67
Q

The minimum degree of any vertex (which is easy to compute) is at least an blank for both the edge and vertex connectivity of a graph.

A

upper bound

68
Q

A set of vertices in a graph is blank if there is a path between every pair of vertices in that set.

A

connected

69
Q

A graph is connected if its entire blank is connected, otherwise it is disconnected.

A

vertex set

70
Q

If a graph is disconnected it can be divided into its connected pieces called blank. A blank is a maximally connected set of vertices, meaning that if an additional vertex is added from the set of all the vertices in G, the collection will no longer be connected.

A

components

71
Q

An blank is one that is not connected to any other vertex.

A

isolated vertex

72
Q

An undirected graph G is blank if the graph remains connected after any k - 1 vertices are removed from the graph. For example, a graph is 4-vertex- connected if it is still connected after removing 3 vertices from the graph.

A

k-vertex- connected

73
Q

Graph connectivity is an blank

A

equivalence relation.

74
Q

A blank is an undirected graph that is connected and has no cycles.

A

tree

75
Q

A blank has no particular organization of the vertices and edges.

A

free tree

76
Q

A tree that appears to grow from a single vertex, the root, is called a blank.

A

rooted tree

77
Q

The blank of a vertex is its distance away from the root

A

level

78
Q

blank is measured by the number of edges of the shortest path between the vertices.

A

Distance

79
Q

The blank of the tree is the highest level of a vertex. That is, the blank is the greatest distance any vertex is away from the root.

A

height

80
Q

Given any two vertices in a tree, there is only blank between them. In particular, every vertex in a rooted tree has only one path to the root.

A

one path

81
Q

Every vertex in a rooted tree has only blank to the root.

A

one path

82
Q

The blank of a vertex v is the first vertex encountered on a path from v to the root.

A

parent

83
Q

Every vertex in the path from v to the root is called an blank. The parent is the first encountered blank on the path.

A

ancestor

84
Q

If u is the parent of v, then v is a blank of u.

A

child

85
Q

If u is an ancestor of v, then v is a blank of u.

A

descendent

86
Q

Vertices with no children are called blank.

A

leaves

87
Q

Vertices with the same parent are called blank.

A

siblings

88
Q

A blank rooted at vertex v is the tree consisting of v and all v’s descendants.

A

subtree

89
Q

There is a blank between every pair of vertices in a tree.

A

unique path

90
Q

A leaf of a free tree is a vertex of degree blank. There is one technicality: if a free tree has only one vertex, then that vertex is a leaf.

A

1

91
Q

A vertex is an blank if the vertex has degree at least two.

A

internal vertex

92
Q

Any free tree with at least two vertices has at least blank.

A

two leaves

93
Q

A blank is a graph that has no cycles and that is not necessarily connected.

A

forest

94
Q

Sn is called a blank. It consists of a vertex connected to n vertices by a single edge.

A

star graph

95
Q

A forest with c components and n vertices has blank edges where n ≥ c.

A

n - c

96
Q

If G is an undirected graph with n vertices and m edges and if m < n - 1, then G is not blank.

A

connected

97
Q

A common procedure performed on a tree (called a blank) is to process the information stored in the vertices by systematically visiting each vertex. As each vertex is visited, a processing step is performed which might entail a computation or outputting some data.

A

tree traversal

98
Q

In a blank, a vertex is visited before its descendants.

A

pre-order traversal

99
Q

In a blank, a vertex is visited after its descendants.

A

post-order traversal

100
Q

Scanning every blank in a tree is called a tree traversal.

A

vertex

101
Q

A tree traversal that visits a vertex blank its descendants is called a pre-order traversal.

A

BEFORE

102
Q

A tree traversal that visits a vertex blank its descendants is called a post-order traversal.

A

AFTER

103
Q

The tree traversal algorithms are how the computer blanks the data encoded in the tree.

A

reads

104
Q

The post-order traversal is useful to count the number of blank in a tree.

A

leaves

105
Q

A blank of a connected graph G is a subgraph of G which contains all the vertices in G and is a tree.

A

spanning tree

106
Q

There are two common methods for finding spanning trees in a graph: blank and blank

A

Breadth-First Search and Depth-First Search.

107
Q

blank is a process that systematically explores all the vertices of a graph. Breadth-first search and depth-first search are used as a subroutine for traversing a graph in many other graph algorithms.

A

Graph traversal

108
Q

In the blank, starting at a root vertex, scan each neighbor and its neighbors and their neighbors. Once a neighbor has no more neighbors, back track to the previous neighbor and exhaust its neighbors.

A

depth-first search

109
Q

In blank, starting at a root vertex scan each neighbor before scanning their neighbors. For example, if b and c are neighbors of the root a, scan b and c before scanning the neighbors of b.

A

breadth-first search

110
Q

A blank tree is likely the preferred spanning tree when you are looking for the shortest paths from the initial (source) vertex.

A

breadth-first search

111
Q

An edge e belongs to every blank if and only if removing e from the graph disconnects the graph into one or more connected components.

A

spanning tree

112
Q

A blank is a graph G = (V ,E), along with a function w: E → R. The function w assigns a real number to every edge.

A

weighted graph

113
Q

A blank of a weighted graph, is a spanning tree T of G whose weight is no larger than any other spanning tree of G.

A

minimum spanning tree (MST)

114
Q

blank finds a minimum spanning tree of the input weighted graph.

A

Prim’s algorithm

115
Q

All spanning trees with n vertices has blank edges.

A

n - 1

116
Q

A blank is a graph G = (V, E), along with a function w: E –>
R. The function w assigns a real number to every edge. That is, each edge has assigned to it some value called a weight.

A

weighted graph

117
Q

The weight of a graph, or a subgraph, is the blank of the weights for each edge.

A

sum

118
Q

A blank of a weighted graph, is a spanning tree T of G whose weight is no larger than any other spanning tree of G.

A

minimum spanning tree (MST)

119
Q

An blank is not necessarily unique. That is, there can be more than one blank in a graph.

A

MST