Computer Programming (C++)

Timetable

Lesson
No.
NETB101
Thursday
Topics
NETB101
Thursday
Dates
NETB101
Thursday
Sources

NETB125

Topics
NETB125

Dates
1. Chapter 1. Introduction I
The Anatomy of a Computer, Translating Human-Readable Programs to Machine Code
3.10.2013
ccc3e.zip
Ubuntu

2. Chapter 1. Introduction II
Programming Languages Design and Evolution, Compiling a Simple Program, Errors, The Compilation Process, Algorithms
10.10.2013
ccc3e.zip
hello.cpp

Introduction
Compiling a Simple Program (Ubuntu && MS Windows), Errors, The Compilation Process, Input and Output

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

Fundamental Data Types
Number Types, Assignment, Arithmetic, Strings, Output Formatting

4. Chapter 3. Objects [pdf-file]
Constructing Objects, Using Objects, Real-Life Objects
24.10.2013
ch3.zip

Using Objects
Constructing Objects, Using Objects, Real-Life Objects

5. Test_1 31.10.2013


Exam of practice 1

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
7.11.2013
ch4.zip

Basic Control Flow
The if Statement, The if/else Statement, Relational Operators, Input Validation, Simple Loops, Processing a Sequence of Inputs, Using Boolean Variables

7. Chapter 5. Functions I
Functions as Black Boxes, Writing Functions, Function Comments, Return Values, Parameters, Side Effects, Procedures, Reference Parameters
14.11.2013
futval.cpp
approx.cpp
printime.cpp
raisesal.cpp

Functions I
Writing Functions, Function Comments, Return Values, Parameters, Procedures, Reference Parameters

8. Chapter 5. Functions II
Variable Scope and Global Variables, Stepwise Refinement, From Pseudocode to Code
21.11.2013
global.cpp
intname.cpp

Functions II
Variable Scope and Global Variables, Stepwise Refinement, From Pseudocode to Code

9. Chapter 6. Classes
Discovering Classes, Interface, Encapsulation, Member Functions, Default Constructors, Constructors with Parameters, Accessing Data Fields, Comparing Member Functions with Nonmember Functions
28.11.2013
ch6.zip

Exam of practice 2
10.
Test_2
5.12.2013 --

Classes
Discovering Classes, Interface, Encapsulation, Member Functions, Default Constructors, Constructors with Parameters, Accessing Data Fields, Comparing Member Functions with Nonmember Function

11. Chapter 7. Advanced Control Flow I
Multiple Alternatives, Nested Branches, Boolean Operations, DeMorgan's Law
12.12.2013 ch7.zip
Advanced Control Flow
Multiple Alternatives, Nested Branches, Boolean Operations, DeMorgan's Law

12. Chapter 7. Advanced Control Flow II
The for Loop, The do Loop, Nested Loops, Processing Text Input, Simulations
19.12.2013


Advanced Control Flow
The for Loop, The do Loop, Nested Loops, Simulations

13. Chapter 8. Testing and Debugging
Unit Tests, Selecting Test Cases, Test Case Evaluations, Assertions, Program Traces, The Debugger
2.01.2014
ch8.zip
Debugging
gdb-quick-ref

Debugging
Assertions, Program Traces, The Debugger

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
9.01.2014
ch9.zip
Vectors
Using Vectors to Collect Data Items, Vector Subscripts, Vector Parameters and Return Values, Removing and Inserting Elements

15. Final test
16.01.2014
--

Final exam or practice

Term Exam