← 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.
-
Syntax of an OOP language
40 min · 1 practice tasks · quizDescribe the basic syntax of an OOP language.
-
Declaring a class
40 min · 1 practice tasks · quizWrite a class declaration with attributes and methods.
-
Instance and static variables
40 min · 1 practice tasks · quizTell instance variables from static variables.
-
Visibility specifiers
40 min · 1 practice tasks · quizUse public, private and protected in a class.
-
Constructors
40 min · 1 practice tasks · quizUse a constructor to set up an object.
-
Methods
40 min · 1 practice tasks · quizWrite methods with parameters and return values.
-
Creating an object
40 min · 1 practice tasks · quizCreate an object from a class.
-
Using an object
40 min · 1 practice tasks · quizCall methods and use the data of an object.
-
A class and object program
40 min · 1 practice tasks · quizWrite and run a simple class and object program.
-
Association
40 min · 1 practice tasks · quizImplement a simple association between classes.
-
Aggregation
40 min · 1 practice tasks · quizImplement aggregation between classes.
-
Composition
40 min · 1 practice tasks · quizImplement composition between classes.
-
Implementing class relationships
40 min · 1 practice tasks · quizWrite a program that implements class relationships.
-
Implementing abstraction
40 min · 1 practice tasks · quizWrite code that uses abstraction.
-
Implementing encapsulation
40 min · 1 practice tasks · quizWrite code that uses encapsulation.
-
Implementing inheritance
40 min · 1 practice tasks · quizWrite child classes that inherit from a parent.
-
Implementing polymorphism
40 min · 1 practice tasks · quizWrite methods that overload and override.
-
Implementing the OOP principles
40 min · 1 practice tasks · quizWrite a program that applies all four OOP principles.
-
Real-life program: pupil records
40 min · 1 practice tasks · quizWrite a program that manages pupil records.
-
Real-life program: bank account
40 min · 1 practice tasks · quizWrite a program for a simple bank account.
-
Real-life program: a library
40 min · 1 practice tasks · quizWrite a program with two related classes.
-
Testing and debugging OOP programs
40 min · 1 practice tasks · quizTest and fix object oriented programs.
-
Best practices and documentation
40 min · 1 practice tasks · quizApply good practices when writing OOP code.
-
Reviewing OOP implementation
40 min · 1 practice tasks · quizReview and appreciate OOP implementation.