Chapter 2 Flashcards
describes data that consists of numbers and can be used in arithmetic operations.
Numeric
describes data that is non numeric.
String
a whole number in code.
integer
a number with decimal places
floating-point
floating-point numbers
Real numbers
a specific numeric value
numeric constant
a specific group of characters enclosed within quotation marks
string constant
can contain alphabetic characters, numbers, and punctuation.
Alphanumeric values
a literal numeric or string value.
unnamed constant
a statement that provides a data type, an identifier, and, optionally, an initial value.
declaration
a variable that can hold digits, have mathematical operations performed on it, and usually can hold a decimal point and a sign indicating positive or negative.
numeric variable
can hold text that includes letters, digits, and special characters such as punctuation marks.
string variable
is the feature of some programming languages that prevents assigning values of an incorrect data type.
type-safety
a program component’s name.
identifier
the steps that are repeated for each set of input data of a program.
Detail loop tasks
hold the steps you take at the end of the program to finish the application.
End-of-job tasks
a diagram that illustrates modules’ relationships to each other.
hierarchy chart
written explanations that are not part of the program logic but that serve as documentation for those reading the program.
program comments
documentation within a coded program.
Internal documentation
documentation that is outside a coded program.
External documentation
contains information that expands on what appears in another flowchart symbol; it is most often represented by a three-sided box that is connected to the step it references by a dashed line.
annotation symbol
programs that contain meaningful identifiers that describe their purpose.
Self-documenting
a list of every variable name used in a program, along with its type, size, and description.
data dictionary
a variable that you use to hold intermediate results during a program’s execution.
temporary variable (or work variable)