- IB
- Question Type 2: Creating simple graphs given information of structures
In the electrical circuit shown below, the nodes and are connected by four resistors forming a loop. The resistance values are:
Additionally, a diagonal resistor connects nodes and with a resistance of .

Determine the effective resistance between terminals and .
[5]Construct the adjacency matrix and list all edges for a complete graph .
Construct the adjacency matrix and list all edges for the complete graph on vertices 1 through 5.
[5]A degree sequence is given as . Determine whether a simple graph with this sequence exists. If such a graph exists, construct one example.
[5]Six cities, and , are connected by roads with the following distances:
Find the minimum spanning tree (MST) using Kruskal’s algorithm and list the edges included in the MST.
[3]The following adjacency list describes a graph with vertices :
: : : : :
Convert this list into its adjacency matrix.
[3]Construct a weighted adjacency matrix for a given undirected graph where vertices represent friends and edge weights represent friendship strengths.
Given five friends A, B, C, D, and E, with friendship strengths as follows:
Construct the weighted adjacency matrix for this friendship graph.
[3]A weighted graph has vertices and edges given by the following triples , where is the weight of the edge between vertices and : Use Dijkstra’s algorithm to find the shortest distance and the shortest path from vertex 1 to vertex 5. Show your working clearly.
[7]A network has four processors – connected by bidirectional links with latencies:
Draw the weighted graph and determine if there is any cycle of total latency .
[6]Adjacency matrices and vertex degrees in undirected graphs.
Given the adjacency matrix of an undirected graph on vertices :
Find the degree of each vertex.
[2]A circuit has nodes , , and resistors of between and , between and , and directly between and . Represent this as a weighted graph and list its edge set with weights.
[4]Four tasks , and must be completed subject to the following dependencies:
Draw the directed graph that represents these task dependencies.
[3]