VISUAL BASIC for APPLICATIONS TEST

Progress

1.

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

2.

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

3.

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

4.

___________ indicates whether a particular condition is on or off

5.

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

6.

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

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.

An object is composed of :

9.

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

10.

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

11.

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

12.

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

13.

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

14.

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?

15.

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

16.

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

17.

Private Procedure can be called from anywhere in the project

18.

This control is used for titles/captions

19.

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

20.

Basic Excel Object model as follows:

21.

You have declared 4 variables

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

22.

___________ statement enables us to trap runtime error.

23.

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

24.

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

25.

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

26.

Why Macro is used

27.

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

28.

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

29.

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

30.

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

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