94
85.2k

150+ Programming in Visual Basic Solved MCQs

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Bachelor of Business Administration in Computer Applications (BBA [CA]) , Programming Languages .

Chapters

Chapter: Constants, Variables , Operators, Control Structure
51.

ADO stands for ________

A. activex data objects
B. activex variable objects
C. another data object
D. none of these.
Answer» A. activex data objects
52.

ADO is ActiveX-based, it can work in different platforms and different programming languages.

A. true
B. false
C. both
D. none of these
Answer» A. true
53.

____ is insert from component , it is used to load ADO control.

A. microsoft activex data control 6
B. microsoft combo control 6
C. microsoft data grid control.
D. none of these
Answer» A. microsoft activex data control 6
54.

______file very necessary to connect to the access data base file by ADO.

A. .mdb
B. .cls
C. .frm
D. .acca
Answer» A. .mdb
55.

the ________is a term commonly used in the programming world to
describe the interface and environment that we use to create our
applications.

A. ide
B. tool bar
C. menu bar
D. none of these.
Answer» A. ide
56.

in VB,________ is called integrated because we can access virtually all of the development tools

A. ide
B. tool bar
C. menu bar
D. none of these.
Answer» A. ide
57.

_______ format. In this format, the windows associated with the
project will stay within a single container known as the parent. Code and
form-based windows will stay within the main container form.

A. mdi
B. sdi
C. form
D. code
Answer» A. mdi
58.

________ displays the commands that are required to build an application. it is used to display the menus of the particular application

A. mdi
B. sdi
C. menu bar
D. toolbox
Answer» C. menu bar
59.

The ________ is used to show quick reference to the various elements of a project namely form, classes and modules

A. mdi
B. project explorer
C. menu bar
D. toolbox
Answer» B. project explorer
60.

The ________ is show under or below the Project Explorer window

A. properties window
B. project explorer
C. menu bar
D. toolbox
Answer» A. properties window
61.

The ______ show the various characteristics of selected objects or controls.

A. properties window
B. project explorer
C. menu bar
D. toolbox
Answer» A. properties window
62.

_______ in Visual Basic has characteristics such as color and size, shape, font style, background colour, width, height etc.

A. properties window
B. project explorer
C. object
D. object browser
Answer» C. object
63.

The _________allows us to browse through the various properties, events and methods that are made available to us

A. properties window
B. project explorer
C. object
D. object browser
Answer» D. object browser
64.

__________are open from the View menu or pressing the key F2. The
left column of the Object Browser lists the objects and classes that are
available in the projects

A. properties window
B. project explorer
C. object
D. object browser
Answer» D. object browser
65.

Object Browser are open from the ________or pressing the key F2.
The left column of the Object Browser lists the objects and classes that
are available in the projects

A. view menu
B. tool menu
C. insert menu
D. object browser
Answer» A. view menu
66.

All Code in Visual Basic is stored in the form of______

A. properties window
B. module
C. object
D. object browser
Answer» B. module
67.

There are 3 type of modules following are not include in it.

A. form modules,
B. standard modules
C. class modules.
D. basic module.
Answer» D. basic module.
68.

The extension of class module is ______

A. .cls
B. .frm
C. .pvb
D. .mdb
Answer» A. .cls
69.

The long form of SDI is _________

A. multiple document interface
B. single document interface
C. single data interface
D. system document interface
Answer» B. single document interface
Chapter: Working with Controls
70.

The long form of MDI is____________.

A. multiple document interface
B. single document interface
C. single data interface
D. system document interface
Answer» A. multiple document interface
71.

_______ is used to work as parents, its main property is mdi child , all the forms are open within MDI

A. multiple document interface
B. single document interface
C. single data interface
D. system document interface
Answer» A. multiple document interface
72.

MDI is used to work as ________, its main property is mdi child , all the forms are open within MDI

A. parents
B. child
C. form
D. menu
Answer» A. parents
73.

MDI is used to work as parents, its main property is ____ , all the forms are open within MDI

