Meetings 1–2: Introduction, motivation, tools, identifiers, main
, and printf
. Hello, world! Integer and floating-point data types, arithmetic operations. Read §2.1–2.5.
Meeting 3: Variable declaration and initialization, practice with all of the above, interpreting error messages, and assignment. Read §2.6–2.7, 3.1.
Assignment 1 due at 6pm.
Meeting 4: More on assignment, Input/output, and constants. Read §3.3–3.5, 3.7. Quiz 1.
Meeting 5: Boolean expressions, logical operators, if
, and else
. Read §4.1–4.2. Assignment 2 due at 6pm.
Assignment 3 due at 6pm.
Meeting 6: Nested conditional statements, the if/else
chain and switch
. Read §4.3–4.4.
Meeting 7: Practice with conditionals. Read §4.5. Quiz 2.
Assignment 4 due at 6pm.
Meeting 8: More practice with compiler errors, testing and debugging. Read §4.6, 4.8.
Meeting 9: Basic loop structures: counter-controlled, condition-controlled, and the while
syntax. Read §5.1–5.2.
Assignment 5 due at 6pm.
Meeting 10: Computations using a while
loop. A look at break
and continue
. Read §5.3. Quiz 3.
Assignment 6 due at 6pm.
Meeting 11: The for
statement. Read §5.4.
Meeting 12: Practice with loop programming. Read §5.5. Quiz 4.
Assignment 7 due at 6pm.
Meeting 13: More practice and nested loops. Read §5.6.
Meeting 14: Even more loops: do/while
Read §5.7–5.8.
Meeting 15: Midterm exam.
Meeting 16: Function and parameter declarations. Read §6.1.
Assignment 8 due at 6pm.
Meeting 17: Practice with functions and return values. Read §6.2–6.3.
Meeting 18: Practice with standard library functions. Read §6.4–6.5. Quiz 5.
Assignment 9 due at 6pm.
Meeting 19: Variable scope and storage class. Read §7.1–7.2.
Meeting 20: Pass by reference (the C++ way). Quiz 6.
Meeting 21: Recursion. Read §7.5–7.6.
Assignment 10 due at 6pm.
Meeting 22: Array concept and initialization. Read §8.1–8.2.
Meeting 23: Practice with arrays as function arguments. Read §8.3–8.4. Quiz 7.
Meeting 24: Two-dimensional arrays and more practice. Read §8.5–8.6.
Assignment 11 due at 6pm.
Meeting 25: Searching and sorting algorithms. Read §8.8.
Meeting 26: Strings are arrays too. Read §9.1. Quiz 8.
Meeting 27: Practice with string library. Read §9.2–9.3.
Assignment 12 due at 6pm.
Meeting 28: More practice with strings and arrays. Read §9.4–9.6.
Final exam: 1:20–3:20pm in the usual lab.
©2011 Christopher League · some rights reserved · CC by-sa