unit I : introduction; output | ||
thu aug 26 | lecture |
ch 1: a brief history of c++; c++ organization; how to learn c++ ch 2: the basics of program writing |
tue aug 31 | lecture |
ch 2: programs from conception to execution; creating a real program ch 4: basic declarations and expressions; basic program structure; simple expressions; the std::cout output object |
lab |
| |
thu sep 2 | lab |
|
unit II : simple data types | ||
tue sep 7 | lecture |
ch 4: variables and storage; variable declarations; integers; assignment statements; floating-point numbers; math operators; floating-point divide versus integer divide |
lab |
|
|
thu sep 9 | no classes (rosh hashanah) | |
tue sep 14 | no class (cuny friday) | |
thu sep 16 | lecture | ch 4: characters; boolean types |
lab |
|
|
unit III : more data types | ||
tue sep 21 | lecture | ch 5: arrays; random numbers; ch 8: for loops | lab |
|
thu sep 23 | lecture | ch 5: C++ style strings; constants; arrays of strings | lab |
|
unit IV : input; more on variables | ||
tue sep 28 | lecture |
ch 5: reading input; std:: class scope; C style strings; shortcut operators;
formatted output; multidimensional arrays
|
thu sep 30 | lecture | ch 5: hexadecimal and octal constants; base conversion |
lab |
|
|
tue oct 5 | lecture | ---->midterm review |
lab |
|
|
thu oct 7 | exam! | MIDTERM EXAM #1 on units I, II, III and IV |
unit V : control structures | ||
tue oct 12 | lecture |
ch 6: if statement; else statement; how not to use std::strcmp
|
lab |
|
|
thu oct 14 | lecture | ch 6: looping statements; while statement |
lab |
|
|
tue oct 19 | lecture | ch 8: switch statement; break and continue |
lab |
|
|
unit VI : functions | ||
thu oct 21 | lecture | ch 9: functions; reference parameters, value parameters and return values |
lab |
|
|
tue oct 26 | lab |
|
thu oct 28 | lecture |
ch 9: variable scope; passing multiple parameters to functions; passing strings to functions
|
lab |
|
|
tue nov 2 | lab |
|
thu nov 4 | lecture |
|
tue nov 9 | exam! | MIDTERM EXAM #2 on units I through VI |
unit VII : files | ||
thu nov 11 | lecture |
ch 16: C++ file I/O
|
lab |
|
|
unit VIII : basic algorithms | ||
tue nov 16 | lecture |
linear array operations: min, max, count; linear search
|
thu nov 18 | lab |
|
tue nov 23 | lecture | sorting algorithms |
thu nov 25 | no classes (thanksgiving) | |
tue nov 30 | lecture | run-time analysis of algorithms; searching algorithms
|
lab |
|
|
unit IX : simple classes | ||
thu dec 2 | lecture |
ch 13: simple classes
|
tue dec 7 | lecture |
ch 13: more on simple classes
|
lab |
|
|
thu dec 9 | lecture | ---->review for final exam |
thu dec 16 | exam! | DEPARTMENTAL FINAL EXAM (1pm-3pm) ROOM 2127 N (Ingersoll) |