VISUAL BASIC for APPLICATIONS TEST

Progress

1.

The _______________ control used to insert image to the form

2.

What is the color of comments?

3.

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

4.

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

5.

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

6.

_______________ is the function to compare 2 strings.

7.

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?

8.

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

9.

A single Case statement can contain multiple values

10.

A Combo box is loaded in the From_Initialize event with:

Combo1.AddItem “Red”

Combo1.AddItem “Blue”

Combo1.AddItem “Green”

11.

Which character in VBA, indicates start of a comment

12.

What will be the output of the following statement?

txtBox.Text = FormatCurrency(1234.567)

13.

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

14.

The value returned by InputBox is a string

15.

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

16.

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

17.

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

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.

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

20.

To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?

21.

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

22.

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

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 windows displays a list of all forms and modules making up your application.

26.

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

27.

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

28.

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

29.

An object is composed of :

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'