CMPT130 Suggested Text Book Questions

Listed below are some suggested practice questions from Problem Solving with C++, 9th ed. by Walter Savitch. These questions should help you learn the material, and practice the material.

The self-test questions are reasonably straight-forward to answer, and have full answers at the end of each chapter. The practice-programs are somewhat harder, and programming-projects are often longer.

Chapter 1: Intro

Chapter 2: Variables, Expressions, some if/while

Chapter 3: bool, complex if, more looping

Chapter 4: Functions (part 1)

Content mainly covered after midterm

Chapter 5: Functions (part 2)

Chapter 6: Files

Chapter 7: Arrays

Chapter 8: String & Vectors

Chapter 9: Pointers & Dynamic Memory

Chapter 10.1: Structures