Sign in

Libre University uses your GitHub account. Signing in is only needed to sit a final test, so the score is kept on your profile.

Trees

1.[1p]

How many labelled trees are there on the vertex set {1,2,3,4,5,6}?

CorrectNot quite: 1296

2.[2p]

A tree has three vertices of degree 3, two vertices of degree 4, and every other vertex is a leaf. How many leaves does it have?

CorrectNot quite: 9

3.[1p]

A forest has 40 vertices and 7 connected components. How many edges does it have?

CorrectNot quite: 33

4.[2p]

Two triangles share a single vertex: the graph has vertices a,b,c,d,e and edges ab, bc, ca, ad, de, ea. How many spanning trees does it have?

CorrectNot quite: 9

5.[2p]

What is the Prüfer code of the path on {1,2,3,4,5} that visits the vertices in the order 3,1,4,2,5?

Correct
The answer is: $1, 4, 2$
The answer is: $1, 4, 2$
The answer is: $1, 4, 2$

6.[2p]

A labelled tree on {1,…,9} has Prüfer code 2,2,5,5,5,7,7. How many leaves does it have?

CorrectNot quite: 6

7.[3p]

How many labelled trees on {1,…,7} have vertex 1 as a leaf?

CorrectNot quite: 7776

8.[1p]

How many different binary trees have exactly 5 internal vertices (each vertex having either no children or a left and a right child)?

CorrectNot quite: 42

9.[2p]

A graph G has n vertices. Which of these conditions guarantee that G is a tree?

Select all that apply

Correct
Correct
Correct
The answer is: $G$ is connected and has $n - 1$ edges, $G$ has no cycles and has $n - 1$ edges, $G$ is connected, and deleting any one of its edges disconnects it
The answer is: $G$ is connected and has $n - 1$ edges, $G$ has no cycles and has $n - 1$ edges, $G$ is connected, and deleting any one of its edges disconnects it