Programming B - Handling Data and Testing Flashcards
Variable
A value stored in memory that can change while a program runs
Extreme
Data that is at the limits of what is valid or invalid
Integer
Data type used for positive and negative whole numbers
Logic
A type of error that occurs due to incorrect algorithm design
Valid
Data that is within the required range, as expected by the program
Boolean
A data type that only stores one of two values
Erroneous
Data that is in the wrong format and should be rejected by the program
String
Data type that can be used to store any combination of alphanumeric data
Constant
A value stored in memory that cannot change while a program runs
Array
Data structure used to store multiple values in a single variable
Real
Numerical data which contains decimal numbers
Syntax
A type of error that occurs due to incorrect spelling or grammar in a program
Assignment
The process of setting the value of a variable
Invalid
Data that is outside of the required range, and should be appropriately dealt with
Character
A data type used for storing a single alphabetic or numeric character