VISUAL BASIC for APPLICATIONS TEST

Progress

1.

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

2.

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

3.

Why Macro is used

4.

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

5.

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

6.

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

7.

What data type can hold any type of data?

8.

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

9.

To close a form named Form1, you can use:

10.

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

11.

Which character in VBA, indicates start of a comment

12.

Basic Excel Object model as follows:

13.

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

14.

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

15.

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

16.

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

17.

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

18.

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

19.

The value returned by InputBox is a string

20.

What is the color of comments?

21.

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

22.

What will be the output of the following statement?

txtBox.Text = FormatCurrency(1234.567)

23.

32-bit Software/Applications can be installed on:

24.

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

25.

The _______________ control used to insert image to the form

26.

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

27.

Private Procedure can be called from anywhere in the project

28.

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

29.

Which event, runs macros automatically in excel VBA while opening Workbook

30.

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

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