0
Alien head

Visual Basic .net Quiz

Description: Visual Basic .net Quiz
Number of Questions: 10
Created by:
Tags: .net vb
Attempted 0/10 Correct 0 Score 0

Which operator is evaluated first?

  1. NOT

  2. AND

  3. XOR

  4. OR

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


Correct Option: A

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.


Correct Option: C

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.


Correct Option: B

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

  1. Abs

  2. CDbl

  3. Int

  4. Int

  5. Val


Correct Option: B

What will the function Val ($165.30) return?

  1. 165

  2. 165.3

  3. $165.30

  4. An error


Correct Option: C,D

Which function displays a pop-up window?

  1. MsgBox

  2. InputBox

  3. TextBox

  4. Both a and b.

  5. All of the above.


Correct Option: A

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.


Correct Option: E

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.


Correct Option: D

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.


Correct Option: C

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

  1. 1

  2. 2

  3. 3

  4. 4


Correct Option: A
+ View questions