capstone
Final comprehensive exam
The hardest, multi-concept questions drawn from the whole course. Pass ≥ 80%. It unlocks once you've passed every section assessment — the boss fight.
🔒 Locked — pass each section assessment first
- ○ 01 · Core CS / DSA assessment →
- ○ 02 · Backend Engineering assessment →
- ○ 03 · Databases assessment →
- ○ 04 · Node.js Internals assessment →
- ○ 05 · Frontend assessment →
- ○ 06 · Senior Cross-Cutting assessment →
- ○ 07 · Building in the AI Age assessment →
- 01hard
DP applies when a problem has overlapping subproblems AND…
- 02hard
Which pagination style is most stable when rows are being inserted between page requests?
- 03hard
A mutex differs from a counting semaphore in that:
- 04hard
During a network partition, a strongly-consistent (CP) store will:
- 05hard
Write-back (write-behind) caching's main risk is:
- 06hard
table_a has 3 rows; for a given a, b has 0, 1, 2 matches respectively. How many rows does `a LEFT JOIN b` produce?
- 07hard
Which lets you rank rows WITHOUT collapsing them into groups?
- 08hard
Given a composite index on (country, city, age), which queries can use it efficiently (leftmost-prefix rule)?
- 09hard
An ORM lazily loads each parent's children, firing 1 + N queries. This is the:
- 10hard
T1 reads a row; T2 updates+commits it; T1 re-reads and sees a different value. This anomaly is a:
- 11hard
Which isolation level prevents dirty reads but still allows non-repeatable reads?
- 12hard
Sharding primarily scales ___, while replication primarily scales ___.
- 13hard
INSIDE an fs.readFile callback, which fires first?
- 14hard
What is logged?
async function f(){ throw new Error('boom'); } try { f(); } catch (e) { console.log('caught'); } console.log('after'); - 15hard
CPU-heavy image processing that must not block the HTTP server, sharing memory with the main process, calls for:
- 16hard
Consistent hashing is primarily used to:
- 17hard
A Kubernetes Secret encrypts its data by default.
- 18hard
Hashing vs encryption:
- 19medium
An O(n²) algorithm takes 1s on 1,000 items. Roughly how long on 10,000 items?
- 20medium
BFS over a graph naturally uses which structure to track the frontier?
- 21medium
You need to keep keys in sorted order AND do range queries. A hash map is wrong because…
- 22medium
Exceeding a hash table's load factor triggers a resize/rehash.
- 23medium
Why do relational database indexes use B-trees / B+ trees?
- 24medium
You need the top-K largest items from a stream. Best structure?