1/10
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
infinite loop
a loop that continues to execute endlessly
loop control variable (LCV)
a variable that controls the end of the loop
counter-controlled while loop
a while loop that is used when you know how many items of data are to be read; the loop will continue until the condition designated by the counter is met or evaluates to false
flag-controlled while loop
uses a Boolean variable to control the execution of the loop
flag variable
a Boolean variable used to control the execution of a while loop
end-of-file (EOF)-controlled while loop
a while loop that stops when it reaches the end of the input file
Fibonacci number
a number in the Fibonacci sequence
Fibonacci sequence
a n = a n-1 + a n-2
for loop control
a loop control variable in a for loop; also called an indexed variable
nesting
a process that involves putting one control structure inside another
divisor
suppose that m and n are integers and m is nonzero. Then m is called a divisor of n if n = mt for some integer t; that is, when m divides n, the remainder is 0