OOP Terminology Flashcards
OOP
Object-oriented design is the process of planning a system of interacting objects for the purpose of solving a software problem.
Encapsulation
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.
Access modifier
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.
Method overriding
A language feature that allows a subclass to provide a specific implementation of a method that is already produced by one of the superclasses
Method overloading
A feature of classes that allows for there to have more that one method of the same name provided that their argument lists differ.
Constructor
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
Instance of object
A concrete occurrence of any object, existing during the runtime of a program.
Mutator method
Commonly known as a set method. A method in object-oriented programming that changes the value of an object’s field/attributes.
Accessor method
A typed method (function) that returns the value of a private field in an object.
Polymorphic
A programming language’s ability to process objects differently depending on their data type or class. For example, method overriding and method overloading.
Data redundancy
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.
Data mining
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.
Data warehousing
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.
Data dependence
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.
Data validation
Checking that captured data is logically correct and falls within acceptable ranges for that data. Validation is performed at the time of input.