Object Orientated Programming

From TRCCompSci - AQA Computer Science
Jump to: navigation, search

General Concept (Definition)

Object Oriented Programming (which will henceforth be refered to as OOP), is a programming paradigm which works in parallel (or in certain cases unison) with functional based programming which divides complex, repetitive problems into smaller callable methods. OOP Programs emulate real world 'Objects' and the hirearchal nature of their relations with each other. In a programming sense this concept is realized through inheritance...

Alternative Definition

The world or any problem can be viewed as a collection of interacting objects. Each object is responsible for its own data and the operations it can perform on this data. Each object is created from a blueprint for that type of object called a class. The object will interact using the operations the class definition provides.

Overview

https://www.youtube.com/watch?v=37cXZnli3RE&index=2&list=PLCiOXwirraUAJPwNTW5gxfJK6Ej18fDP9

Key Terms

Encapsulation

Instantiation

Inheritance

Polymorphism

Aggregation & Composition

Abstract - Virtual - Static

Private - Protected - Public

Skills

Inheritance Diagrams

Class Definitions

OOP Design Principles

Quiz

To see if you remember what you have learned about OOP, take this quick test either by yourself, or with friends: https://play.kahoot.it/#/?quizId=c73f52df-7d6d-4145-bc2f-7b5cc7d2767c