Study
All courses
CSC-202 Computer Science · 200 levelInformation Technology · 200 level

Programming Fundamentals and OOP

From problem-solving steps and Python code to objects, inheritance and interfaces

9 units · 27 lessons · about 6 hours of reading

Start the course First: What Is Programming

The route

Lessons are in the order that makes each one easier than the last. Each unit ends with a short quiz.

  1. 0/3
    Unit 1

    Programming Foundations

    What programming is, why it matters for problem-solving, and the four-stage problem-solving process.
    1. What Is ProgrammingFree Turn requirements into instructions a computer can run. 13 min
    2. Why Programming Matters Seven ways code sharpens problem-solving. 12 min
    3. The Problem-Solving Process Identify, analyse, design, implement — then celebrate. 20 min
    4. Unit 1 quiz8 questions on this unit 10 min
  2. 0/3
    Unit 2 Full plan

    Algorithms

    Algorithm definitions, the six characteristics, and pseudocode with worked examples.
    1. What Is an Algorithm A finite recipe from input to output. 11 min
    2. Characteristics of an Algorithm Six demands every algorithm must satisfy. 10 min
    3. Pseudocode English-like steps the machine never sees. 20 min
    4. Unit 2 quiz6 questions on this unit 8 min
  3. 0/3
    Unit 3 Full plan

    Representing Algorithms

    Flowchart symbols and practice plus decision tables with a worked loan example.
    1. Flowcharts Draw the logic with standard symbols. 11 min
    2. Flowcharts in Action Mail a letter, convert feet, weigh the tool. 12 min
    3. Decision Tables Tabulate every condition combo and its action. 12 min
    4. Unit 3 quiz7 questions on this unit 9 min
  4. 0/3
    Unit 4 Full plan

    Objects and Classes

    Objects with attributes and behaviors, classes and instances, and encapsulation.
    1. Objects Bundle attributes with the behaviors that use them. 11 min
    2. Classes and Instances Write one template, stamp out many objects. 11 min
    3. Encapsulation Hide the state, guard it with methods. 11 min
    4. Unit 4 quiz6 questions on this unit 8 min
  5. 0/3
    Unit 5 Full plan

    Inheritance and Messages

    Instance versus class members, inheritance and overriding, and message passing.
    1. Instance Versus Class Members Some state belongs to each copy, some to all. 11 min
    2. Inheritance Derive new classes from old, then extend them. 11 min
    3. Messages Objects talk by sending addressed requests. 12 min
    4. Unit 5 quiz6 questions on this unit 8 min
  6. 0/3
    Unit 6 Full plan

    Polymorphism and Design

    Polymorphism and its forms, OOA/OOD and lifecycle basics, and a foundations roundup.
    1. Polymorphism One message, many behaviors. 11 min
    2. OOA, OOD and the Lifecycle Analyse the problem, design the objects, then build. 11 min
    3. Foundations Roundup (Units 1–6) From party plans to polymorphic messages — before we code them in Python. 11 min
    4. Unit 6 quiz6 questions on this unit 8 min
  7. 0/3
    Unit 7 Full plan

    Python Programming Essentials

    Python syntax, dynamic typing, built-in data types and lists, all seven operator families, control flow, functions and recursion.
    1. Python Syntax, Data Types and Lists Whitespace blocks, dynamic typing, built-in data types, and slicing Python lists cleanly. 12 min
    2. Python Operators and Expressions Arithmetic, assignment, comparison, logical, bitwise, membership and identity operators in action. 12 min
    3. Flow Control, Functions and Recursion Branching with if/elif/else, looping with break/continue, local scope, *args and recursion. 13 min
    4. Unit 7 quiz8 questions on this unit 10 min
  8. 0/3
    Unit 8 Full plan

    Python OOP and Inheritance

    Python classes, self, init constructors, modules, object references/aliasing, overloading vs overriding, and six inheritance hierarchies.
    1. Python Classes, self, Constructors and Modules From parallel lists to composite classes, __init__ constructors, self, and multi-file modules. 11 min
    2. Object References, Aliasing and Overloading vs Overriding Variables hold references, not copies — and overloading and overriding are settled differently because of it. 12 min
    3. Inheritance Hierarchies, super() and Access Visibility Extending Python classes with super(), classifying all six inheritance shapes, and access rules. 13 min
    4. Unit 8 quiz8 questions on this unit 10 min
  9. 0/3
    Unit 9 Full plan

    Abstraction, Interfaces and Cross-Language OOP

    Abstract classes (abc.ABC), interfaces, C++ virtual dispatch, constructors/destructors, file streams, generic templates, and full-course synthesis.
    1. Abstract Classes, Interfaces and Runtime Binding Enforcing method contracts with Python's abc.ABC, @abstractmethod, and C++ virtual functions. 13 min
    2. Cross-Language OOP: C++ Lifecycle, File Streams and Templates Procedural vs OOP, constructors/destructors, file streams (ifstream/ofstream), and generic templates. 13 min
    3. Python OOP and Full-Course Synthesis From requirements and flowcharts to Python functions, inheritance, ABC contracts and cross-language mastery. 12 min
    4. Unit 9 quiz8 questions on this unit 10 min

Practise and remember