IB Computer Science - OOP Definitions

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/14

flashcard set

Earn XP

Description and Tags

Object Oriented Programming definitions

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

Aggregation

when a class is contained and used by another class

2
New cards

Class

a blueprint defining all needed attributes and methods

3
New cards

Constructor

a method with the same name as a class that instantiates an object of that class

4
New cards

Encapsulation

the practise of hiding a class’s data using private accessor methods so that it is only accessible from within that class

5
New cards

Identifier

the (unique) name of a program element like a variable, method or class

6
New cards

Inheritance

when a new class (subclass) is derived from an existing class (superclass), inheriting all the superclass’ variables and methods

7
New cards

Instantiation

when a new object is created from a class

8
New cards

Method signature

it defines a method’s parameters and their data types, name, return type and access modifier

9
New cards

Object

an abstract entity that has data and/or actions/methods

10
New cards

Object reference

a pointer to a memory location where the object is stored

11
New cards

Parameter variable

the value passed

12
New cards

Polymorphism

when a method with the same name but different parameters is created and depending on the given parameters, one of the methods is executed

13
New cards

Primitive data type

data types that are predefined in the programming language and always assigned a value in memory

14
New cards

Recursion

a programming technique where a method calls itself

15
New cards

Static

the variable is only declared once