Introduction to Programming (C++)

Timetable

Week
No.
NETB101 Date NETB111
1. Chapter 1. Introduction
The Anatomy of a Computer, Translating Human-Readable Programs to Machine Code
5.10 week01.htm
week01.doc
2. Chapter 1. Introduction (continue)
Programming Languages Design and Evolution, Compiling a Simple Program, Errors, The Compilation Process, Algorithms
12.10 week02.htm
week02.doc
3. Chapter 2. Fundamental Data Types
Number Types, Input and Output, Assignment, Constants, Arithmetic, Strings, Output Formatting
19.10 week03.htm
week03.doc
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
26.10 week04.htm
week04.doc
5. Test 1 2.11 week05.htm
week05.doc
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
9.11 Exam of practice 1; Results
7. Chapter 5. Functions
Functions as Black Boxes, Writing Functions, Function Comments, Return Values, Parameters, Side Effects, Procedures
16.11 week07.htm
week07.doc
8. Chapter 5. Functions (continue)
Reference Parameters, Variable Scope and Global Variables, Stepwise Refinement, From Pseudocode to Code, Walkthroughs, Preconditions
23.11 week08.htm
week08.doc
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
30.11 week09.htm
week09.doc
10. Test 2 7.12 week10.htm
week10.doc
11. Chapter 7. Advanced Control Flow
Multiple Alternatives, Nested Branches, Boolean Operations, DeMorgan's Law, The for Loop, The do Loop, Nested Loops, Processing Text Input, Simulations
14.12
21.12
Exam of practice 2; Solutions; Results
12. Chapter 8. Testing and Debugging
Unit Tests, Selecting Test Cases, Test Case Evaluations, Assertions, Program Traces, The Debugger, Strategies, Debugger Limitations
21.12 week12.htm
week12.doc
13. Chapter 9. Vectors and Arrays
Using Vectors to Collect Data Items, Vector Subscripts, Vector Parameters and Return Values, Removing and Inserting Elements, Parallel Vectors, Arrays, Array Parameters, Character Arrays, Two-Dimensional Arrays
4.01
11.01
week13.htm
week13.doc
14. Chapter 10. Pointers [pdf-file]
Pointers and Memory Allocation, Deallocating Dynamic Memory, Common Uses for Pointers, Arrays and Pointers, Pointers to Character Strings
11.01 week14.htm
week14.doc
15. Final test 18.01 Final exam of practice