Skip to content
The Lumenary

Practice · Grades 9–12

Graphs

Graphs

Warm-upHuman

A graph has seven vertices, with degrees 3,3,2,2,2,1,13, 3, 2, 2, 2, 1, 1. How many edges does it have?

Graphs

Warm-upHuman

Can there be a group of 77 people in which every person knows exactly 33 of the others (knowing being mutual)?

Choose one

Graphs

CoreHuman

An engineering cooperative lays water pipes to connect 5050 villages in a region of Bolivia so that water can flow between any two villages, using as few pipes as possible: the network has no loops. Each pipe joins two villages. How many pipes are there?

Graphs

CoreHuman

A connected graph has six vertices with degrees 2,4,3,3,4,22, 4, 3, 3, 4, 2. Which statement is true?

Choose one

Graphs

CoreHuman

The cube graph has the 88 corners of a cube as vertices and its 1212 edges as edges. Which statements are true? (Choose all that apply.)

Choose all that apply

Graphs

CoreHuman

To prove that a tree with at least two vertices has a leaf, we take a longest path v0,v1,…,vkv_0, v_1, \dots, v_k and show that vkv_k is a leaf. Why can vkv_k have no neighbour other than vk−1v_{k-1}?

Choose one

Graphs

StretchHuman

How many trees with 55 vertices are there up to isomorphism — that is, how many different shapes?

Graphs

StretchFormal

In the lesson's Lean model, IsEulerCircuit G w says that the walk w crosses every edge of the multigraph G exactly once and ends where it started. Which statement is a correct formalisation of the necessity half of Euler's theorem for circuits?

Choose one

Graphs

StretchComputational

A connected multigraph on the vertices 0,1,…,n−10, 1, \dots, n - 1 is given as a list of edges (a, b) (pairs may repeat). Write euler_status(n, edges) that returns "circuit" if it has an Euler circuit, "trail" if it has an Euler trail but no circuit, and "none" otherwise, using Euler's theorem. (Assume at least one edge.)

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.