an abstraction inside a program that can hold a value
a variable
a finite set of instructions that accomplish a specific task
am algorithm
the value of a boolean expression
true or false
determines which parts of an algorithm are executed based on a condition being true or false
Selection
repeating a portion of an algorithm
iteration
an index
the application of each step of an algorithm in the order in which the code statements are written.
sequencing
>=
greater than or equal to
the other name for a conditional statement
if statement
While loops repeat until the condition evaluates to ______
True
an ordered sequence of elements
a list
+, -, *, x, and MOD
arithmetic operators
||
or
false
What type of loop is designed to execute a certain number of times?
for loop
an individual value in a list that is assigned a unique index
an element
What is the value of y in the expression below?
var y = 3 + 4 * 2;
11
&&
and
conditional statement found within another conditional statement
nested conditional
How many statements would a conditional statement have to have to account for the movie rating system? G to R?
4
an ordered sequence of characters
a string
What is the value of x in the expression below?
var x = 12 % 5;
2
!=
not equal
What phrase follows the if statement in a true or false conditional statement
else
occurs when the ending condition will never evaluate to true (it never stops)
infinite loop