GoConqr has a new look! Let us know what you think.

Quiz

For...Next Loops

jessica cardoso 9 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (9)

  1. 1The pair of statements [blank_start]For[blank_end] and [blank_start]Next[blank_end] cause the statements between them to be repeated a specified number of times.
    1. AFor
    2. BNext
  2. 2The [blank_start]For[blank_end] statement designates a numerical variable, called the [blank_start]control variable[blank_end], that is initialized and then automatically changes after each execution of the loop. Also the [blank_start]For[blank_end] statement gives the [blank_start]range of values[blank_end] the variable will assume.
    1. AFor
    2. Bcontrol variable
    3. CFor
    4. Drange of values
  3. 3The [blank_start]Next[blank_end] statement [blank_start]increments[blank_end] the control variable.
    1. ANext
    2. Bincrements
  4. 4[blank_start]For[blank_end] and [blank_start]Next[blank_end] statements must be paired.
    1. AFor
    2. BNext
  5. 5The [blank_start]Next[blank_end] statement continues to [blank_start]increment[blank_end] the control variable and check the new value to see it [blank_start]exceeds the terminating value[blank_end]. If not, the entire process is repeated until the value of the control variable [blank_start]exceeds[blank_end] the value of the terminating value.
    1. ANext
    2. Bincrement
    3. Cexceeds the terminating value
    4. Dexceeds
  6. 6Unless specified otherwise, the control variable is increased by [blank_start]1[blank_end]; in other words, in a [blank_start]For[blank_end] statement if the Step value is omitted, the Step's default value is 1.
    1. A1
    2. BFor
  7. 7If a negative step value is used and the initial value is greater than the terminating value, then the control value is [blank_start]decreased[blank_end] until reaching the terminating value. In other words, the loop counts backward or downward.
    1. Adecreased
  8. 8A [blank_start]For...Next[blank_end] loop can contain another [blank_start]For...Next[blank_end] loop - a [blank_start]nested loop[blank_end]. The inside loop must be completely contained inside the first loop and must have a different control variable.
    1. AFor...Next
    2. BFor...Next
    3. Cnested loop
  9. 9When the number of times a loop should run is known in advance, we should use the [blank_start]For...Next[blank_end] loop.
    1. AFor...Next

Information

Description
Information Technology Quiz on For...Next Loops, created by jessica cardoso on 18/05/2017.
Language
English
Views
1
Tags
information technology
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?