Week | Date | Lecture | Lab | Reading | Notes |
---|---|---|---|---|---|
1 | Aug-29 | Cancelled | Cancelled | - | - |
1 | Aug-31 |
Course introduction Computer organization (S)
|
|
Syllabus Zybooks: chpt. 1 Stroustrup: chpt. 1 (skim), 4.1-4.2, 6.1-6.2 |
Zybook chpt. 1 all participation activities required (due Sep. 05 at noon) |
2 | Sep-05 |
Data representation (S)
|
|
Zybooks: chpts. 2-3 Stroustrup: chpt. 2, A.1, A.17, 24.2 |
Zybook chpts. 2-3 all activities (participation and challenge) required (due Sep. 05 at noon) |
2 | Sep-07 |
Objects, types, and values (S)
|
|
Zybook: chpts. 4-5 Stroustrup: chpt. 3, A.2, A.4, B.9.1 |
Zybook chpts. 4-5 all activities (participation and challenge) required (due Sep. 07 at noon) |
3 | Sep-12 |
Expressions and statements (S)
|
|
Zybook: chpts. 6-8 Stroustrup: chpt. 4, A.5, A.6 (skim), B.9.2, B.9.6 |
Solution: Coin maker Zybook chpts. 6-8 all activities (participation and challenge) required (due Sep. 12 at noon) |
3 | Sep-14 |
Compound types, compound data (S)
|
|
Zybook: chpts. 9-11 Stroustrup: chpt. 5, A.8, A.11, A.14, B.2.1, B.8.2 |
Zybook chpts. 9-11 all activities (participation and challenge) required (due Sep. 14 at noon) |
4 | Sep-19 |
Debugging (S)
|
|
Zybook: chpts. 12-13 Stroustrup: chpt. 10 |
Solution: Decimal to base-b conversion Zybook chpts. 12-13 all activities (participation and challenge) required (due Sep. 19 at noon) |
4 | Sep-21 |
I/O streams (S)
|
|
Zybook: chpts. 14-15 Stroustrup: chpt. 11 |
Zybook chpts. 14-15 all activities (participation and challenge) required (due Sep. 21 at noon) |
5 | Sep-26 |
Announced quiz (week 2 material) Function basics (S)
|
|
Zybook: chpts. 16-17 Stroustrup: 8.1-8.4 |
Solution: Inserting a line-break after a specified number of characters in an std::string, without word-break Zybook chpts. 16-17 all activities (participation and challenge) required (due Sep. 26 at noon) |
5 | Sep-28 |
Announced quiz (week 2-3 material) Function argument passing (S)
|
|
Zybook: chpts. 18-19 Stroustrup: 8.5-8.7 (skip 8.5.8) |
Solution: Hadamard matrix Zybook chpts. 18-19 all activities (participation and challenge) required (due Sep. 28 at noon) |
6 | Oct-03 |
Announced quiz (week 2-4 material) Recursive functions (S)
|
|
Review previously assigned readings | Exam 1 material through today. |
6 | Oct-05 | Exam 1 | If you're having trouble understanding pass-by-value vs. pass-by-reference, go through my pass-by-value lab and my pass-by-reference labs prior to the exam; practice with compound data, check out vector stats lab; input validation, check this out. | Review videos: stair example, input validation example, functions and exceptions example | Code from review videos: Stairs.cpp, Stairs.InputValidation.cpp, functions and exceptions code1, functions and exceptions code2, functions and exceptions code3 |
7 | Oct-10 |
Dynamic memory (S)
|
|
Zybook: chpts. 20-21 Watch: default arguments, recursive maze solver - analysis, recursive maze solver - design, recursive maze solver - design2, recursive maze solver - design3, recursive maze solver - implementation1, recursive maze solver - implementation2 |
Zybook chpts. 20-21 all activities (participation and challenge) required (due Oct. 10 at noon), default-argument-prt1.cpp, default-argument-prt2.cpp, recursive maze solver skeleton code, recursive maze solver complete code resizableIntArrayPtr.cpp, resizableIntArrayRef.cpp |
7 | Oct-12 |
Abstract data types (S)
|
|
||
8 | Oct-17 | Mountain paths part 1 implementation |
|
get_int and get_word source code | |
8 | Oct-19 |
User-defined types, classes and structs (S)
|
|
Zybook: chpts. 22-23 Stroustrup: 9.1-9.5 |
Zybook chpts. 22-23 all activities (participation and challenge) required (due Oct. 19 at noon) |
9 | Oct-24 |
Finish-up user-defined types, classes and structs Dynamic memory and user-defined types (constructed through classes) (S)
|
|
Stroustrup: 9.6-9.8 Watch: Return by reference example, multiple constructor example |
Return by reference example - skeleton code, return by reference example - final code, multiple constructor example - skeleton code, multiple constructor example - final code |
9 | Oct-26 |
Operator overloading and user-defined types (constructed through classes) (S)
|
|
Zybook: chpts. 24-25 |
|
10 | Oct-31 |
Dynamic structures and linked lists (S)
|
|
||
10 | Nov-02 |
Finish-up dynamic structures and linked lists Singly linked list implementation (in part) |
|
Singly linked list skeleton code | |
11 | Nov-07 | Review |
|
||
11 | Nov-09 | Exam 2 | Labs canceled | ||
12 | Nov-14 | Inheritance (S) |
|
Zybook: chpts. 26-27 | Zybook chpts. 26-27 all activities (participation and challenge) required (due Nov. 14 at noon) |
12 | Nov-16 | Inclusion polymorphism (S) |
|
||
13 | Nov-21 |
Lecture will not meet; instead, watch the following example videos: Inheritance example pt1 Inheritance example pt2 Inclusion polymorphism example |
Lab will not meet. | Inheritance example pt1 code, inheritance example pt2 code Inclusion polymorphism example skeleton code, inclusion polymorphism example final code | |
13 | Nov-23 | No Lecture/Labs : Thanksgiving Break | |||
14 | Nov-28 | Parametric polymorphism (S) |
|
||
14 | Nov-30 | STL intro and model (S) |
|
Zybook: chpts. 28-29 | Zybook chpts. 28-29 all activities (participation and challenge) required (due Nov. 30 at noon) |
15 | Dec-05 | Review | Workday | ||
- | Dec-13 | Final Exam at 15:30-17:30 in ETB-2005 |