OOP Terminology Flashcards

1
Q

OOP

A

Object-oriented design is the process of planning a system of interacting objects for the purpose of solving a software problem.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Encapsulation

A

Combining fields and methods describing an object into one class. In encapsulation the variables of a class will be hidden from other classes and can be accessed only through the methods of their current class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Access modifier

A

A keyword defining the visibility of a method or field in a class. Private access modifier indicates that the field or method is only visible inside the class, public indicates it is available outside the class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Method overriding

A

A language feature that allows a subclass to provide a specific implementation of a method that is already produced by one of the superclasses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Method overloading

A

A feature of classes that allows for there to have more that one method of the same name provided that their argument lists differ.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Constructor

A

A constructor is a method that instantiates an object and assigns values to the attributes/fields of an object. The two types are default constructors and parameterised constructors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Instance of object

A

A concrete occurrence of any object, existing during the runtime of a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Mutator method

A

Commonly known as a set method. A method in object-oriented programming that changes the value of an object’s field/attributes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Accessor method

A

A typed method (function) that returns the value of a private field in an object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Polymorphic

A

A programming language’s ability to process objects differently depending on their data type or class. For example, method overriding and method overloading.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Data redundancy

A

Data redundancy occurs in database systems where a field is repeated unnecessarily as a result of a one-to-many or many-to-many relationship.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Data mining

A

The use of sophisticated software to examine a large volume of information stored in many databases on-line to discover patterns and trends. Usually aimed at transforming large volumes of unstructured data in a form that can be used to make decisions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Data warehousing

A

A data warehouse is a database storing data from many sources over a period of time for reporting and data analysis in order to make decisions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Data dependence

A

A data dependency in a database is where one field has a dependency or relationship with another field. For example, knowing a person’s ID number can produce their name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Data validation

A

Checking that captured data is logically correct and falls within acceptable ranges for that data. Validation is performed at the time of input.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Class

A

A class is the definition used to create instances of itself, called objects. Classes define the attributes and methods that each object created from that class will have.

17
Q

Object

A

An instance of a class created by running the constructor method of the class. The Object inherits the attributes and methods defined in the class