Comp 106 Computing in Engineering and Science

Larry Caretto   Spring 2006

Lecture Presentations

January 31 -- Course introduction

February 2 -- C++ programming basics

February 7 -- Data types

February 9 -- Operators and expressions

February 14 -- Formatting output

February 16 -- File input and output

February 21 -- Basic structures and choice implementation

February 23 -- If statements with multiple conditions

February 28 -- Choice structures with bool variables

March 2 -- Switch statement and choice programming

March 7 -- Introduction to looping

March 9 -- Count-controlled loops and increment operators

March 14 -- Writing looping code

March 16 -- End-of-file tests and loops

March 21 -- Introduction to user-defined functions

March 23 -- Passing variables by value and reference

March 28 -- More on passing variables by reference

March 30 -- Scope and global variables

April 4 -- Review for second quiz

April 18 -- Introduction to arrays

April 20 -- Basics of programming with arrays

April 25 -- Array programming exercises

April 27 -- Passing whole arrays to functions

May 2 -- Array function exercises

May 4 -- Introduction to two-dimensional arrays

May 9 -- Two-dimensional array programming

May 11 -- Introduction to classes

May 16 -- Implementation of classes

May 18 -- Review for final