Chapter Two Flashcards
Numeric
Describes data that consists of numbers.
String
Describes data that is nonnumeric.
Integer
Is a whole number.
Floating-point number
is a number with a decimal places.
Real numbers
Are 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 data type, an identifier, and optionally, an initial value.
Identifier
Is a program component’s name.
Data Type
A data item’s data type is 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.
Initializing a variable
Is the act of assigning its first value, often at the same time the variable is declared.
Garbage
Describes the unknown value stored in an unassigned variable.
Keywords
Comprise the limited word set that is reserved in a language.
Camel Casing or camelCasing
Is a naming convention in which the initial letter is lowercase, multiple word names are run together, and each new word within the name begins with an uppercase letter.
Lower Camel Casing
Is another name for the camel Casing naming convention.
Pascal Casing
Is a naming convention in which the initial letter is uppercase multiple word names are run together and each new word within the name begins with an uppercase letter.
Upper camel Casing
Is another name for the pascal Casing naming convention.
Hungarian notation
Is a naming convention in which a data type or other information is stored as part of a name.
Snake Casing
Is a convention in which parts of a name are separated by underscores.
Mixed case with underscores
Is a naming convention similar to snake Casing, but new words start with an uppercase letter.
Kebob case
Is sometimes used as the name for the style that uses dashes to separate parts of a name.
Assignment Statement
Assigns a value from the right of an assignment operator to the variable or Constant on the left of the Constant operator.
Assignment operator
Is the equal sign; it is used to assign a value to the variable or Constant on its left.
Binary operator
Is an operator that requires two operands one on each side.
Operand
Is a value used by an operator.
Right-associativity and Right-to-Left associativity
Describe operators that evaluate the expression to the right first.