Repetition
  • Which structure causes a statement or set of statements to execute repeatedly?
  • The ________ represents a special value that marks the end of a list of values.
  • How many times will the following loop iterate?Set k = 1While k > 5 Display kEnd While
  • Which loop repeats a statement or set of statements as long as the Boolean expression is false?
While and Do-While
  • Which of these are posttest loops?
  • Which pair of loops causes a statement or set of statements to repeat as long as a condition is true?
  • Which loop repeats a statement or set of statements as long as the Boolean expression is false?
  • What type of loop uses a Boolean expression to control the number of times that it repeats a statement or set of statements?
One
  • How many times will the following loop iterate?Set k = 1While k < = 5 Display kEnd While
  • How many times will the following loop iterate?Set k = 1Do Display k Set k = k + 1Until k > 1
  • How many times will the following loop iterate?For j = 1 To 5 Step 2 Display jEnd For
  • How many times will the following loop iterate?Set k = 1While k > 5 Display kEnd While
Running total
  • A loop that accumulates a total as it reads each number from a series is often said to keep a what?
  • How many times will the following loop iterate?Set k = 1While k < = 5 Display kEnd While
  • Which loop repeats a statement or set of statements as long as the Boolean expression is false?
  • The statements that appear between the While and the End While clauses are called the ________.
Do-Until
  • The ________ represents a special value that marks the end of a list of values.
  • Which structure causes a statement or set of statements to execute repeatedly?
  • Which loop statement does not contain an increment statement but automatically increments the counter at the end of each iteration?
  • Which loop repeats a statement or set of statements as long as the Boolean expression is false?
For
  • Which loop repeats a statement or set of statements as long as the Boolean expression is false?
  • How many times will the following loop iterate?Set k = 1Do Display k Set k = k + 1Until k > 1
  • Which loop statement does not contain an increment statement but automatically increments the counter at the end of each iteration?
  • Which pair of loops causes a statement or set of statements to repeat as long as a condition is true?
Sentinel
  • Which loop repeats a statement or set of statements as long as the Boolean expression is false?
  • To ________ a variable means to decrease its value.
  • The ________ represents a special value that marks the end of a list of values.
  • Which structure causes a statement or set of statements to execute repeatedly?
0 h : 0 m : 1 s

Answered Not Answered Not Visited Correct : 0 Incorrect : 0