Object-Oriented Programming (C++)

Timetable

Week
No.
NETB151 Date Sources

NETB171
Date
1.
Chapter 9. Vectors and Arrays II
Parallel Vectors, Arrays, Array Parameters, Character Arrays, Two-Dimensional Arrays
28.02
bestval1.cpp
bestval2.cpp
salarray.cpp
append.cpp
matrix.cpp

VECTORS

2. Chapter 10. Pointers [pdf-file]
Pointers and Memory Allocation, Deallocating Dynamic Memory, Common Uses for Pointers, Arrays and Pointers, Pointers to Character Strings
7.03
department.cpp

 ARRAYS

3.

Chapter 11. Inheritance
Base and Derived Classes, Calling the Base-Class Constructor, Calling Base-Class Member Function,  Polymorphism

14.03
clocks1.cpp
clocks2.cpp
clocks3.cpp

Pointers and Memory Allocation

4. Chapter 12. Streams I
Reading and Writing Text Files, The Inheritance Hierarchy of Stream Classes, String Streams
21.03
readfile.cpp
readwritefiles.cpp
maxval1.cpp
maxval2.cpp
readtime.cpp

INHERITANCE

5.

Chapter 12. Streams II
String Streams,  Command Line Arguments, Random Access

28.03
caesar.cpp
database.cpp

Streams. Reading and Writing Text Files

6.
Test_1 04.04


Exam

7.

Chapter 13. Object-Oriented Design
The Software Life Cycle, CRC Cards, Cohesion, Coupling, Relationships between Classes, Implementing Associations, Example: Printing an Invoice, Example: An Educational Game

11.04
clock.cpp
invoice.cpp
invoice_design.cpp

Week07

8. Chapter 14. Recursion
Triangle Numbers, Permutations, Thinking Recursively, Recursive Helper Functions, Mutual Recursion, The Efficiency of Recursion
18.04
triangle.cpp
permute.cpp
palindrome.cpp
eval.cpp
fibtest.cpp
fibtrace.cpp
fibloop.cpp

Week08

9.

Chapter 15. Sorting and Searching
Selection Sort, Profiling the Selection Sort Algorithm, Analyzing the Performance of the Selection Sort Algorithm, Merge Sort, Analyzing the Merge Sort Algorithm, Searching, Binary Search, Searching and Sorting Real Data

25.04
selsort.cpp
mergsort.cpp
lsearch.cpp
bsearch.cpp
esearch.cpp

Week09
10. Chapter 16. An Introduction to Data Structures
Linked Lists, Implementing Linked Lists, Stacks and Queue, Other Standard Containers, Standard Algorithms
02.05
list1.cpp
list2.cpp
fifolifo.cpp

Week10
11.
Test_2
09.05


Exam

12.

Chapter 17. Advanced C++ Topics I
Operator Overloading, Automatic Memory Management

16.05
overload.cpp
overload1.cpp
department.cpp

Week12
13. Chapter 17. Advanced C++ Topics II
Templates, Nested Classes
23.05
pairs.cpp
list.cpp

Week13
14.
Chapter 17. Advanced C++ Topics III
Exception Handling

30.05
exception1.cpp
exception2.cpp
product1.cpp
product2.cpp
strous.cpp

Week14
15. Final test 6.06


Final exam

Term exam



Term exam