0
Alien head

Visual Studio .net Quiz - 4

Description: Visual Studio .net Quiz - 4
Number of Questions: 10
Created by:
Tags: .net visual-studio
Attempted 0/10 Correct 0 Score 0

The advantage of For...Next loops over Do...Loops is that they are:

  1. easier to read and maintain.

  2. less prone to being infinite loops.

  3. good for working with arrays.

  4. Both a and b.

  5. All of the above.


Correct Option: E

Which is not a valid Exit statement?

  1. Exit Do

  2. Exit For

  3. Exit Form

  4. Exit Select

  5. Exit Sub


Correct Option: C

A sentinel value:

  1. is used to prevent infinite loops.

  2. must be a negative value.

  3. signals the end of a list of data.

  4. Both a and b.

  5. All of the above.


Correct Option: C

Which function should be used to validate that input is not a string before performing arithmetic operations?

  1. IsArithmetic

  2. IsNotString

  3. IsNumeric

  4. IsString

  5. IsValue


Correct Option: C

Which is not a type of error programmers look for?

  1. Logic

  2. Runtime

  3. Superficial

  4. Syntax

  5. All are errors programmers look for.


Correct Option: C

Which action will raise an exception?

  1. Dividing by zero.

  2. Assigning the string "Hi" to an integer variable.

  3. Accessing an empty CD drive.

  4. Both a and b.

  5. All of the above.


Correct Option: E

An Exception is another name for a:

  1. compile error.

  2. logic error.

  3. runtime error.

  4. superficial error.

  5. syntax error.


Correct Option: C

What is the most number of states a CheckBox can have?

  1. 1

  2. 2

  3. 3

  4. 4


Correct Option: C

What is the standard prefix for the name of a CheckBox?

  1. chb

  2. chk

  3. ckb

  4. ckx

  5. cbx


Correct Option: B

A CheckBox can also appear as a(n):

  1. button.

  2. RadioButton.

  3. ScrollBar.

  4. Both a and b.

  5. All of the above.


Correct Option: A
+ View questions