Week 8 - Arrays

Learning objectives

Upon finishing this learning module, you should be able to:

  • Write programs using arrays to store collections of related information
Quiz 3 is open this Thurs-Saturday. Covers weeks 5, 6, and 7.

Day 1

Day 2

Day 3

  • Start Multidimensional arrays from week 9 - get through 8.4
  • Start CPP Lab Multidimensional arrays
  • Check out assignment

Day 4

  • Review for and take quiz 3
  • Do assignment

Activity Outline

Arrays Intro

Read Ch 7.1-7.2. These videos covers some of the important (and sometimes unmentioned) details.

Watch the video below and then read Ch 7.4 for various examples of using arrays.

Arrays and Functions

Read 7.5-7.8. This video shows some important details of how arrays work with functions and how to use QtCreator to debug arrays in functions:

Do the CPP Lab Array Functions.

Start the assignment - you can work on it in parallel with this next part.

Extra Info

Optional extra

Watch this video about how matrices (2D arrays) are used to handle transformations in computer graphics.