VISUAL BASIC for APPLICATIONS TEST

Progress

1.

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

2.

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

3.

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

4.

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

5.

VBA Code run by

6.

What data type can hold any type of data?

7.

Which windows displays a list of all forms and modules making up your application.

8.

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

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


 

9.

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

10.

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

11.

What will be the output of the following statement?

txtBox.Text = FormatCurrency(1234.567)

12.

___________ function is used to return a copy of a string without leading spaces.

13.

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

14.

Basic Excel Object model as follows:

15.

Why Macro is used

16.

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

17.

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

18.

This control is used for titles/captions

19.

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

20.

Which of the following statement is not a looping statement in VBA?

21.

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

22.

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

23.

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

24.

A Combo box is loaded in the From_Initialize event with:

Combo1.AddItem “Red”

Combo1.AddItem “Blue”

Combo1.AddItem “Green”

25.

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

26.

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

27.

Which property determines whether a control is displayed to the user?

28.

What will be the output of the following code?

Sub LoopExample()

Dim StartNumber As Integer

Dim EndNumber As Integer

Dim Answer As Integer

Answer = 5

EndNumber = 5

For StartNumber = 1 To EndNumber

Answer = Answer + EndNumber

Next StartNumber

MsgBox Answer

      End Sub

29.

When the form is first referenced in any manner by program,the triggered event is….

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'