Visual Basic Objective Questions and Answers | Page-2

Questions
11 The default property for a text box control is __________
A Text
B Enable
C Multiline
D Password char

Answer: Option [A]
12 __________ is a collection of files.
A Class
B Group
C Project
D All of the above

Answer: Option [C]
13 The method, which loads the form into memory and displays it on screen
A Load
B Show
C Display
D All of these

Answer: Option [B]
14 The code in an application can be broken into logical components by _______ process.
A modular
B procedural
C partitioning
D None of the above

Answer: Option [C]
15 The ________ object is a stored query definition, which is a precompiled SQL statement.
A QueryFed
B QueryDif
C QueryFix
D QueryDef

Answer: Option [D]
16 ________ function returns the intervals between two dates in terms of years, months or days.
A DateDiff( )
B DateIn( )
C DateFix( )
D DiDate( )

Answer: Option [A]
17 ______ array size can be changed at run-time.
A Fixed
B Preserve
C Dynamic array
D Multidimensional

Answer: Option [C]
18 The window in which the individual documents are displayed is called ____________window.
A Main
B Child
C Parent
D Root

Answer: Option [B]
19 _________ is the process of finding and removing errors.
A Checking
B Compiling
C Debugging
D Quick watch

Answer: Option [C]
20 ________ loop repeats a group of statements for each item in a collection of objects or for each element of an array.
A While loop
B Do Until loop
C Do while loop
D For each loop

Answer: Option [D]