Introduction to Programming (C++)

Timetable

Week
No.
NETB101
Topics
NETB101
Date
Sources

NETB121
Topics
NETB121
Date
1. Chapter 1. Introduction I
The Anatomy of a Computer, Translating Human-Readable Programs to Machine Code
04.10
ccc3e.zip
INTRODUCTION TO LINUX 3.10
4.10
2. Chapter 1. Introduction II
Programming Languages Design and Evolution, Compiling a Simple Program, Errors, The Compilation Process, Algorithms
11.10
ccc3e.zip
hello.cpp

NEXT STEPS IN MAKING C++ PROGRAMS 10.10
11.10

3. Chapter 2. Fundamental Data Types
Number Types, Input and Output, Assignment, Constants, Arithmetic, Strings, Output Formatting
18.10
ch2

FUNDAMENTAL DATA TYPES
17.10
18.10
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
25.10
ch3

BECOME FAMILIAR WITH OBJECTS
24.10
25.10
5. Test_1 08.11


GRAPHICS OBJECTS
31.10
08.11
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
15.11
ch4

Exam of Practice_1
07.11
15.11
7. Chapter 5. Functions I
Functions as Black Boxes, Writing Functions, Function Comments, Return Values, Parameters, Side Effects, Procedures, Reference Parameters
22.11
futval.cpp
approx.cpp
printime.cpp
raisesal.cpp

BASIC CONTROL FLOW
14.11
22.11
8. Chapter 5. Functions II
Variable Scope and Global Variables, Stepwise Refinement, From Pseudocode to Code, Walkthroughs, Preconditions
29.11
global.cpp
intname.cpp

FUNCTIONS
21.11
29.11
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
06.12
ch6

FUNCTIONS (continue) 28.11
06.12
10. Test_2 13.12


CLASSES
05.12
13.12
11. Chapter 7. Advanced Control Flow I
Multiple Alternatives, Nested Branches, Boolean Operations, DeMorgan's Law, The for Loop
20.12
ch7

Exam of Practice_2
12.12
20.12
12. Chapter 7. Advanced Control Flow II
The do Loop, Nested Loops, Processing Text Input, Simulations
03.01
ch7
ADVANCED CONTROL FLOW
19.12
03.01
13. Chapter 8. Testing and Debugging
Unit Tests, Selecting Test Cases, Test Case Evaluations, Assertions, Program Traces, The Debugger
10.01
ch8
Debugging
gdb-quick-ref

ADVANCED CONTROL FLOW 09.01
10.01
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
17.01
ch9
TESTING AND DEBUGING
16.01
17.01
15. Final test 24.01


Final Exam of Practice 23.01
24.01

Term Exam