BCS 402 · Dr. Arash Kermani · CUD
Student tools — all 63 problems
One self-explanatory HTML tool per assigned problem. Each: theory + animated demo + Q&A notes.
Round 1 = 30 pts · Round 2 = 30 pts · Round 3 = 40 pts
← Companion lectures
Round 1 · Undecidability
Round 2 · NP-completeness
Round 3 · Space & hierarchy
Round 1 · Lectures 5–8 · Undecidability & reductions (30 pts each)
Lecture 5 — Diagonalization & halting
P1 · CLO-1
Cantor's diagonal
P2 · CLO-1
Universal TM
P3 · CLO-1
A
TM
-undecidable table
P4 · CLO-1
Decidable/Recognizable Venn
P49 · CLO-1
Closure properties
P61 · CLO-1 · R1.9
Bridge theorem (constructive proof)
Lecture 6 — Reductions for undecidability
P5 · CLO-2
HALT
TM
via A
TM
P6 · CLO-2
E
TM
undecidable
P7 · CLO-2
REGULAR
TM
P8 · CLO-2
EQ
TM
mapping reduction
P50 · CLO-2
FINITE
TM
Lecture 7 — Computation-history method
P9 · CLO-2
Computation-history viewer
P10 · CLO-2
E
LBA
undecidable
P11 · CLO-2
ALL
CFG
undecidable
P12 · CLO-1/2
A
DFA
, E
DFA
, A
CFG
P51 · CLO-2
Post Correspondence
P62 · CLO-1 · R1.14
A
LBA
decidable vs E
LBA
undecidable
Lecture 8 — Recursion theorem & Rice
P13 · CLO-1
Quine builder
P14 · CLO-1/2
Rice's theorem checker
P15 · CLO-2
Recursion fixed point
P16 · CLO-1
Self-aware TM
P52 · CLO-1
Kamikaze TM
Round 2 · Lectures 9–12 · NP & Cook–Levin (30 pts each)
Lecture 9 — Time complexity & P
P17 · CLO-3
Growth-rate race
P18 · CLO-3
Single-tape {0ⁿ1ⁿ}
P19 · CLO-3
Single-tape vs two-tape
P20 · CLO-3
Big-O classifier
P53 · CLO-3
TM running-time profiler
Lecture 10 — NP & verifiers
P21 · CLO-3
Verifier vs brute force
P22 · CLO-3
Interactive SAT
P23 · CLO-3
HAMPATH verifier
P24 · CLO-3
P-class showcase
P54 · CLO-3
COMPOSITES verifier
Lecture 11 — Cook–Levin
P25 · CLO-4
Cook-Levin tableau
P26 · CLO-4
SAT → 3SAT
P27 · CLO-4
3SAT → CLIQUE
P28 · CLO-4
CLIQUE → VC
P55 · CLO-4
Cook-Levin (specific)
P63 · CLO-3 · R2.12
NP ⊆ EXPTIME via NTM determinization
Lecture 12 — More NP-complete problems
P29 · CLO-4
SUBSET-SUM
P30 · CLO-4
3SAT → HAMPATH
P31 · CLO-4
3SAT → 3COLOR
P32 · CLO-3/4
SAT self-reducibility
P56 · CLO-4
SET-COVER
Round 3 · Lectures 13–16 · Space & hierarchy (40 pts each)
Lecture 13 — Space, PSPACE, Savitch
P33 · CLO-5
Space vs time chart
P34 · CLO-4
Savitch's tree
P35 · CLO-5
PSPACE = NPSPACE
P36 · CLO-4
TQBF game tree
P57 · CLO-5
EXPTIME vs PSPACE
Lecture 14 — PSPACE-complete games
P37 · CLO-4
TQBF₃ normal form
P38 · CLO-4
Generalized Geography
P39 · CLO-4
TQBF → Geography
P40 · CLO-4
Generalized chess
P58 · CLO-4
Generalized Hex
Lecture 15 — L, NL, Immerman–Szelepcsényi
P41 · CLO-3/5
Log-space machine
P42 · CLO-5
NL PATH
P43 · CLO-4/5
PATH NL-complete
P44 · CLO-5
Inductive counting
P59 · CLO-3/5
2-SAT in NL
Lecture 16 — Hierarchy theorems
P45 · CLO-1/5
Space hierarchy
P46 · CLO-1/5
Time hierarchy
P47 · CLO-5
NL ⊊ PSPACE
P48 · CLO-5
P ⊊ EXPTIME
P60 · CLO-5
REGEX-EQ EXPSPACE-complete
Every tool's structure
Theory
— formal theorem in a gold box + intuition
Animated demo
— auto-plays on load, loops, ⏸/▶ Pause/Play, Step, Reset, Speed (0.25× – 3×), narrated step-by-step
Q&A defence notes
— 3-5 anticipated peer questions with model answers