VISUAL BASIC for APPLICATIONS TEST

Progress

1.

Which Case clause will be true whenever the value of the selector in a Select Case block is between 1 and 5 or is 8?

2.

The value returned by InputBox is a string

3.

To force all variables is a VBA project to be declared, which must be stated in a module?

4.

Which property for a textbox allows the textbox to accept more than 1 line of data entry?

5.

What will the value of ThisVar be after the following lines of code execute? 

Dim ThisVar As String 
Dim MyName = "John" 
ThisVar = MyName & "John"


 

6.

An array that maintains multiple sets of information referenced by more than one index is called ________________

7.

Basic Excel Object model as follows:

8.

This operator reverses the truth value of an expression; making a true expression false and a false expression true.

9.

Which is the conversion for the following If...Then...ElseIf statement to a Select...Case statement?

If intValue > 0 And intValue <= 9 Then

discount = .10

Else If intValue >9 And intValue <=20

discount = .15

Else

discount = .20

10.

What value is stored in a variable of type single if we try to assign the variable to the value 634?

11.

Why Macro is used

12.

___________ control is used to provide an identifiable grouping for other controls

13.

What is the color of comments?

14.

The _______________ control used to insert image to the form

15.

To break up long lines of code, the line continuation character in VBA is

16.

What property of controls tells the order they receive the focus when the tab key is pressed during run time? it.

17.

There can be different data types of an element in an array

18.

To close a form named Form1, you can use:

19.

Which of the following arithmetic operations has the highest level of precedence?

20.

What data type can hold any type of data?

21.

A single Case statement can contain multiple values

22.

The _______________ statement first executes the statements and then tests the condition after each execution

23.

A loop that does not have the way of stopping is called a ___________

24.

Private Procedure can be called from anywhere in the project

25.

To load graphics on a control at runtime, we have to use the function….

26.

What will be the output of the following statement?

txtBox.Text = FormatCurrency(1234.567)

27.

___________ statement enables us to trap runtime error.

28.

The Properties window plays an important role in the development of Visual Basic Applications. It is mainly used

29.

Which part of VBA window, refers to area where code is written.

30.

Which of the following statements is not true about user-defined functions?

Assessment complete! Thank you for you time.
We are redirecting you to the result page, Please click on 'SUBMIT'