Keller MIS 505 Chapter 5 many loop control variable values are altered by ____, or adding to them.
in Computers by Marlboro30Your Price: $5.00 (30% discount)
You Save: $2.14
Description
Chapter 5: Looping
TRUE/FALSE
-
The loop control variable is initialized after entering the loop. ANS: F PTS: 1 REF: 186
-
An indefinite loop is a loop that never stops. ANS: F PTS: 1 REF: 188-189
-
In some cases, a loop control variable does not have to be initialized. ANS: F PTS: 1 REF: 190
-
Every high-level computer programming language contains a while statement. ANS: T PTS: 1 REF: 206
- It is the programmer’s responsibility to initialize all variables that must start with a specific value. ANS: T PTS: 1 REF: 211
MULTIPLE CHOICE
-
The first step in a while loop is typically to ____. a. compare the loop control variable to a constant value b. initialize the loop control variable c. increment the loop control variable d. execute the body of the loop ANS: B PTS: 1 REF: 186
-
The last step in a while loop is usually to ____. a. compare the loop control variable to a constant value b. initialize the loop control variable c. increment the loop control variable d. execute the body of the loop ANS: C PTS: 1 REF: 186-188
-
A(n) ____ loop executes a predetermined number of times. a. terminal c. indefinite b. definite d. infinite ANS: B PTS: 1 REF: 187
- Once your logic enters the body of a structured loop, ____. a. the . . .
Download to see the full answer