Quiz 2
Registry Synced

Programming in Python — Quiz 2 weeks 1–8 prep

625 words
3 min read
2026-08-16

Reading compass

Now · Week 1 — introduction to algorithms {#week-1}

Programming in Python · Quiz 2 weeks 1–8

Part of the Quiz 2 prep system. Interactive patterns: Pattern atlas.

Week 1 — introduction to algorithms {#week-1}

Focus: types, expressions, tracing state
Algorithm idea → types → expressions → trace variable updates

Pattern snapshot

LevelPattern
EasyPredict final value
MediumType of expression
HardTrace with dependencies

Week 2 — conditionals {#week-2}

Focus: if/elif/else, predicates, truthiness
Predicate → branch choice → elif chain → else default

Pattern snapshot

LevelPattern
EasyWhich branch runs?
MediumBoundary comparisons
HardTruthiness trap

Week 3 — conditionals continued {#week-3}

Focus: nested branches, and/or, decision tables
Compound predicates → nested if → decision table → de Morgan

Pattern snapshot

LevelPattern
EasyCompound predicate
MediumNested branch trace
HardDecision table to code

Week 4 — iterations & ranges {#week-4}

Focus: for, while, range(), accumulation
Loop choice → range endpoints → accumulator → termination

Pattern snapshot

LevelPattern
EasyCount iterations
MediumAccumulator trace
Hardwhile with guard

Week 5 — iterations continued {#week-5}

Focus: nested loops, search, min/max patterns
Outer loop → inner loop → search flag → running min/max

Pattern snapshot

LevelPattern
EasyNested count
MediumFind in sequence
HardMin with updates

Week 6 — basic collections {#week-6}

Focus: lists, tuples, mutability, slicing
Sequence types → indexing → slice → mutate list not tuple

Pattern snapshot

LevelPattern
EasyIndex and slice
MediumMutate vs share
HardList algorithms trace

Week 7 — collections continued {#week-7}

Focus: dictionaries, frequency counting, grouping
Key-value map → lookup → count frequencies → iterate keys/values

Pattern snapshot

LevelPattern
EasyBuild small dict
MediumFrequency table
HardGroup or invert

Week 8 — collections & integration {#week-8}

Focus: nested collections, mixed iteration patterns
Nested structures → layered loops → aggregate → choose right collection

Pattern snapshot

LevelPattern
EasyAccess nested element
MediumDouble loop aggregate
HardIntegrate prior patterns

Original retrieval lab

Pick any week you have not opened this week. Close the note, write its map line from memory, then reopen and fix one word.

Four retrieval checks

  1. Name one easy pattern family for week 1 and week 8.
  2. State one trap that appears in both weeks 3 and 6 for this course.
  3. Link one abstract pattern from the cross-course map to this course.
  4. Open the exam-eve sprint and complete the block for this course.
Document outline

Keep your place and jump directly to a heading.

Table of Contents
System Normal // Awaiting Context

Intelligence Hub

Navigate the knowledge graph to generate context. The Hub adapts dynamically to surface backlinks, related notes, and metadata insights.