Fundamentals of Programming - Definitions Flashcards

1
Q

Record

A

A data structure that stores related data in fields, organised by attributes

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

Definite Iteration

A

Repeated a fixed number of times

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

Indefinite Iteration

A

Repeated until a condition is met so the number of repeats is unknown.

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

Exception Handling

A

Process of dealing with exceptional events triggered by circumstances being inconsistent with what the program was coded for.

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

Subroutine

A

Uniquely named section of code written to perform a specific task within a program when called.

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

Function

A

Subroutine that returns a value

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

Procedure

A

Subroutine that doesnt return a value

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

Hierarchy charts

A

Visual represenatation of a system design by breaking the most important elements into smaller sub tasks ( a top-down structure )

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

Aggregration

A

Creation of an object consisting of further objects such that these further objects continue to exist even if the initial object is deleted.

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

Classes

A

Template defining the methods and attributes that can be used by an object

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

Composition

A

Creation of an object consisting of further objects such that these further objects are deleted when the initial object is deleted.

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

Encapsulation

A

Method of maintaining data integrity by allowing class methods to access data in an object’s attributes

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

Instatiation

A

Creation of an object from a class

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

Object

A

Instance of a class

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

Overriding

A

The redefinition of a method in a subclass, replacing the definition of the method with the same name in the parent class

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

Polymorphism

A

Objects from different classes can use the same method to perform an action