Basic Flashcards

1
Q

If all the vertices of G are pairwise adjacent then G is

A

Complete

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

One of the most important properties of a vertex in a graph is its degree, defined as

A

The total number of edges incident to that vertex

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

In a directed graph, the degree of a vertex Vi is split into

A

(1) the in-degree of the vertex, defined as the number of edges for which Vi is their end node (the head of the arrow) , and (2) the out-degree of the vertex, which is the number of edges for which Vi is their start node (the tail of the arrow).

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

There are two standard ways for representing a graph G (V, E) in a suitable way to be processed:

A

as a collection of adjacency list or as an adjacency matrix

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

A disadvantage of the adjacency-list representation is that it provides no quicker way to determine whether a given edge Euv is present in the graph than to search for v in the adjacency list Adj[u]. An adjacency-matrix representation of the graph remedies this disadvantage, but at the cost of

A

using asymptotically more memory.

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