Fundamentals of Programming - Definitions Flashcards
Record
A data structure that stores related data in fields, organised by attributes
Definite Iteration
Repeated a fixed number of times
Indefinite Iteration
Repeated until a condition is met so the number of repeats is unknown.
Exception Handling
Process of dealing with exceptional events triggered by circumstances being inconsistent with what the program was coded for.
Subroutine
Uniquely named section of code written to perform a specific task within a program when called.
Function
Subroutine that returns a value
Procedure
Subroutine that doesnt return a value
Hierarchy charts
Visual represenatation of a system design by breaking the most important elements into smaller sub tasks ( a top-down structure )
Aggregration
Creation of an object consisting of further objects such that these further objects continue to exist even if the initial object is deleted.
Classes
Template defining the methods and attributes that can be used by an object
Composition
Creation of an object consisting of further objects such that these further objects are deleted when the initial object is deleted.
Encapsulation
Method of maintaining data integrity by allowing class methods to access data in an object’s attributes
Instatiation
Creation of an object from a class
Object
Instance of a class
Overriding
The redefinition of a method in a subclass, replacing the definition of the method with the same name in the parent class
Polymorphism
Objects from different classes can use the same method to perform an action