VISUAL BASIC for APPLICATIONS TEST

Progress

1.

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

2.

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

3.

Which character in VBA, indicates start of a comment

4.

___________ indicates whether a particular condition is on or off

5.

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

6.

What is the color of comments?

7.

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

8.

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

9.

_______________ is the function to compare 2 strings.

10.

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

11.

What will be the output of the following statement?

txtBox.Text = FormatCurrency(1234.567)

12.

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

13.

This control is used for titles/captions

14.

You have declared 4 variables

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

15.

To close a form named Form1, you can use:

16.

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?

17.

The _______________ control used to insert image to the form

18.

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

19.

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

20.

Private Procedure can be called from anywhere in the project

21.

What data type can hold any type of data?

22.

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

23.

Why Macro is used

24.

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

25.

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

26.

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?

27.

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

28.

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

29.

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?

30.

A single Case statement can contain multiple values

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