Exam 14: Let Me Count the Ways Counter-Controlled Loops

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

The My.Computer object provides access to several objects, such as your computer's Audio object.

Free
(True/False)
4.7/5
(35)
Correct Answer:
Verified

True

If the audio file is not in the project's bin\Debug folder, you will need to include the path to the file in the fileName argument.

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

True

With the negation operator, a positive number preceded by the negation operator remains a positive number.

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

False

In the Financial.Pmt method, if Rate is a monthly interest rate, then NPer must specify the number of monthly payments.

(True/False)
4.9/5
(33)

When you declare a variable in the For clause, the variable has ____ scope and can be used only within the For...Next loop.

(Multiple Choice)
4.8/5
(35)

To have an application play an audio file while it is running, you use the syntax ____.

(Multiple Choice)
4.7/5
(31)

The For...Next statement provides the most convenient way to code a posttest counter loop.

(True/False)
5.0/5
(32)

To have the Audio object play an audio file, you use its Sound method.

(True/False)
4.7/5
(31)

Fewer unintentional errors occur in applications when the variables are declared using the ____ scope needed.

(Multiple Choice)
4.8/5
(40)

You can declare the counter variable in a Dim statement, as long as the Dim statement appears somewhere after the For…Next statement.

(True/False)
4.9/5
(38)

When you declare a variable in the For clause, the variable stays in the computer's internal memory when the loop ends.

(True/False)
4.7/5
(44)

A pretest counter loop can only be coded using the Do…Loop statement.

(True/False)
4.8/5
(35)

The ____ method contains a complex mathematical formula for calculating a periodic payment.

(Multiple Choice)
4.8/5
(35)

The mathematical formula for calculating a periodic payment on a loan is rather complex, so Visual Basic provides a method that performs the calculation for you.

(True/False)
4.8/5
(30)

A counter-controlled loop can be either a pretest loop or a posttest loop.

(True/False)
4.9/5
(37)

The ____ object refers to your computer.

(Multiple Choice)
4.8/5
(28)

You code a posttest counter-controlled loop using the ____ statement.

(Multiple Choice)
4.8/5
(37)

Visual Basic's ____ feature exposes a set of commonly used objects to the programmer.

(Multiple Choice)
4.9/5
(37)

When a variable is declared in a(n) ____ statement at the beginning of a procedure, it has procedure scope and can be used by the entire procedure.

(Multiple Choice)
4.8/5
(38)

The ____ operator reverses the sign of a number.

(Multiple Choice)
4.8/5
(33)
Showing 1 - 20 of 25
close modal

Filters

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