Dashboard/Midterm Prep

Midterm Prep

41 real exam questions mapped to course topics

Every question below appeared in an actual BME Theory of Algorithms midterm. They are organized by topic so you can practice exactly what will be tested. Each question is worth 10 points.

41

Total Questions

21

Midterm 1 Topics

20

Midterm 2 Topics

7

Exam Sources

Midterm 1 Simulation

6 practice exams with 7 questions each — timed, scored, and reviewed. Test yourself under real exam conditions.

Midterm 1 Coverage

MT1

You are responsible for Weeks 1, 7, 8, 10 & 11

Big-O, DFS/BFS, Dijkstra, DAG paths, Dynamic Programming

Midterm 2 Coverage

MT2

You are responsible for Weeks 2, 4, 5, 6, 9 & 12

Heaps, BSTs, 2-3 Trees, Hashing, MST, NP-completeness, Data Structures

Expected Question Distribution

Estimated from patterns across all past midterms — 7 questions, 10 points each, 70 total

Midterm 1

Q1

Big-O Determination & Proof

W110 pts
Q2

Dynamic Programming

W1010 pts
Q3

DFS / BFS Graph Problem

W710 pts
Q4

DFS / BFS or DAG Paths

W710 pts
Q5

Dijkstra's or Graph Application

W810 pts
Q6

Dijkstra's Q Table Analysis

W810 pts
Q7

Dynamic Programming (harder)

W1010 pts
Total70 pts

Midterm 2

Q1

Heap Operations

W410 pts
Q2

BST / Sorting / Array Problem

W510 pts
Q3

BST / 2-3 Tree / Hashing

W510 pts
Q4

Balanced Trees / MST / Sorting

W510 pts
Q5

NP / coNP Proof

W1210 pts
Q6

NP-completeness Reduction

W1210 pts
Q7

Data Structure Design

W410 pts
Total70 pts

Most Tested Topics

How many times each topic appeared across all past midterms

Dijkstra's AlgorithmMT1
8x
Sample MT1Sample MT1 2024MT1 (x3)MT1 Repeat (x3)
Dynamic ProgrammingMT1
7x
Sample MT1 (x2)Sample MT1 2024 (x2)MT1 (x2)MT1 Repeat
DFS / Graph TraversalsMT1
7x
Sample MT1 (x2)Sample MT1 2024 (x2)MT1MT1 Repeat (x2)
BSTs & Balanced TreesMT2
6x
Sample MT2 (x2)MT2MT2 Repeat (x3)
NP / coNP / NP-completenessMT2
6x
Sample MT2 (x2)MT2 (x2)MT2 Repeat (x2)
Big-O / Asymptotic AnalysisMT1
4x
Sample MT1Sample MT1 2024MT1MT1 Repeat
HeapsMT2
3x
Sample MT2 (x2)MT2
Data Structure DesignMT2
3x
Sample MT2MT2 Repeat (x2)
Greedy / Graph ModelingMT1
2x
Sample MT1Sample MT1 2024
Sorting / Array ProblemsMT2
2x
Sample MT2MT2 Repeat
MST (Prim's/Kruskal's)MT2
2x
MT2MT2 Repeat
Hash TablesMT2
1x
MT2

Midterm 1 Questions

Covers: Big-O, DFS/BFS, Dijkstra, DAG paths, Dynamic Programming

Midterm 2 Questions

Covers: Heaps, BSTs, 2-3 Trees, Hashing, MST, NP-completeness, Data Structures

Midterm Study Strategy

  • - Midterm 1 focuses on: Big-O proofs (always Q1), DFS/BFS graph problems, Dijkstra table reading, and DP algorithm design
  • - Midterm 2 focuses on: Heap operations, BST/RB-tree/2-3 tree analysis, hashing, MST applications, NP/coNP proofs, and data structure design
  • - Every midterm has exactly 7 questions worth 10 points each
  • - Practice with pen and paper — trace algorithms by hand just like the exam requires
  • - For DP questions, always follow the 8-step template: subproblems, order, start, continue, end, correctness, running time, optimal object
  • - For NP-completeness: always show (1) the problem is in NP with a witness, and (2) reduce FROM a known NP-complete problem TO yours