D1 Definitions Flashcards

1
Q

How do you find the middle point in a list?

A

In a list containing N items the ‘middle’ item has position [1/2(N + 1)] if N is odd [1/2(N + 2)] if N is even, so that if N = 9, the middle item is the 5th and if N = 6 it is the 4th

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

What is a graph?

A

A graph G consists of points (vertices or nodes) which are connected by lines (edges or arcs).

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

What is a subgraph?

A

A subgraph of G is a graph, each of whose vertices belongs to G and each of whose edges belongs to G.

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

What is meant by a weighted graph?

A

If a graph has a number associated with each edge (usually called its weight) then the graph is called a weighted graph or network.

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

What is the degree (valency) of a vertex.

A

The degree or valency of a vertex is the number of edges incident to it. A vertex is odd (even) if it has odd (even) degree

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

What is a path?

A

A path is a finite sequence of edges, such that the end vertex of an edge in the sequence is the start vertex of the next, and in which no vertex appears more then once

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

What is a cycle?

A

A cycle (circuit) is a closed path, ie the end vertex of the last edge is the start vertex of the first edge.

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

What is a meant by a digraph?

A

If the edges of a graph have a direction associated with them they are known as directed edges and the graph is known as a digraph.

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

What is a tree?

A

A tree is a connected graph with no cycles

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

What is a spanning tree?

A

A spanning tree of a graph G is a subgraph which includes all the vertices of G and is also a tree.

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

What is a minimum spanning tree?

A

A minimum spanning tree (MST) is a spanning tree such that the total length of its arcs is as small as possible. (MST is sometimes called a minimum connector.)

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

What is meant by a complete graph?

A

A graph in which each of the n vertices is connected to every other vertex is called a complete graph.

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

What is a bipartite graph?

A

A bipartite graph consists of two sets of vertices X and Y. The edges only join vertices in X to vertices in Y, not vertices within a set. (If there are r vertices in X and s vertices in Y then this graph is Kr,s.)

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

What is a matching?

A

A matching is the pairing of some or all of the elements of one set, X, with elements of a second set, Y. If every member of X is paired with a member of Y the matching is said to be a complete matching.

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

What is the float of an activity?

A

The total float F(i,j) of activity( (i,j) is defined to be F(i,j)=Lj-Ei-duration of (i,j), where Ei is the earliest time for event i and Lj is the latest time for event j.

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