Visual Basic Objective Questions and Answers | Page-3

Questions
21 A __________ variable is one that is declared inside a procedure.
A global
B local
C external
D None of the above

Answer: Option [B]
22 _______ control executes the timer events at specified intervals of time.
A Clock
B Frame
C Timer
D Digital

Answer: Option [C]
23 MDI stands for _________
A Multiple Document Interface.
B Multiple Design Interface.
C Manipulated Document Interface.
D Menu Design Interface.

Answer: Option [A]
24 A _______control in visual basic is used to create applications that present information in rows and columns.
A MSGridLine
B MSLineGrid
C MSGridFlex
D MSFlexGrid

Answer: Option [D]
25 __________ cannot be declared in a form or class module.
A Static constants
B Private constants
C Public constants
D None of these

Answer: Option [C]
26 __________ do not return a value.
A Sub procedure
B Function procedure
C Property procedures
D All of these

Answer: Option [A]
27 The default datatype for VB is ___________
A Integer
B Decimal
C Variant
D String

Answer: Option [C]
28 _________ is a built in function to return lower bound of an array.
A Lbound()
B LRbound()
C Lowbound()
D None of these

Answer: Option [A]
29 The _________ allows direct exit from a For loop, Do loop, Sub procedure, or Function procedure.
A Break
B Exit
C Exit for
D Exit Do

Answer: Option [B]
30 ___________ displays current directory with any subdirectories and allows the user to change directory.
A FileListBox
B DirListBox
C DriveListBox
D All of these

Answer: Option [B]