CS Brookes Flashcards
(37 cards)
ASSIGNMENT
Process of setting the value of a variable
BOOLEAN
Data type that can only store one of two values
SELECTION
Programming construct that uses a condition to decide which group of instructions (if any) should be executed
CHARACTER
Data type that stores a single symbol
CONSTANT
Value stored in memory that cannot change while a program runs
DATA TYPE
Property of a particular piece of data that specifies how the data should be treated
EXCEPTION
Unexpected event that causes an error in a program if not handled
FUNCTION
Subroutine that returns a value
GLOBAL VARIABLE
Variable which is accessible throughout all parts of a program
INTEGER
Data type that stores a whole number
ITERATION
Programming construct that repeatedly executes a group of statements
LOGICAL VARIABLE
Variable which is accessible only within a particular part of a program
LOGICAL AND
Boolean operation that takes two inputs and returns true only if both inputs are true
LOGICAL NOT
Boolean operation that takes one input and returns the opposite boolean value
LOGICAL OR
Boolean operation that takes two inputs and returns true only if any of the inputs are true
LOGICAL XOR
Boolean operation that takes two inputs and returns true only if the inputs are different
PARAMETER
Input variable that a subroutine requires when it is called
POINTER
Variable that points to the location of another value
PROCEDURE
Subroutine that returns no value
RECURSION
When a subroutine calls itself
SECQUENCE
Programming construct that executes a group of statements in the order that they appear
STRING
Data type that can store a series of characters
SUBROUTINE
Series of instructions that can be written once and reused multiple times in a program
VARIABLE
A value in memory that can change while a program is running