Exam 12: How Long Can This Go on Pretest Loops

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

A repetition structure can only be a pretest loop.

Free
(True/False)
4.9/5
(38)
Correct Answer:
Verified

False

Like the condition in the If…Then…Else statement, the condition in the Do…Loop statement must evaluate to a Boolean value.

Free
(True/False)
4.8/5
(41)
Correct Answer:
Verified

True

Programmers use the ____ structure when they need the computer to repeatedly process one or more program instructions until some condition is met, at which time the processing ends.

Free
(Multiple Choice)
4.7/5
(37)
Correct Answer:
Verified

B

The empty string is represented by the ____ constant in Visual Basic.

(Multiple Choice)
4.8/5
(31)

When entering the InputBox function in the Code Editor window, the prompt, title, and defaultResponse arguments must be enclosed in ____.

(Multiple Choice)
4.9/5
(39)

If the user clicks the OK button, the InputBox function returns ____.

(Multiple Choice)
4.8/5
(46)

The loop condition is represented by a parallelogram in a flowchart.

(True/False)
4.8/5
(38)

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

(Multiple Choice)
4.8/5
(37)

In a(n) ____ loop, the loop condition is evaluated before the instructions within the loop are processed.

(Multiple Choice)
4.8/5
(34)

The syntax for the InputBox function is ____.

(Multiple Choice)
4.8/5
(31)

You can use the ____ statement to code both a pretest loop and a posttest loop.

(Multiple Choice)
4.8/5
(42)

Like counter variables, accumulator variables are updated outside the loop.

(True/False)
4.7/5
(49)

Repetition structures use accumulator variables to tally information such as the total dollar amount of a week's payroll.

(True/False)
4.9/5
(41)

The priming read is used to prepare or set up a loop.

(True/False)
4.9/5
(29)

In a loop that begins with a priming read, the ____ provides the way to end a loop.

(Multiple Choice)
4.8/5
(40)

In a(n) ____ loop, the evaluation occurs after the instructions within the loop are processed.

(Multiple Choice)
4.9/5
(26)

A condition can contain variables, constants, properties, methods, or operators.

(True/False)
4.8/5
(30)

The result of forgetting to enter the update read is a(n) ____ loop.

(Multiple Choice)
4.9/5
(32)

Like counter variables, accumulator variables are initialized inside the loop.

(True/False)
4.8/5
(34)

The value returned by the InputBox function is the same whether the user clicks the OK button, Cancel button, or Close button.

(True/False)
4.9/5
(37)
Showing 1 - 20 of 25
close modal

Filters

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