Preview lessons, content and tests

Computer Science & Programming solved. All in one platform.

1. To trial the platform and take tests, please take a few seconds to SIGN UP and SET UP FREE.

2. Searching for something specific? See our text overview of all tests. Scroll right for levels, and lists.

3. Student and Teacher User Guides |  Schemes of Work |   Real Teacher use Videos |

Join 36000+ teachers and students using TTIO.

Abstraction and Inheritance

Abstraction is a key pillar in computer science theory and particularly object orientated programming. It refers to ignoring the irrelevant details and simply focusing on what is required in order to create the program. An example: when creating a "planet class", you would not create variables to cater for every particle of dust or the wind. You may simply create attributes pertaining to the creation of a 2d circle.

Presentation on Abstraction

Presentation on Inheritance (Single Inheritance)

Inheritance: The process by which one class acquires the properties(data members) and functionalities(methods) of another class is called inheritance. The aim of inheritance is to provide the reusability of code so that a class has to write only the unique features and rest of the common properties and functionalities can be extended from the another class.

Multiple Inheritance

Multi-level Inheritance

Further reading and articles

Suggested Videos