1/15
Vocabulary terms and definitions covering variables, conditional statements, logical operators, and functions from Chapter 4.
Assignment Operator
Allows a program to change the value represented by a variable.
Boolean Value
A data type that is either true or false.
Comparison Operator
Operators (<,>,<=,>=,==,!=) that indicate a Boolean expression.
Conditional Statement
Affects the sequential flow of control by executing different statements based on the value of a Boolean expression.
Expression
A combination of operators and values that evaluates to a single value.
Function
A named group of programming instructions; also referred to as a 'procedure'.
Function Call
A command that executes the code within a function.
Logical Operator
NOT (!), AND (&&), and OR (∣∣) which evaluate to a Boolean value.
String
An ordered sequence of characters.
Variable
A named reference to a value that can be used repeatedly throughout a program.
Global Variable
A variable that is permanent and can be used in any part of the code.
Local Variable
A variable that is temporary and is declared/used within the given function.
Concatenation (+)
An operation used to put two or more things together either in a variable or to print out a statement.
AND Operator (&&)
A conditional operator that evaluates to true only when both expressions are true (True && True); otherwise, it evaluates to false.
OR Operator (∣∣)
A conditional operator that evaluates to true if at least one expression is true, and evaluates to false only when both expressions are false (False ∣∣ False).
NOT Operator (!)
A conditional operator that acts as a NOT statement, evaluating !True to false and !False to true.