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 be used repeatedly throughout a program.
Boolean Value
A data type that is either true or false.
Comparison Operators
<, >, <=, >=, ==, != indicate a Boolean expression
Function
A named group of programming instructions. Also referred to as a “procedure”.
Function Call
A command that executes the code within a function
Arithmetic operator
Part of most programming languages and include addition, subtraction, multiplication, division, and modulus operators.
Boolean Expression
Evaluates to either true or false
Concatenation
Joins together two or more strings end-to-end to make a new string.
Conditional Statement
Affect the sequential flow of control by executing different statements based on the value of a Boolean expression. (Example: if/else)
Evaluate
Expressions are evaluated to produce a single value.
Expression
a programming statement that can consist of a value, a variable, an operator, or a procedure call that returns a value.
Logical operator
NOT, AND, and OR, which evaluate to a Boolean value.
Procedure
A named group of programming instructions that may have parameters and return values.