Exam 3 Study Guide Flashcards
Assembly Language
Processor or architecture specific programming language.
Low-level.
Generation 2 Langauge
Programming Paradigm
A “style” or “way” of programming.
Not linked to a specific language.
Common Forms:
Structured
Procedural
Functional
Object-Oriented
Structured Programming
Programming paradigm that emerged in popularity after GOTO statements were widely considered harmful.
Makes extensive use of control blocks like if-else, loops like while and for, and subroutines like functions.
Grammar
The formal structure that defines the syntax of a programming language.
Sometimes called “Context-Free” Grammars.
Compiler
A computer program that transforms code written in one language to another language.
Typically from a higher level language to a lower level one, like machine language.
Interpreter
A computer program that directly executes instructions written in a programming or scripting language, without requiring them to have been compiled into a machine language program.
Encapsulation
The idea of bundling data and methods that work on that data within one unit, e.g., a class.
A fundamental concept of Object-Oriented Programming
Data Structure
A collection of data points or variables, the relationships among them, and the functions or operations that can be applied to the data.
Popular Examples:
Array, Linked-List, Object
Parameter
A variable to be passed to a function or method.
Defined in the function signature.
Example:
string MyFunction(var myParameter)
myParameter is a parameter.
Machine Independent
Code or software that is not dependent on the properties of a particular machine, and can therefore be used on any machine.
Global Variable
A variable accessible from anywhere within the program, thus it is considered “global”.
Local Variable
A variable only accessible from within the scope in which it is defined or declared.
A common example would be a variable declared within a function.
Constructor
A special type of method that orchestrates the creation and initialization of an object.
Prototyping
The activity of creating incomplete versions of a software program being developed simulating only a few aspects of a program to get quick feedback.
Component Architecture
An architecture based on independent, replaceable, modular components to help to manage complexity and encourage re-use.