Chapter: Getting started with V. B.
1.

_________this control is use to display the images

A. image
B. combo
C. shape
D. text
Answer» A. image
2.

To change the control's Shape using the ______ property

A. image
B. combo
C. shape
D. text
Answer» C. shape
3.

The ____box is the standard control for accepting input from the user as well as to display the output.......

A. image
B. combo
C. shape
D. text
Answer» D. text
4.

text box can handle string (text) and numeric data but not images or pictures

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

The ________ is a very useful control for Visual Basic, as it is not only
used to provide instructions and guides to the users, it can also be used
to display outputs.

A. image
B. combo
C. label
D. text
Answer» C. label
6.

One of its most important properties of lable is ________

A. background
B. caption
C. label
D. text
Answer» B. caption
7.

One of its most important properties of text box is ______.

A. background
B. caption
C. label
D. text
Answer» D. text
8.

The _______ is one of the most important controls as it is used to execute commands.

A. command button
B. radio
C. label
D. text
Answer» A. command button
9.

The most common event associated with the command button is the _____ event,

A. click
B. change
C. double click
D. text
Answer» A. click
10.

The ______ is one of the controls that is used to handle graphics

A. picture box
B. combo
C. label
D. text
Answer» A. picture box
11.

In Picture box You can also load the picture at runtime using the ____method.

A. picture box
B. load picture
C. resize
D. text
Answer» B. load picture
12.

The_______ Control is another control that handles images and pictures

A. image control
B. load picture
C. combo
D. text
Answer» A. image control
13.

The main property of Picture Box, is LoadPicture and _____ the picture .

A. resize
B. stretchable
C. list
D. caption
Answer» A. resize
14.

The function of the ____ is to present a list of items where the user can click and select the items from the list.

A. listbox control
B. check
C. radio
D. text
Answer» A. listbox control
15.

The_____ control lets the user selects or unselects an option we can select more than one option from the group.

A. combo box
B. checkbox
C. radio
D. text
Answer» B. checkbox
16.

. When the _____is checked, its value is set to 1 and when it is unchecked, the value is set to 0.

A. combo box
B. checkbox
C. radio
D. text
Answer» B. checkbox
17.

the main property of check box is _____.

A. list
B. check
C. value
D. text
Answer» B. check
18.

The OptionButton control is used to selects one of the choices. its main property is ________value.

A. list
B. check
C. value
D. text
Answer» C. value
19.

When an option box is selected, its value is set to “True” and when it is unselected; its value is set to “False”.

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

the _____control is placed in the form together with six OptionButtons. To determine the shape of the shape control.

A. shape
B. combo
C. picture box
D. images
Answer» A. shape
21.

The property values of the shape control are 0, 1, and 2,3,4,5 which
will make it appear as a rectangle, a square, an oval shape, a circle, a
rounded rectangle and a rounded square respectively.

A. true
B. false
C. both a and b
D. none of these.
Answer» A. true
22.

The _____ is for displaying a list of drives available in your computer

A. drive list box
B. picture box
C. list box
D. dirlist box
Answer» A. drive list box
23.

When you place _____ control into the form and run the program, you will be able to select different drives from your compute

A. drive list box
B. picture box
C. list box
D. dirlist box
Answer» A. drive list box
24.

The ____ means the Directory List Box.

A. drive list box
B. picture box
C. list box
D. dirlist box
Answer» D. dirlist box
25.

_____ is for displaying a list of directories or folders in a selected drive

A. drive list box
B. picture box
C. file list box
D. dirlist box
Answer» D. dirlist box
26.

The variable can be a declared by ____statement .

A. dim
B. var
C. $
D. none of these.
Answer» A. dim
27.

Following are the logical operator

A. +
B. or
C. /
D. ?
Answer» B. or
28.

Following are the concatenation operator

A. +
B. &
C. &&
D. none of theses
Answer» B. &
29.

_________ is used to take decision .

A. if condition
B. while loop
C. for loop
D. wend
Answer» A. if condition
30.

if condition is end by ____.

A. end if condition
B. next
C. stop
D. wend
Answer» A. end if condition
31.

In _____ if condition we can check more then one condition .

A. end if condition
B. next
C. stop
D. nested
Answer» D. nested
32.

________ is used to check the condition with step by step by in this also we the condition more than one .

A. end if condition
B. next
C. else if ladder
D. nested
Answer» C. else if ladder
Chapter: Constants, Variables , Operators, Control Structure
33.

__________structure can handle conditions with multiple outcomes in an easier manner

A. select case control
B. next
C. if condition
D. nested
Answer» A. select case control
34.

When you have a loop within a loop, then you have created a______.

A. select case control
B. next
C. if condition
D. nested loop
Answer» D. nested loop
35.

in VB , The while loop is end by _____

A. stop
B. next
C. wend
D. nested
Answer» C. wend
36.

in _______ , first we check the condition , if the condition is true then it execute the true statement .

A. while
B. do while
C. if condition
D. nested
Answer» A. while
37.

In _______ first we execute the true statement . then we check the
condition if the condition is true then it again execute the true
statement .

A. while
B. do while
C. if condition
D. nested
Answer» B. do while
38.

in VB , The _______ first we check the condition , if the condition is true then it execute the true statement same as while condition .

A. for loop
B. do while
C. if condition
D. nested
Answer» A. for loop
39.

The function of _________ is to give a pop-up message to the user.

A. msgbox()
B. inputbox()
C. print
D. nested
Answer» A. msgbox()
40.

An _________ function will display a message box where the user can enter a value.

A. msgbox()
B. inputbox()
C. print
D. nested
Answer» B. inputbox()
41.

In VB , the______ is the function that computes the square root of a number.

A. sqrt()
B. round()
C. abs()
D. len()
Answer» A. sqrt()
42.

In VB, ______ is the function that rounds up a number to a certain number of decimal places.

A. sqrt()
B. round()
C. abs()
D. len()
Answer» B. round()
43.

In VB, _________is the function that returns the absolute value of a number.

A. sqrt()
B. round()
C. abs()
D. len()
Answer» C. abs()
44.

In VB, The Len function returns an integer value which is the length of a phrase or a sentence, including the empty spaces.

A. true
B. false
C. both a and b
D. none of these ..
Answer» A. true
45.

In VB, The _____function extracts a substring from the original phrase or string

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

In VB, The______ function converts all the characters of a string to capital letters.

A. str()
B. ucase()
C. val ()
D. len()
Answer» B. ucase()
47.

In VB the _____function converts a string to a number.

A. str()
B. ucase()
C. val ()
D. len()
Answer» A. str()
48.

) In VB ,We can use Public or Dim statement to declare an array .

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

in VB , _______is used to enter the more then one value in a single variable having same data types.

A. dim
B. structure
C. array
D. variable
Answer» C. array
50.

In VB , array is divided into 3 types ., the second type is ______.

A. single dimension
B. double dimension
C. poly dimension
D. multi dimension
Answer» B. double dimension
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
Tags
Question and answers in Programming in Visual Basic, Programming in Visual Basic multiple choice questions and answers, Programming in Visual Basic Important MCQs, Solved MCQs for Programming in Visual Basic, Programming in Visual Basic MCQs with answers PDF download