Unit 4 - Variables, Conditionals, And Functions Flashcards
Expression
A combination of operators and values that evaluates to a single value
Assignment Operator
Allows a program to change the value represented by a variable (num = num + 5)
Variable
A named reference to a value that can be used repeatedly throughout a program
String
An ordered sequence of characters
Boolean Value
A data type that is either true or false
Comparison operators
<, >, >=, <=, != which indicates a Boolean expression
Logical operator
NOT, AND, and OR, to evaluate a Boolean value
Conditional value
Affect the sequential flow of control by executing different statements based on the value of the Boolean expression
Function
A named group of programming instructions. AKA procedure
Function Call
A command that executes the code within a function