Checking It

Select the correct answer to the following questions.

Multiple Choice

1:The type of the expression of an If statement is:
  1. Numeric.

  2. Logical.

  3. True or False.

  4. Depends upon the programmer.

2:Given an If statement without an Else part, what happens if the If expression is False?
  1. The statements inside the If are not executed.

  2. The statements inside the If are executed.

  3. An exception is thrown and the program ends.

  4. Both b and c.

3:The type of the expression of a Select statement must be:
  1. Numeric.

  2. String.

  3. Anything.

  4. Numeric or String.

4:When does a For loop end (according to what you've learned so far)?
  1. After a number of iterations equal to the difference ...

Get Visual Basic® .NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.