Chapter 28 Flashcards

1
Q

What is the formula of digraph and undirected graph

A

G = (V, E)

Where E = Number of edges

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

What is path in graph

A

A path in directed graph is a sequence of vertices

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

What is the length of path

A

Number of edges

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

What is cycle in graph

A

A cycle in a digraph is a path containing at least one edge and for which v0 = v k

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

What is Hamiltonian cycle in graph

A

A Hamiltonian cycle is a cycle that visits every vertex in a graph exactly once

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

What is Eulerian cycle in graph

A

A Eulerian cycle is a cycle that visits every edge of the graph exactly once

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

What is acyclic graph

A

A graph is said to be acyclic if it contains no cycles

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

What is directed acyclic graph (DAG)

A

A directed graph that is acyclic is called a directed acyclic graph (DAG).

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

What are two ways of representing graphs

A

1- Using an adjacency matrix

2- Using an adjacency list

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

What is the storage of Adjacency matrix

A

Q(n2)

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

What is the storage of adjacency list

A

Q (n + e)

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

What is hop in path

A

Edge

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

What is degree of vertex

A

In graph theory, the degree (or valency) of a vertex of a graph is the number of edges incident to the vertex, with loops counted twice.

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