VISUAL BASIC for APPLICATIONS TEST

Progress

1.

To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?

2.

An object is composed of :

3.

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

4.

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

5.

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

6.

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

7.

Which character in VBA, indicates start of a comment

8.

To close a form named Form1, you can use:

9.

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

10.

You have declared 4 variables

 Which of these variable declarations is not a valid VBA statement?

11.

Do…Loop... Until code block is always executed once.

12.

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

13.

Which of the following is default in VBA for data passing?

14.

This control is used for titles/captions

15.

___________ statement enables us to trap runtime error.

16.

Private Procedure can be called from anywhere in the project

17.

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

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


 

18.

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

19.

A ______________ returns a value to the part of the program that called it.

20.

__________ are the attributes of an object that control the object's appearance and behavior.

21.

Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?

22.

A Combo box is loaded in the From_Initialize event with:

Combo1.AddItem “Red”

Combo1.AddItem “Blue”

Combo1.AddItem “Green”

23.

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

24.

What do you need to select to set the developer mode?

25.

The _______________ control used to insert image to the form

26.

What will be the output of the following statement?

txtBox.Text = FormatCurrency(1234.567)

27.

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

28.

A ____________ is a predefined VB procedure that you can call upon when needed.

29.

What is the color of comments?

30.

Suppose the variable myName is declared in a Dim statement in two different Sub procedures. Which statement is true?

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