Week 01: Control Structures, Functions, Parameter Passing modes

SLOs for Week 01

At the end of this unit, students will be able to…

  • write if, if-else, if-else-if, and switch statements correctly.
  • create correct while loops and for loops, including using break and continue statements.
  • define and call functions correctly.
  • use function overloading, define default arguments, and define const parameters.
  • pass arrays as parameters.
  • articulate the differences between in, out, and in/out parameters.
  • correctly choose between pass-by-value, pass-by-reference, and pass-by-const-ref parameters.

Slides, videos, and application exercises

Week 01: Slides

Lab 01: Control Structures

Project 01: More Control Structures