CSCI 161 - Computer Science II
Spring 2025 Lectures


Course web site: http://csci.viu.ca/~kabirh/courses/csci161/

Lectures

  1. Sorting (Algorithms) slides
  2. Searching (Algorithms) slides
  3. Linked List (Data Structure) slides,   singlelinkedlist.cpp,   doublelinkedlist.cpp,   circularlinkedlist.cpp
  4. Binary Search Tree (Data Structure) slides,   binarysearchtree.cpp
  5. C++ Function Overloading and Template Function slides,   Example Code,   Tutorial1 Tutorial2
  6. Object and Class Basics Basic Concepts,   C++ Concepts
  7. Special Member Functions: Copy Constructor, Copy Assignment, Move Constructor, and Move Assignment slides,   Example Code,   Example Code,   Example Code,   Example Code
  8. Operator Overloading slides,   Using Member Function,   Using Friend Function,   Using both Member and Friend Functions ,   Tutorial
  9. Template Class Example Code
  10. Inheritance Basics slides ,   Example code,   Tutorial
  11. Inheritance Use Cases
  12. Inheritance and Runtime Polymorphism (virtual functions, pure virtual functions, abstract class) slides
  13. Final Function and Final Class (To block extension in Inheritance Hierarchy) Example Code
  14. Abstract Data Type (ADT) slides
  15. Exception Handling No Error Handling,   Error Handling,   Exception Handling,   Exception Handling with Costomized Exception,   Tutorial,   Exception Standard Library
  16. C++ Namespaces slides
  17. Multiple Inheritance and Diamond Problem (virtual base class)   Class Diagram

Resources