1/17
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
Assignment Operator
allows a program to change the value represented by a variable
Expression
a combination of operators and values that evaluates to a single value
String
an ordered sequence of characters
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
Boolean Expression
score < 10, isHungry != true
Comparison Operator
<, >, <=, >=, ==, != indicate a Boolean expression
Logical Operator
NOT, AND, and OR, which evaluate to a Boolean value
Conditional Statement Types
affects the sequential flow of control by executing different statements based on the value of a Boolean expression. If, If-else, If-else if-else, and Nested conditional
Nested conditional
one conditional statement (like an if/else) is placed inside another, allowing for more complex, multi-level decision-making, where the inner condition is only checked if the outer condition is true.
Function
a named group of programming instructions. Also referred to as a “procedure”.
Function Call
a command that executes the code within a function
>
greater than
<
less than
>=
greater than or equal to
<=
less than or equal to
==
equal to
!=
does not equal