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
03.10.07
ccc3e.zip
2. Chapter 1. Introduction II
Programming Languages Design and Evolution, Compiling a Simple Program, Errors, The Compilation Process, Algorithms
10.10.07
ccc3e.zip
hello.cpp
3. Chapter 2. Fundamental Data Types
Number Types, Input and Output, Assignment, Constants, Arithmetic, Strings, Output Formatting
17.10.07
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
24.10.07
ch3
5. Test_1 31.10.07

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
07.11.07
ch4
7. Chapter 5. Functions I
Functions as Black Boxes, Writing Functions, Function Comments, Return Values, Parameters, Side Effects, Procedures, Reference Parameters
14.11.07
futval.cpp
approx.cpp
printime.cpp
raisesal.cpp
8. Chapter 5. Functions II
Variable Scope and Global Variables, Stepwise Refinement, From Pseudocode to Code, Walkthroughs, Preconditions
21.11.07
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, Separate Compilation
28.11.07
ch6
10. Test_2 05.12.07

11. Chapter 7. Advanced Control Flow I
Multiple Alternatives, Nested Branches, Boolean Operations, DeMorgan's Law, The for Loop
12.12.07
ch7
12. Chapter 7. Advanced Control Flow II
The do Loop, Nested Loops, Processing Text Input, Simulations
19.12.07
ch7
13. Chapter 8. Testing and Debugging
Unit Tests, Selecting Test Cases, Test Case Evaluations, Assertions, Program Traces, The Debugger
09.01.08
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
16.01.08
ch9
15. Final test 23.01.08


Term Exam 29.01.08 8:00, 214 I