Click on a day to see full information for that day, including topic
list, suggested readings, questions, and other information. This page
will be updated throughout the term.
1 |
26 Aug
Variables,
Input,
How to read a textbook
|
27 Aug
Account setup,
Hello world!
Lab 0
|
28 Aug
Types,
Input/output,
Errors
|
30 Aug
Comparisons,
if/else
|
2 |
[no class]
|
3 Sep
Lab 1
|
4 Sep
if alone,
Flowcharts,
Comparison errors
|
6 Sep
else if
|
3 |
9 Sep
Nested if,
Flowcharts cont'd,
Blocks
Lab 1 due
|
10 Sep
Test cases,
Conditional execution
Lab 2
|
11 Sep
Named values
Expr worksheet in class
bring laptops
|
13 Sep
Arithmetic expressions,
Order of operations
|
4 |
16 Sep
Algorithm design,
Do it by hand,
Math functions
Lab 2 due
|
17 Sep
Lab 3
|
18 Sep
Vectors,
Vectors and loops
|
20 Sep
Characters,
String methods
|
5 |
23 Sep
Assignment,
Increment,
Accumulation
Lab 3 due
|
24 Sep
Strings and vectors
Lab 4
|
25 Sep
Sum/average,
Counting things,
Tracing,
Debugging
Tracing worksheet out
|
[no class]
|
6 |
30 Sep
Min/max,
const, constexpr,
.push_back,
Input
Lab 4 due
Tracing worksheet due
|
1 Oct
Standard loops,
Reading and modifying code
Lab 5
|
2 Oct
while, general loops,
Loop-and-a-half, break
|
[no class]
|
7 |
7 Oct
do,
More loop practice
Lab 5 due
|
8 Oct
Loop practice
Lab 6
Exam 1 take-home out
|
9 Oct
Exam 1
|
[no class]
|
8 |
14 Oct
Functions and parameters
|
15 Oct
Testing,
Stubs
Lab 7
|
16 Oct
Return values,
Find first match,
Early return,
Parameters
|
18 Oct
Random numbers,
Void functions,
Recursion
|
9 |
21 Oct
Conditionals revisited,
Boolean variables,
Boolean functions
Lab 7 due
|
22 Oct
Writing functions
Lab 8
|
23 Oct
Boolean operations,
Truth tables
|
25 Oct
Complex booleans,
DeMorgan's Law
|
10 |
28 Oct
Test case coverage
Lab 8 due
|
29 Oct
Boolean logic
Lab 9
|
30 Oct
Bundling data,
struct
|
1 Nov
Struct parameters,
Struct return values
|
11 |
4 Nov
Vectors of structs
Lab 9 due
|
5 Nov
Lab 10
|
6 Nov
Functions on vectors,
Mapping data,
Producing vectors of structs
|
8 Nov
Filtering data
|
12 |
11 Nov
Reference parameters,
Adding and removing data
Lab 10 due
|
12 Nov
Lab 11
|
13 Nov
C-style indexed for
|
15 Nov
Nested loops,
Sorting
|
13 |
18 Nov
Vectors of vectors
Lab 11 due
|
19 Nov
Lab 12
|
[no class]
|
22 Nov
newline and tab,
Formatted output,
Line input
|
14 |
25 Nov
Streams,
C strings,
.c_str(),
printf
Lab 12 due
|
26 Nov
Lab 12 part 2 (no preview)
|
[no class]
|
[no class]
|
15 |
2 Dec
Arrays,
Pointers,
Arrays as pointers,
2D arrays
Lab 12 part 2 due
|
3 Dec
Lab 13
|
4 Dec
Modeling and simulation
|
6 Dec
Modeling and simulation
Exam 2 take-home out
|
16 |
9 Dec
|
10 Dec
|
11 Dec
Exam 2
|
13 Dec
|