Introduction to Programming (C++)

Timetable

Week
No.
NETB101
Topics
NETB101
Date
Sources
1. Chapter 1. Introduction I
The Anatomy of a Computer, Translating Human-Readable Programs to Machine Code
02.10.08
ccc3e.zip
2. Chapter 1. Introduction II
Programming Languages Design and Evolution, Compiling a Simple Program, Errors, The Compilation Process, Algorithms
09.10.08
ccc3e.zip
hello.cpp
3. Chapter 2. Fundamental Data Types
Number Types, Input and Output, Assignment, Constants, Arithmetic, Strings, Output Formatting
16.10.08
ch2
4. Chapter 3. Objects [pdf-file]
Constructing Objects, Using Objects, Real-Life Objects, Displaying Graphical Shapes, Graphics Structures, Choosing a Coordinate System, Getting Input from the Graphics Window
23.10.08
ch3
5. Test_1 30.10.08

6. Chapter 4. Basic Control Flow
The if Statement, The if/else Statement, Relational Operators, Input Validation, Simple Loops, Processing a Sequence of Inputs, Using Boolean Variables
06.11.08
ch4
7. Chapter 5. Functions I
Functions as Black Boxes, Writing Functions, Function Comments, Return Values, Parameters, Side Effects, Procedures, Reference Parameters
13.11.08
futval.cpp
approx.cpp
printime.cpp
raisesal.cpp
8. Chapter 5. Functions II
Variable Scope and Global Variables, Stepwise Refinement, From Pseudocode to Code
20.11.08
global.cpp
intname.cpp
9. Chapter 6. Classes
Discovering Classes, Interface, Encapsulation, Member Functions, Default Constructors, Constructors with Parameters, Accessing Data Fields, Comparing Member Functions with Nonmember Functions
27.11.08
04.12.08
ch6
10. Test_2 04.12.08
11.12.08

11. Chapter 7. Advanced Control Flow I
Multiple Alternatives, Nested Branches, Boolean Operations, DeMorgan's Law, The for Loop
11.12.08
12.12.08
ch7
12. Chapter 7. Advanced Control Flow II
The do Loop, Nested Loops, Processing Text Input, Simulations
18.12.08
ch7
13. Chapter 8. Testing and Debugging
Unit Tests, Selecting Test Cases, Test Case Evaluations, Assertions, Program Traces, The Debugger
08.01.09
ch8
Debugging
gdb-quick-ref
14. Chapter 9. Vectors and Arrays
Using Vectors to Collect Data Items, Vector Subscripts, Vector Parameters and Return Values, Removing and Inserting Elements, Parallel Vectors
15.01.09
ch9
15. Final test 22.01.09


Term Exam 09.02.09