alphanumeric values
characters that include both letters (A–Z) and numbers (0–9)
assignment operator
A symbol used to assign a value to an identifier.
assignment statement
a line of code that assigns a value to a variable (ex. x=5)
binary operator
an operator that receives two operands (ex. + - / *)
camel casing
a naming convention where the first letter is lowercase and each subsequent word starts with an uppercase letter, like myVariableName
garbage
unused or leftover data in memory that the program no longer needs or references
Hungarian notation
a naming convention where the name of a variable starts with a prefix indicating its type, like strName for a string variable
identifier
A name you create in code to refer to something
initializing a variable
assigning an initial value to a variable when it is declared, like int x = 10
kebob case
a naming convention where words are all lowercase and separated by hyphens, like my-variable-name
keyword (reserved word)
a reserved word in a programming language that has a specific meaning and cannot be used as an identifier, like if, while, and class
lvalue
any value that refers to a location in memory. Can be both identifiers and expressions that refer to a location in memory. Typically sits on left of assignment operator.
mixed case with underscores
a naming convention that combines uppercase and lowercase letters with underscores between words, like My_Variable_Name
numeric constant
a fixed number value written directly in the code, like 42 (Is an unnamed constant that is specifically numeric)
numeric variable
a variable that holds a number value
operand
a value or variable on which an operator acts, like 3 and 5 in 3 + 5
Pascal casing
a naming convention in which each word in the name starts with an uppercase letter, like MyVariableName
right-to-left associativity
When operators of the same precedence are evaluated from right to left
snake casing
a naming convention where identifiers are all lowercase and separated by underscores, like my_variable_name
string constant
Immutable string data. Operations can be applied but string can’t be changed.
string variable
A variable that refers to a string value. It is stored in writable memory and can be changed
type safety
ensuring a variable is only used in ways consistent with its data type, preventing type errors. (Regardless of how variable is stored)
unnamed constant
A fixed value written directly in code without a descriptive name
variable
a named storage location in memory that can hold different values throughout a program