ch1 Flashcards

1
Q

What is the degree of a vertex in a graph?

A

The number of edges incident to the vertex.

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

How do you calculate the total degree of a graph?

A

Sum all vertex degrees; the result is twice the number of edges.

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

What is the in-degree of a vertex in a directed graph?

A

The number of edges directed toward the vertex.

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

What is the out-degree of a vertex in a directed graph?

A

The number of edges directed away from the vertex.

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

State the Handshaking Theorem.

A

In any undirected graph, the sum of all vertex degrees is twice the number of edges.

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

What is a source vertex in a directed graph?

A

A vertex with in-degree 0 and at least one outgoing edge.

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

What is a sink vertex in a directed graph?

A

A vertex with out-degree 0 and at least one incoming edge.

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

What does the Handshaking Theorem tell us about odd-degree vertices?

A

The number of vertices with an odd degree must be even.

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

What is the first step in drawing a graph from a degree sequence?

A

Check if the sum of degrees is even (Handshaking Theorem).

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

What is the second step in drawing a graph from a degree sequence?

A

Sort degrees in descending order and connect the highest-degree nodes first.

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

What is the Havel-Hakimi algorithm used for?

A

Checking if a degree sequence is graphical and constructing the graph.

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

What happens if you try to construct a graph and run out of connections early?

A

The sequence is not graphical; restart with a different approach.

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

What is a simple graph?

A

A graph with no loops or multiple edges.

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

What is a multigraph?

A

A graph that allows multiple edges between the same pair of vertices but no loops.

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

What is a pseudograph?

A

A graph that allows both multiple edges and loops.

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

What is an isolated vertex?

A

A vertex with a degree of 0 (no edges connected to it).

17
Q

What is a pendant vertex?

A

A vertex with degree 1 (only one edge connected to it).

18
Q

What is a directed graph?

A

A graph where edges have directions (arrows).

19
Q

What is an undirected graph?

A

A graph where edges have no directions.

20
Q

What is a connected graph?

A

A graph where there is a path between every pair of vertices.

21
Q

What is a disconnected graph?

A

A graph where at least one pair of vertices is not connected by a path.

22
Q

What is a spanning subgraph?

A

A subgraph that contains all the vertices of the original graph but not necessarily all the edges.

23
Q

What is a bipartite graph?

A

A graph whose vertices can be divided into two disjoint sets such that every edge connects a vertex from one set to a vertex from the other set.

24
Q

What is an Eulerian graph?

A

A connected graph where all vertices have an even degree, allowing for an Eulerian circuit.

25
What is an Eulerian path?
A path that visits every edge exactly once.
26
What is a Hamiltonian graph?
A graph that contains a Hamiltonian circuit, which visits each vertex exactly once before returning to the start.
27
What is the difference between an Eulerian and a Hamiltonian graph?
An Eulerian circuit visits every edge exactly once, while a Hamiltonian circuit visits every vertex exactly once.
28
What is the adjacency matrix of a graph?
A square matrix where the entry at (i, j) represents the number of edges between vertices i and j.
29
How do you determine if a degree sequence is graphical?
Use the Havel-Hakimi algorithm or check if the sum of degrees is even and edges can be assigned correctly.
30
What is a path in a graph?
A sequence of edges connecting a series of vertices without repeating an edge.
31
What is a cycle in a graph?
A closed path where the first and last vertices are the same, with no repeated edges.
32
What is a walk in a graph?
A sequence of vertices where each pair of consecutive vertices is connected by an edge.