Unit 4 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
variable
a named reference to a value that can used repeatedly throughout a program
string
an ordered sequence of characters
boolean value
a data type that is either true or false
comparison operators
<,>,<=,>=, ==, != indicate boolean expression
logical operator
NOT, AND, and OR, (evaluate to a boolean value)
Conditional statement
affects the sequential flow of control by executing different statements based on the value of a Boolean Expression
Function
named group of programming instructions (procedures)
function call
a command that executes the code within a function