A. mdi child
B. multiple
C. list
D. background
Answer» A. mdi child
74.

In VB , . A _______ returns a value and a Sub Procedure does not return a value.

A. function procedure
B. sub procedure
C. mdi
D. sdi
Answer» A. function procedure
75.

In VB , . A Function procedure returns a value and a _____ does not return a value.

A. function procedure
B. procedure
C. mdi
D. sdi
Answer» B. procedure
76.

In VB, Standard modules and Class modules. provides three kind of property procedures but following not include in this

A. property let procedure
B. property get procedure
C. property set procedure
D. property post procedure
Answer» D. property post procedure
77.

As per the syllabus we study version of VB is ___________

A. 6.0
B. 4.0
C. 6.22
D. 3.33
Answer» A. 6.0
78.

__________ Displays a list of items from which a user can select one.

A. list box
B. radio
C. check box
D. none of these
Answer» A. list box
79.

__________Executes the timer events at specified intervals of time

A. list box
B. radio
C. check box
D. timer controls
Answer» D. timer controls
80.

______ Use to store alphanumeric values. A variable length string can store approximately 4 billion characters

A. string
B. boolean
C. variant
D. date
Answer» A. string
81.

_____________ is the default Visual Basic data type

A. string
B. boolean
C. variant
D. date
Answer» C. variant
82.

. 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
Answer» C. variant
83.

A variable declared as __________ type can store both values and it can store date values 01/01/0100 up to 12/31/9999

A. string
B. boolean
C. variant
D. date
Answer» D. date
84.

___________data types hold either a true or false value

A. string
B. boolean
C. variant
D. date
Answer» B. boolean
85.

when we Declaring a variable before programming start it is called as __________it tells Visual Basic to reserve space in memory.

A. explicit declaring
B. implicit declaring
C. public declaring
D. local declaring
Answer» A. explicit declaring
86.

______variables are not reinitialized each time Visual Invokes a
procedure and therefore retains or preserves value even when a
procedure ends

A. static
B. public
C. local
D. general
Answer» A. static
87.

when we declare the variable in _____ of VB then it is public variable

A. static
B. public
C. local
D. general
Answer» B. public
88.

when we declare the variable in a Particular control of vb then it is _________ variable .

A. static
B. public
C. local
D. general
Answer» C. local
89.

The ______ selection structure allows the programmer to specify that
a different action is to be performed when the condition is True than
when the condition is False.

A. if ... then ..else
B. do while
C. dynamic array
D. array
Answer» A. if ... then ..else
90.

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
Answer» C. dynamic array
91.

In ________ : The size of array always remains the same-size doesn't change during the program execution.

A. if ... then ..else
B. do while
C. dynamic array
D. fixed array
Answer» D. fixed array
92.

. ---- is an activity that occurs during program execution such as mouse click or keystroke.

A. event
B. module
C. code
D. property
Answer» A. event
93.

code in vb is stored in the form of ----

A. module
B. form
C. .vbp
D. none of these
Answer» A. module
94.

vb is an ----in which one can develop , run, test & debug applications.

A. object based programming language
B. script language
C. mobile application
D. none of these
Answer» A. object based programming language
95.

____are collections of small iconic button that resides in a Menu- bar

A. tool bar
B. command button
C. menu bar
D. tool box
Answer» C. menu bar
96.

.---- array size can be changed at run time .

A. dynamic
B. fixed
C. single dimension
D. double dimension
Answer» A. dynamic
97.

.----is the process of finding & removing errors.

A. debugging
B. error finding
C. processing
D. non of these
Answer» A. debugging
98.

The default property for a command control is ----

A. caption
B. text
C. list
D. background
Answer» A. caption
99.

VB is tool that allows you to develop application in ____

A. real time
B. gui
C. character
D. none of these
Answer» B. gui
100.

___object browser is used for finding out about object, properties & methods.

A. form layout window
B. code editor window
C. object browser
D. none of these
Answer» C. object browser

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.