Pack 1 Flashcards
OOP
Object-orientated design is the process of planning a system of interacting objects for the purpose of solving a software problem. It is one approach to software design
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, therefore it is also known as data hiding
Access modifier (private and public)
A keyword defining the visibility of a method or field in a class. Private access modifiers indicates that the field or method is only visible inside the class, public indicates it is available it is available outside the class and protected indicates it is available within the package.
Method overriding
Methods, one in a parent class and the other in a child class which have the same name and parameters. The method in the the child class is invoked rather than the parent class.
Method overloading
Methods in the same class which have the same name but different parameters. Parameters may be of a different type and/or the number of parameters may be different.
Constructor (default and parameterized)
A constructor is the method which instantiates an object and assigns values to the attributes/fields of an object
Instance of an object
An instance of a class created by running the constructor method of the class. The object inherits the attributes and methods defined in class
Mutator method
Commonly known as a set method. A method in object orientated programming which changes the values of an object’s fields/attributes
Accessor method
A typed method (function) that returns the value of a private field in an object
Field, property or attribute
Fields or property of a class defining the data associated with each object
Polymorphic (same as method overloading)
Methods in the class which have the same name but have different parameters. Parameters may be of a different type and/or the number of parameters may be different.
Data redundancy
Data redundancy occurs in database systems where a field is repeated unnecessarily as a result of one-to-many or many-to-many relationship
Data mining
The use of sophisticated software to examine large volume of information stored in many databases on-line to discover patterns and trends. Usually aimed at transforming large volumes of unstructured data into 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 for reporting and data analysis in order to make decisions.
Data dependency
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.