← Computer Studies / 3 Software Development

3.2 Object Oriented Programming Implementation

Computer Studies · Grade 11 · 24 lessons in the design

What you will be able to do

  • describe the syntax of object oriented programming language
  • write a program that implements a class and an object
  • write a program that implements class relationship
  • write a program that implements the principles of OOP
  • appreciate the use of object oriented programming in problem solving

Key questions

“How do the principles of object-oriented programming facilitate solving real life problems?”

“What is the importance of classes and objects in OOP?”

Lessons

The titles are open to everyone. Reading a lesson needs an account — sign in or create one.

  1. Syntax of an OOP language
    40 min · 1 practice tasks · quiz
    Describe the basic syntax of an OOP language.
  2. Declaring a class
    40 min · 1 practice tasks · quiz
    Write a class declaration with attributes and methods.
  3. Instance and static variables
    40 min · 1 practice tasks · quiz
    Tell instance variables from static variables.
  4. Visibility specifiers
    40 min · 1 practice tasks · quiz
    Use public, private and protected in a class.
  5. Constructors
    40 min · 1 practice tasks · quiz
    Use a constructor to set up an object.
  6. Methods
    40 min · 1 practice tasks · quiz
    Write methods with parameters and return values.
  7. Creating an object
    40 min · 1 practice tasks · quiz
    Create an object from a class.
  8. Using an object
    40 min · 1 practice tasks · quiz
    Call methods and use the data of an object.
  9. A class and object program
    40 min · 1 practice tasks · quiz
    Write and run a simple class and object program.
  10. Association
    40 min · 1 practice tasks · quiz
    Implement a simple association between classes.
  11. Aggregation
    40 min · 1 practice tasks · quiz
    Implement aggregation between classes.
  12. Composition
    40 min · 1 practice tasks · quiz
    Implement composition between classes.
  13. Implementing class relationships
    40 min · 1 practice tasks · quiz
    Write a program that implements class relationships.
  14. Implementing abstraction
    40 min · 1 practice tasks · quiz
    Write code that uses abstraction.
  15. Implementing encapsulation
    40 min · 1 practice tasks · quiz
    Write code that uses encapsulation.
  16. Implementing inheritance
    40 min · 1 practice tasks · quiz
    Write child classes that inherit from a parent.
  17. Implementing polymorphism
    40 min · 1 practice tasks · quiz
    Write methods that overload and override.
  18. Implementing the OOP principles
    40 min · 1 practice tasks · quiz
    Write a program that applies all four OOP principles.
  19. Real-life program: pupil records
    40 min · 1 practice tasks · quiz
    Write a program that manages pupil records.
  20. Real-life program: bank account
    40 min · 1 practice tasks · quiz
    Write a program for a simple bank account.
  21. Real-life program: a library
    40 min · 1 practice tasks · quiz
    Write a program with two related classes.
  22. Testing and debugging OOP programs
    40 min · 1 practice tasks · quiz
    Test and fix object oriented programs.
  23. Best practices and documentation
    40 min · 1 practice tasks · quiz
    Apply good practices when writing OOP code.
  24. Reviewing OOP implementation
    40 min · 1 practice tasks · quiz
    Review and appreciate OOP implementation.