Chapter 2 Key Terms Flashcards
Data Type
a classification that describes what values can be assigned, how the item is stored, and what types of operations can be performed with the item.
Numeric
describes data that consists of numbers and can be used in arithmetic operations.
String
describes data that is nonnumeric.
Integer
A whole number.
A Floating Point
number is a number with decimal places.
Real Numbers
floating-point numbers
Numeric Constant (or literal Numeric Constant)
is a specific numeric value.
String constant (or literal string constant)
is a specific group of characters enclosed within quotation marks.
Alphanumeric values
can contain alphabetic characters, numbers, and punctuation.
Unnamed constant
is a literal numeric or string value.
Declaration
is a statement that provides a data type, an identifier, and, optionally, an initial value.
Numeric variable
is one that can hold digits, have mathematical operations performed on it, and usually can hold a decimal point and a sign indicating positive or negative.
String variable
can hold text that includes letters, digits, and special characters such as punctuation marks.
Type-safety
is the feature of some programming languages that prevents assigning values of an incorrect data type.
Identifier
a program component’s name.