0
Alien head

Visual Studio .net Quiz - 4

Description: Visual Studio .net Quiz - 4
Number of Questions: 10
Created by:
Tags: .net visual-studio

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.

Answer: 5

Which is not a valid Exit statement?

  1. Exit Do

  2. Exit For

  3. Exit Form

  4. Exit Select

  5. Exit Sub

Answer: 3

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.

Answer: 3

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

Answer: 3

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.

Answer: 3

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.

Answer: 5

An Exception is another name for a:

  1. compile error.

  2. logic error.

  3. runtime error.

  4. superficial error.

  5. syntax error.

Answer: 3

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

  1. 1

  2. 2

  3. 3

  4. 4

Answer: 3

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

  1. chb

  2. chk

  3. ckb

  4. ckx

  5. cbx

Answer: 2

A CheckBox can also appear as a(n):

  1. button.

  2. RadioButton.

  3. ScrollBar.

  4. Both a and b.

  5. All of the above.

Answer: 1
+ View questions