Computing and Information Technology

Graph Theory and Network Flows Practice Exam, Flashcards & Questions

Master foundational to advanced Graph Theory and Network Flows with 220 verified curriculum items, worked engineering solutions, and spaced-repetition cards.

160 Total Questions 40 MCQs 60 Calculations 20 Formulas 40 Flashcards
Free Interactive Preview

Graph Theory and Network Flows Sample Exam Questions & Rationale

Preview official questions below. The complete pool of 160 items is available in the offline app.

Question 1 of 4 Adjacency matrices and incidence matrices

What combinatorial information is encoded in the $(i, j)$ entry of the $k$-th power of the adjacency matrix $\mathbf{A}^k$ of a graph?

A The exact number of distinct walks of length $k$ connecting vertex $i$ to vertex $j$
B The shortest distance between vertex $i$ and vertex $j$
C The number of common neighbors between $i$ and $j$
D The capacity of the minimum cut between $i$ and $j$
Accepted Answer: Option A (The exact number of distinct walks of length $k$ connecting vertex $i$ to vertex $j$)

Rationale: Matrix multiplication $(\mathbf{A}^k)_{ij} = \sum a_{i v_1} a_{v_1 v_2} \dots a_{v_{k-1} j}$ counts all sequences of $k$ contiguous edges from $i$ to $j$.

Question 2 of 4 Bipartite graphs and Hall's Marriage Theorem

According to Hall's Marriage Theorem, what condition is necessary and sufficient for bipartite graph $G = (X \cup Y, E)$ to admit a complete matching of set $X$ into $Y$?

A For every subset $S \subseteq X$, its neighborhood set satisfies $|N(S)| \ge |S|$ (Hall's condition)
B $|X| = |Y|$ and the graph is connected
C Every vertex in $X$ has degree at least 2
D The graph contains no odd cycles of length greater than 3
Accepted Answer: Option A (For every subset $S \subseteq X$, its neighborhood set satisfies $|N(S)| \ge |S|$ (Hall's condition))

Rationale: Hall's marriage condition requires that every subset of $S \subseteq X$ has at least as many neighbors in $Y$ as elements in $S$ ($|N(S)| \ge |S|$).

Question 3 of 4 Degree of a vertex and Handshaking Lemma ($\sum \deg(v) = 2|E|$)

What profound topological and parity consequence follows from the Handshaking Lemma $\sum_{v \in V} \deg(v) = 2|E|$ for any undirected graph?

A Every graph must have an even number of vertices with odd degree
B The number of edges must always be an even integer
C Every vertex must have degree less than the number of edges
D The sum of vertex degrees equals the chromatic number
Accepted Answer: Option A (Every graph must have an even number of vertices with odd degree)

Rationale: Since the sum of all degrees is $2|E|$ (even), the sum of odd degrees must be even, forcing the count of odd-degree vertices to be an even number.

Question 4 of 4 Eulerian circuits (Euler's theorem) and Hamiltonian cycles (Dirac's theorem)

What condition characterizes an Eulerian circuit (Euler's Theorem) versus a sufficient condition for a Hamiltonian cycle (Dirac's Theorem)?

A Eulerian: connected with all vertices having even degree; Dirac: simple graph with $n \ge 3$ and $\deg(v) \ge n/2$ for all $v$ is Hamiltonian
B Eulerian requires all vertices to have odd degree
C Dirac requires $\deg(v) \ge n/3$
D Hamiltonian circuits traverse every edge exactly once
Accepted Answer: Option A (Eulerian: connected with all vertices having even degree; Dirac: simple graph with $n \ge 3$ and $\deg(v) \ge n/2$ for all $v$ is Hamiltonian)

Rationale: Eulerian circuits traverse every edge once (exists iff connected and all degrees even). Hamiltonian cycles visit every vertex once (Dirac's sufficient condition: $\deg(v) \ge n/2$).

Active Recall Spaced Repetition Cards (Preview)

Card 1 • Adjacency matrices and incidence matrices
What does entry (i, j) in the k-th power of adjacency matrix A^k count?
**Walk count of length k from i to j** $(\mathbf{A}^k)_{ij}$ counts the number of distinct walks of length $k$ between vertex $i$ and vertex $j$. $(\mathbf{A}^k)_{ij}$ counts the number of distinct walks of length $k$ between vertex $i$ and vertex $j$.
Card 2 • Bipartite graphs and Hall's Marriage Theorem
What cycle property characterizes all bipartite graphs?
**Contains no odd cycles** A graph is bipartite if and only if it contains no cycles of odd length (König's theorem). A graph is bipartite if and only if it contains no cycles of odd length (König's theorem).

Graph Theory and Network Flows Curriculum Modules & Topics Covered

Modules
Fundamentals of Graph TheoryTrees and Shortest Path AlgorithmsNetwork Flow and Maximum Flow Algorithms
Core Exam Topics
  • Graphs, vertices, edges, directed graphs (digraphs), and simple graphs
  • Degree of a vertex and Handshaking Lemma ($\sum \deg(v) = 2|E|$)
  • Adjacency matrices and incidence matrices
  • Subgraphs, paths, cycles, and connected components
  • Bipartite graphs and Hall's Marriage Theorem
  • Eulerian circuits (Euler's theorem) and Hamiltonian cycles (Dirac's theorem)
  • Planar graphs and Euler's formula ($V - E + F = 2$)
  • Kuratowski's theorem ($K_5$ and $K_{3,3}$)
  • Trees, tree properties (connected with $V - 1$ edges), and spanning trees
  • Breadth-First Search (BFS) and Depth-First Search (DFS) traversals
Learning Objectives
  • Develop core conceptual recall and analytical problem-solving in Fundamentals of Graph Theory.
  • Develop core conceptual recall and analytical problem-solving in Trees and Shortest Path Algorithms.
  • Develop core conceptual recall and analytical problem-solving in Network Flow and Maximum Flow Algorithms.

Free Downloadable Graph Theory and Network Flows Study Packs (.ZIP / .TSV)

Full Spreadsheet Data (TSV)
TSV • 160 items
Complete Course Pack
ZIP • 160 items
Elements (Complete)
ZIP • 160 items
Elements (Mastery)
ZIP • 160 items
Elements (Standard)
ZIP • 160 items
Active Recall Flashcards
ZIP • 160 items
Formula Codex
ZIP • 160 items
Problem Solving (Mastery)
ZIP • 160 items
Artificial Intelligence (1,579) Artificial Intelligence and Machine Learning (507) Cloud Computing and DevOps (144) Compiler Design & Formal Languages (1,579) Computational Contact Mechanics: Penalty Function Method, Lagrange Multipliers & Mortar Contact Formulations (128) Computer Engineering & Algorithms (1,365)
Full Question Pool: 160 Verified Items

Unlock All 160 Graph Theory and Network Flows Practice Questions

Study the full question pool with 13 active recall battle modes, FSRS v5 spaced repetition, and 1-click printable PDF mock exams with full answer keys on Android and Windows PC.

Get on Google Play (Android) Get on Microsoft Store (Windows PC)