Week 3: Classes, Operator Overloading, etc.

SLOs for Week 3

Students will be able to:

  • define a class and implement it in .h and .cpp files, respectively.
  • reason about the access modifiers public and private.
  • define and implement constructors and destructors, and general methods.
  • instantiate objects statically
  • implement Test-driven development for a class.

Slides, videos, and application exercises

Week 3: Slides

No readings for Week 3.

Lab 3: Classes

Fitting and interpreting simple linear regression models

Project 3: Classes

Model validation and inference

Exam 1

Exam on Friday during class. Bring your laptop. Content: Weeks 0 - 2.