VISUAL BASIC for APPLICATIONS TEST

Progress

1.

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

2.

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

3.

What will be the output of the following statement?

txtBox.Text = FormatCurrency(1234.567)

4.

Given that x = 7, y = 2, and z = 4, the following If block will display “TRUE”. If (x > y) Or (y > z) Then txtBox.Text = “TRUE” End If

5.

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

6.

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

7.

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

8.

_______________ is the function to compare 2 strings.

9.

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

10.

To close a form named Form1, you can use:

11.

The value returned by InputBox is a string

12.

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

13.

Why Macro is used

14.

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

15.

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

16.

An object is composed of :

17.

32-bit Software/Applications can be installed on:

18.

___________ indicates whether a particular condition is on or off

19.

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

20.

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

21.

VBA Code run by

22.

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

23.

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

24.

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

25.

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

26.

A single Case statement can contain multiple values

27.

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

28.

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

29.

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

30.

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

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