CS 31 - Intro to Programming

Fall 2014 - Course Website Here

Disclaimer: these notes are provided as-is and are no longer maintained!

Lecture Notes
Week Lecture Subject Lecture Notes
1 Basics
Introduction, Basic Architecture, Intro to C++, Variables, Types, Errors, and Style
Notes
2 Strings, Streams, and other Things
Operators, Precedence, Strings, Streams, Conditionals, Iteration
Notes
Classwork
3 Expanding on Strings, Logic, and Iteration
Constants, Booleans, Condensing Conditionals, Types of Iteration, Characters, and More Strings
Notes
Classwork
4 Putting the Fun in Functions
Functions, Scope, Some String Stuff... mostly Functions
Notes
Classwork
5 Running Array with It
Array Declaration, Initialization, and Use with Functions
Notes
Classwork
6 cstrings and Seeing Strings Behind the Scenes
cstrings, cstring library, and multi-dimensional arrays
Notes
Classwork
7 Getting Some Pointers
Pointer declaration, instantiation, assignment, use with arrays, and behavior with functions
Notes
8 Thanksgiving Break!
No lecture so sad
9 In-struct-ional Lecture
Weeks 1 - 8 re-done with structs!
Clicky
10 Dynamic Memory & Some Struct Stuff
A little review thrown in for good measure as well
Clicky

Resources & Practice
Date Posted Resource Link
10 / 26 / 14 Midterm I Exercises
Semi-comprehensive practice problems for the upcoming midterm I!
Clicky
11 / 20 / 14 Midterm II Exercises
A far better assortment of problems than my midterm I practice -- as if it could get any better!
Clicky
12 / 8 / 14 Final Exam Exercises
A tour-de-course (one of my better puns) of material for the final exam! Everything from the course involved!
Clicky
12 / 12 / 14 Extra Exercises
A couple extra problems for my mini-review the day of the exam...
Clicky
10 / 7 / 14 Free C++ Textbook: The Rook's Guide
A free textbook all about intro to C++ if you didn't want to purchase the course-suggested one.
Clicky

Welcome 10 / 7 / 14

The course page is now active! I will upload weekly lecture notes below the page jumbotron, and update the page regularly with news, information, and exercises.