VISUAL BASIC for APPLICATIONS TEST

Progress

1.

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

2.

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

3.

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

4.

The _______________ control used to insert image to the form

5.

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

6.

This control is used for titles/captions

7.

The value returned by InputBox is a string

8.

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

9.

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

10.

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

11.

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

12.

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

13.

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?

14.

32-bit Software/Applications can be installed on:

15.

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

16.

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

17.

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

18.

Private Procedure can be called from anywhere in the project

19.

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

20.

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

21.

You have declared 4 variables

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

22.

Which character in VBA, indicates start of a comment

23.

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

24.

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

25.

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

26.

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

27.

_______________ is the function to compare 2 strings.

28.

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

29.

What will be the output of the following statement?

txtBox.Text = FormatCurrency(1234.567)

30.

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

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