Top 150+ Solved Programming in Visual Basic MCQ Questions Answer
Q. __________ Displays a list of items from which a user can select one.
a. list box
b. radio
c. check box
d. none of these
Q. __________Executes the timer events at specified intervals of time
a. list box
b. radio
c. check box
d. timer controls
Q. ______ Use to store alphanumeric values. A variable length string canstore approximately 4 billion characters
a. string
b. boolean
c. variant
d. date
Q. . In Visual Basic if we declare a variable without any data type by__________this the data type is assigned as default..
a. string
b. boolean
c. variant
d. date
Q. A variable declared as __________ type can store both values and itcan store date values 01/01/0100 up to 12/31/9999
a. string
b. boolean
c. variant
d. date
Q. when we Declaring a variable before programming start it is calledas __________it tells Visual Basic to reserve space in memory.
a. explicit declaring
b. implicit declaring
c. public declaring
d. local declaring
Q. ______variables are not reinitialized each time Visual Invokes aprocedure and therefore retains or preserves value even when aprocedure ends
a. static
b. public
c. local
d. general
Q. when we declare the variable in _____ of VB then it is public variable
a. static
b. public
c. local
d. general
Q. when we declare the variable in a Particular control of vb then it is_________ variable .
a. static
b. public
c. local
d. general
Q. The ______ selection structure allows the programmer to specify thata different action is to be performed when the condition is True thanwhen the condition is False.
a. if ... then ..else
b. do while
c. dynamic array
d. array
Q. In _________: The size of the array can be changed at the run timesize changes during the program execution.
a. if ... then ..else
b. do while
c. dynamic array
d. array
Q. In ________ : The size of array always remains the same-size doesn'tchange during the program execution.
a. if ... then ..else
b. do while
c. dynamic array
d. fixed array
Q. . ---- is an activity that occurs during program execution such as mouseclick or keystroke.
a. event
b. module
c. code
d. property