VISUAL BASIC for APPLICATIONS TEST

Progress

1.

The _______________ control used to insert image to the form

2.

What will be the output of the following statement?

txtBox.Text = FormatCurrency(1234.567)

3.

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?

4.

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

5.

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

6.

A Combo box is loaded in the From_Initialize event with:

Combo1.AddItem “Red”

Combo1.AddItem “Blue”

Combo1.AddItem “Green”

7.

Which character in VBA, indicates start of a comment

8.

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

9.

A single Case statement can contain multiple values

10.

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

11.

32-bit Software/Applications can be installed on:

12.

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

13.

___________ indicates whether a particular condition is on or off

14.

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

15.

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

16.

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

17.

You have declared 4 variables

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

18.

What data type can hold any type of data?

19.

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

20.

Basic Excel Object model as follows:

21.

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

22.

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

23.

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?

24.

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

25.

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

26.

_______________ is the function to compare 2 strings.

27.

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

28.

Suppose you need to develop an online poll of user responses to a question. For convenience, you would like the most popular options to be displayed in a list for the user to quickly select an option and submit their answer. However, you would also like them to be able to use the same control to allow them to specify an write-in value of their own. Which control is most appropriate for this application?

29.

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

30.

This control is used for titles/captions

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