Pack 1 Flashcards

1
Q

OOP

A

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

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, therefore it is also known as data hiding

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

Access modifier (private and public)

A

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.

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

Method overriding

A

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.

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

Method overloading

A

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.

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

Constructor (default and parameterized)

A

A constructor is the method which instantiates an object and assigns values to the attributes/fields of an object

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

Instance of an 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 class

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 orientated programming which changes the values of an object’s fields/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

Field, property or attribute

A

Fields or property of a class defining the data associated with each object

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

Polymorphic (same as method overloading)

A

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.

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

Data redundancy

A

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

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

Data mining

A

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.

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

Data warehousing

A

A data warehouse is a database storing data from many sources over a period 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
15
Q

Data dependency

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
16
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.