|WEEK#||DAILY LECTURE NOTES -- DESCRIPTION|
|Seven7||The switch statement. The increment and decrement operators. The arithmetic compound assignment operators. Begin learning about functions. Assignment(s): #characters Code: Switch.cpp | IncrementDecrementOps.cpp | CompoundAssignmentOps.cpp letters.cpp | funcs1.cpp | sqrtpow.cpp | fi2i.cpp | scope.cpp | i2fi.cpp | refparams.cpp|
|Six6||Continue with repetition control statements (the do while, for, break, continue and goto statements). Assignment(s): [program] #squares Code: pi.cpp | DoAdder.cpp | f10do.cpp | ForAdder.cpp | f10for.cpp | narcissistic.cpp | narcissistic2.cpp | Elevator.cpp | GoToElevator.cpp|
|Five5||Number systems. Continue learing about the if statement and else clause, and the relational and logical operators. Continue learning about repetition control statements while and do-while. Quick introduction to the increment and decrement operators. Assignment(s): [assessment] #BlytheCA and [program] #loops and Code: logicalops.cpp | ifcode.cpp | andor.cpp | NewAge.cpp | Adder.cpp | f10while.cpp | f10while2.cpp | DoAdder.cpp|
|Four4||Continue learning about relational operators; the if statement; and, the else clause. Introduction to logical operators. Assignment(s): [program] #sort3numbers and [program] #sort2numbers Code: Expressions0.cpp | Expressions1.cpp | if.cpp | if2.cpp | [written during class] calc.cpp|
Introduction to precedence and associativity.
The if statement and else clause.
C++ compilation process.
Quickie on escape sequences.
About the cout object.
About the cin object.
Primitive data types.
|One1||Review the syllabus. Introduce the website. What is a computer? What are bits, bytes and words? Introduction to programming languages. Introduction to the software development cycle. The "hello world" program. Handout(s): CSC100Syllabus and AboutCSC100 and HowToSubmitAssignments and DevC++IDE Code: HelloWorld.cpp | HelloWorld.c | BadHelloWorld.cpp | template.txt | PrimitiveTypes.cpp Assignment(s): read the handouts and #email and #assessment0|