Exam 6: The Repetition Structure

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A ____ structure is referred to as a loop.

(Multiple Choice)
4.7/5
(34)

You can think of the second hand of a clock as being the outer loop and the minute hand as being the inner loop.

(True/False)
4.9/5
(41)

A counter is always incremented by a constant value.

(True/False)
4.7/5
(41)

The For...Next loop structure is used when the instructions within the loop are to be executed a precise number of times.

(True/False)
4.8/5
(43)

Which statement cancels the closing event triggered by clicking the close button?

(Multiple Choice)
4.9/5
(46)

If the user clicks the Cancel button in a dialog box or the Close button on the dialog box's title bar, the value returned is ____.

(Multiple Choice)
4.8/5
(44)

The symbol used to identify a For...Next loop on a flowchart is the ____ symbol.

(Multiple Choice)
4.8/5
(35)

The Exit For statement is used to exit the For...Next routine when the code is finished executing.

(True/False)
4.7/5
(38)

If stepvalue is positive, then startvalue must be ____ endvalue for the loop instructions to be processed.

(Multiple Choice)
4.9/5
(48)

The process of updating an accumulator or counter is called incrementing.

(True/False)
4.9/5
(38)

The Closing procedure can prevent the form from being closed by setting the Cancel property of the procedure's e parameter to ____.

(Multiple Choice)
4.8/5
(44)

When focus is directed to a TextBox that currently has text, the text can be selected with which of the following code?

(Multiple Choice)
4.9/5
(37)

The stepvalue in a For...Next loop structure must be an integer.

(True/False)
4.9/5
(45)

A(n) ____ is a numeric variable used for adding together something.

(Multiple Choice)
4.8/5
(34)

Which of the following values or variables can be omitted when coding a For...Next loop?

(Multiple Choice)
4.8/5
(39)

An accumulator is incremented by a value that varies.

(True/False)
5.0/5
(37)

According to the following code how many times will the loop be executed? Dim startNum, stopNum, stepNum, num As Integer startNum = 1 stopNum = 8 stepNum = 2 For num = startNum To stopNum Step stepNum . . Next num

(Multiple Choice)
4.9/5
(37)

You can close a form using the Close button on its title bar.

(True/False)
4.8/5
(47)

The symbol used to represent a loop condition on a flowchart is the ____ symbol.

(Multiple Choice)
4.8/5
(39)

In a For...Next loop structure, which of the following may be omitted when coding?

(Multiple Choice)
4.8/5
(40)
Showing 21 - 40 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)