UNIT 4 VOCAB Flashcards
covers all vocab that was taught in U4
A reference to a value (or value that results from evaluating an expression) that can be used repeatedly throughout a program.
Variable
a combination of values that evalutes to a single value
Expression
what icon allows a program to change the value of a variable (ex: var _ 5 to var _ 7) what to put in between var and 5?
Assignment Operator
a data type that is either true of false
Boolean Value
evaluates to either true or false
Boolean Expression
<, >, <=, >=, ==, !=
Comparison Operators
&&, ||, ! (AND, OR, NOT). Both sides of the LOGICAL operator are reduced to a single Boolean value
Logical Operators
affects the sequential flow of control by executing different statements based on the value of a Boolean expression
Conditional Statement
NOT, AND, and OR, which evaluate to a Boolean value
Logical Operator
a named group of programming instructions. Also referred to as a “procedure”.
Function
a command that executes the code within a FUNCTION
Function Call
global variables
permanent and can be used anywhere in code
local variables
temporary and can be used only in a certain part of code (ex: onEvent)
what is the difference between numbers and strings
strings= made of characters (abc)
numbers= made or digits (123)
syntax error
code doesn’t follow the rules of programming language