VISUAL BASIC for APPLICATIONS TEST

Progress

1.

Suppose you are designing an application for admissions to a college or university, and you need to decide how to provide the user with a selection of racial backgrounds. Which control would be most appropriate?

2.

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

3.

Why Macro is used

4.

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

5.

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

6.

___________ statement enables us to trap runtime error.

7.

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

8.

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?

9.

A single Case statement can contain multiple values

10.

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

11.

When the block of code finishes the execution, what will the final value of X be?

Public Sub Example ()

Dim Y As Integer

Dim X As Integer

X = 0

Y = 10

For Count = Y To 1 Step -2

X = X + Y

If Y = (Y = 1) Then

Exit For

End If

Next Count

X = X / X

MsgBox X

End Sub

12.

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

13.

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

14.

A Combo box is loaded in the From_Initialize event with:

Combo1.AddItem “Red”

Combo1.AddItem “Blue”

Combo1.AddItem “Green”

15.

You have declared 4 variables

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

16.

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

17.

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

18.

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

19.

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

20.

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

21.

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

22.

To close a form named Form1, you can use:

23.

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

24.

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

25.

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

26.

What is the color of comments?

27.

Basic Excel Object model as follows:

28.

An object is composed of :

29.

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

30.

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

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