0
Alien head

Visual Basic .net Quiz

Description: Visual Basic .net Quiz
Number of Questions: 10
Created by:
Tags: .net vb

Which operator is evaluated first?

  1. NOT

  2. AND

  3. XOR

  4. OR

  5. They are always evaluated left-to-right.

Answer: 1

The right side of an assignment statement will hold:

  1. a variable.

  2. an object property.

  3. an expression.

  4. Both a and b.

  5. All of the above.

Answer: 3

Which function will return the monthly payments of a loan?

  1. Pay (Rate, PV, Nper)

  2. Pmt (Rate, Nper, PV)

  3. FV (Rate, Nper, Pmt)

  4. FV (Rate, Nper, PV)

  5. None of the above.

Answer: 2

Which function returns the numbers represented in the string "$56.7"?

  1. Abs

  2. CDbl

  3. Int

  4. Int

  5. Val

Answer: 2

What will the function Val ($165.30) return?

  1. 165

  2. 165.3

  3. $165.30

  4. An error

Answer: 3,4

Which function displays a pop-up window?

  1. MsgBox

  2. InputBox

  3. TextBox

  4. Both a and b.

  5. All of the above.

Answer: 1

Which is true about the prompt argument?

  1. It can be made of multiple values concatenated into one string.

  2. It can include the vbCrLf constant.

  3. It can include the ampersand symbol to concatenate strings.

  4. Both a and b.

  5. All of the above.

Answer: 5

In order to process a number typed in a TextBox the programmer must:

  1. use the Val function to convert the Text value.

  2. use the CDbl function to convert the Text value.

  3. use the IsNumeric function to convert the Text value.

  4. Both a and b.

  5. All of the above.

Answer: 4

Which statements are optional in an If...Then statement?

  1. If

  2. Then

  3. Else

  4. Both a and b.

  5. All of the above.

Answer: 3

How many RadioButtons in a Group Box can be selected at the same time?

  1. 1

  2. 2

  3. 3

  4. 4

Answer: 1
+ View questions