Filters
Question type

Study Flashcards

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


A) pretest
B) posttest
C) inline test
D) execute

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

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


A) quotation marks
B) asterisks
C) square brackets
D) slashes

E) B) and D)
F) A) and B)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) empty
B) temporary
C) infinite
D) short-circuited

E) C) and D)
F) B) and C)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) pretest
B) inline test
C) execute
D) posttest

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

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


A) For…Next
B) While…Wend
C) Next…For
D) Do…Loop

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

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


A) changing read
B) update read
C) ending read
D) special read

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

True

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


A) static
B) named
C) accumulator
D) counter

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

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


A) an empty string
B) the value contained in the input area of the dialog box
C) OKValue
D) Nothing

E) A) and D)
F) B) and C)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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.


A) decision
B) repetition
C) selection
D) declaration

E) B) and C)
F) All of the above

Correct Answer

verifed

verified

B

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


A) Nothing
B) String.Nothing
C) String.Empty
D) Empty.String

E) A) and C)
F) C) and D)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

The syntax for the InputBox function is ____.


A) InputBox(prompt[ , title][ , defaultResponse])
B) Input Box(prompt[ , title][ , defaultResponse])
C) InputBox[prompt( , title) ( , defaultResponse) ]
D) InputBox(prompt, title, defaultResponse)

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

A repetition structure can only be a pretest loop.

A) True
B) False

Correct Answer

verifed

verified

False

Showing 1 - 20 of 25

Related Exams

Show Answer