Programming Flashcards
Sequence
Set of instructions that follow on one from another
Selection
Decision within a computer system based on the result of an event
Iteration
Repetition of a block of statements within a computer program
Nesting
One programming construct included within another
Runtime Error
Error when your program is actually running. Could cause program to crash
Type Error
Data type is not correct
Subroutine
Self-contained block of code that performs a specific task
Function
A type of subroutine that processes data and returns a result back to the main program.
Procedure
A subroutine that performs a specific task
Algorithm
A set of instructions designed to perform a task or solve a problem
Pseudocode
A simple way of describing a set of programming instructions in a manner that resembles a programming language.
Variable
Named memory location
Identifier
Name given to a variable
Constant
Value that does not change
Usually identified in all caps
Global variable
A global variable can be accessed and changed throughout the whole program