Skip to main content
@shmVirus

Structured Programming

Variables, control flow, functions, and I/O using a procedural language — building readable, maintainable programs from the ground up.


The ability to write a program that is easy to read six months later is not accidental. This course covers the fundamental constructs of structured programming — variables, types, conditionals, loops, and functions — with an emphasis on clarity and correctness.

Outcomes

  • Write programs using variables, conditionals, loops, and functions
  • Trace execution by hand to verify correctness before running the program
  • Debug logic and type errors using a systematic process
  • Evaluate and improve the readability of your own and others' code

Outline

Start →
  1. 01
    Variables and Data TypesDeclaring and initialising variables, choosing between numeric, boolean, and string types.
  2. 02
    Control FlowConditionals and loops: making decisions and repeating actions systematically.
  3. 03
    Functions and ScopeDecomposing programs into named, reusable procedures with clear inputs and outputs.
  4. 04
    Arrays and StringsStoring and processing sequences of values using indexed collections and text operations.