Skip to content
PlayOwl

Coding · Grade 12

Architecture and Modular Interfaces

Learners give their capstone a sound structure: layered architecture with separation of concerns, modules judged by cohesion and coupling, interfaces expressed as abstract base classes, and dependency injection so storage and clocks can be swapped for fakes in tests. They record significant choices in architecture decision records and weigh flexibility against unnecessary complexity.

  • 4 lessons
  • About 100 minutes
  • Check what you learned: 8 questions
  • Ways to answer: choose an answer, put code in order, trace code, highlight a text, match pairs and sort into groups
Try it now (no account) One of the five free starter courses Open in PlayOwl

What learners will discover

  • Describe layered and client-server architectures and assign responsibilities to layers.
  • Evaluate and improve modular designs using cohesion and coupling.
  • Define interfaces and use dependency injection so components can be swapped and tested with fakes.
  • Record architecture decisions with context, alternatives and consequences, and judge proportionate design.

Lessons

  1. Architecture: the big structure 5 steps2 practiceabout 22 min
  2. Cohesion and coupling 4 steps2 practiceabout 20 min
  3. Interfaces and dependency injection 5 steps3 practiceabout 24 min
  4. Recording architecture decisions 4 steps3 practiceabout 18 min
  5. Check what you learned 8 questions at the end

Keep exploring

More 12th grade coding

Guide for grown-ups