VISUAL BASIC for APPLICATIONS TEST

Progress

1.

Why Macro is used

2.

Basic Excel Object model as follows:

3.

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

4.

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

5.

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

6.

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

7.

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

8.

Suppose the variable myName is declared in a Dim statement in two different Sub procedures. Which statement is true?

9.

A single Case statement can contain multiple values

10.

VBA Code run by

11.

What data type can hold any type of data?

12.

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

13.

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

14.

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?

15.

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

16.

An object is composed of :

17.

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

18.

The _______________ control used to insert image to the form

19.

What is the color of comments?

20.

Private Procedure can be called from anywhere in the project

21.

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

22.

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

23.

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

24.

To close a form named Form1, you can use:

25.

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

26.

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

27.

Which character in VBA, indicates start of a comment

28.

Given the following section of code, if a programmer called the GetAge() subroutine, what value would the message box display? 

Private Sub GetAge()

Dim UserAge As String

UserAge = 10

UserAge = InputBox("Enter your age", "Get Age")

Call ShowAge

End Sub

Private Sub ShowAge()

Dim UserAge As Integer

UserAge = 0

MsgBox (UserAge)

End Sub

29.

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

30.

___________ indicates whether a particular condition is on or off

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