Skip to main content

Week 4 syllabus map

  • L4.1: Warmup with Lists
  • L4.2: Lists and Sets
  • L4.3: Tuples
  • L4.4: More on Lists
  • L4.5: More on Sets
  • L4.6: More on Tuples
  • L4.7: List Comprehensions
  • L4.8: Introduction to Functions
  • L4.9: More Examples of Functions
  • L4.10: Types of Function Arguments
  • L4.11: Types of Functions

Week 4 lecture pages

  1. L4.1: Warmup with Lists
  2. L4.2: Lists and Sets
  3. L4.3: Tuples
  4. L4.4: More on Lists
  5. L4.5: More on Sets
  6. L4.6: More on Tuples
  7. L4.7: List Comprehensions
  8. L4.8: Introduction to Functions
  9. L4.9: More Examples of Functions
  10. L4.10: Types of Function Arguments
  11. L4.11: Types of Functions

30-minute pacing suggestion per lecture

  • 0-8 min: concept and syntax
  • 8-18 min: examples and dry runs
  • 18-25 min: common errors and MCQ traps
  • 25-30 min: quick practice with answer check

Week 4 exam traps (must master)

  • list methods modify list in place but often return None
  • sets are unordered and remove duplicates automatically
  • tuples are immutable even if list syntax habits suggest otherwise
  • list comprehensions build new lists; they do not modify old list unless assigned
  • function arguments follow position and naming rules
  • mutable objects passed to functions can change outside function too

Final revision checklist

  • can access, update, and slice lists
  • can explain difference between list, set, and tuple
  • can predict output of collection method calls
  • can write list comprehensions from loop logic
  • can define and call functions with different argument styles