VISUAL BASIC for APPLICATIONS TEST

Progress

1.

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

2.

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

3.

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

4.

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

5.

32-bit Software/Applications can be installed on:

6.

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

7.

Which event, runs macros automatically in excel VBA while opening Workbook

8.

A single Case statement can contain multiple values

9.

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

10.

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?

11.

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

12.

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

13.

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

14.

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

15.

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

16.

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

17.

Which character in VBA, indicates start of a comment

18.

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

19.

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

20.

Private Procedure can be called from anywhere in the project

21.

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

22.

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

23.

The value returned by InputBox is a string

24.

What data type can hold any type of data?

25.

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?

26.

What will the value of ThisVar be after the following lines of code execute? 

Dim ThisVar As String 
Dim MyName = "John" 
ThisVar = MyName & "John"


 

27.

An object is composed of :

28.

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

29.

To close a form named Form1, you can use:

30.

What will be the output of the following statement?

txtBox.Text = FormatCurrency(1234.567)

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