0% found this document useful (0 votes)
124 views60 pages

Unit 1:-: Question Bank Multiple Choice Questions (MCQ)

This document contains a multiple choice question (MCQ) bank with questions about Visual Basic programming. It includes 30 questions about Visual Basic controls like text boxes, command buttons, images, etc. It also includes questions about variables, operators, control structures, looping, arrays, functions and more Visual Basic concepts. The questions are part of a class on Programming in Visual Basic for SYBBA students. Answers to the questions are provided at the end.

Uploaded by

14 21
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
124 views60 pages

Unit 1:-: Question Bank Multiple Choice Questions (MCQ)

This document contains a multiple choice question (MCQ) bank with questions about Visual Basic programming. It includes 30 questions about Visual Basic controls like text boxes, command buttons, images, etc. It also includes questions about variables, operators, control structures, looping, arrays, functions and more Visual Basic concepts. The questions are part of a class on Programming in Visual Basic for SYBBA students. Answers to the questions are provided at the end.

Uploaded by

14 21
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 60

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

Class:-SYBBA(CA) -Semester IV

Subject :- Programming in Visual Basic

Question Bank Multiple Choice Questions (MCQ)

Unit 1 :- Getting started with V. B.


-------------------------------------------------------------------------------------

1) _________this control is use to display the images

a) image

b) combo

c) shape

d)text

2) To change the control's Shape using the ______ property

a) image

b) combo

c) shape

d)text

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

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

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.

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

6) One of its most important properties of lable is ________

a) background

b) caption

c) Label

d)text

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

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

a) background

b) caption

c) Label

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

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

a) click

b) change

c)double click

d)text

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

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

a) picture box

b) combo

c) Label

d)text

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

12) Picture1.Picture=LoadPicture ("C:\VBprogram\Images\grape.gif")


it is syntax of the picture box .
a) True

b) False

c) Both

d) none of these.

13) The_______ Control is another control that handles images and


pictures
a) image control

b) Load picture

c) combo

d)text

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

14) The main property of Image Control is ______,


a) resize

b) stretchable

c) list

d) caption

15) The main property of Picture Box, is LoadPicture and _____ the
picture .
a) resize

b) stretchable

c) list

d) caption

16) 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

17) in list box , In order to add items to the list, we can use
the ______method.

a) resize

b) stretchable

c) add-item

d) caption

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

18 ) in ____ we present a list of items where the user can click and select
the items from the drop-down list.

a) combo box

b)check

c) radio

d)text

19) 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

20) . 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

21) the main property of check box is _____.


a) list

b)check

c) value

d)text

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

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

a) list

b)check

c) value

d)text

23) 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.

24) 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

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

25) 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.

26) 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

27) 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

28) The ____ means the Directory List Box.


a) drive list box
b) picture box
c) list box
d) dirlist box

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

29) _____ 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

30 ) _____ is for displaying a list of files in a selected drive or folder.

a) drive list box


b) picture box
c) file list box
d) dirlist box

31) The variable can be a declared by ____statement .


a) dim
b) var
c) $
d) none of these.

32) Following are the arithmetic operator .

a) <
b) >=
c) mod
d) >

33) Following are the condition operator .

a) OR
b) and
c) >
d) <=>

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

34) Following are the logical operator

a) +
b) or
c)/
d) ?

35) Following are the concatenation operator

a)+
b) &
c) &&
d) none of theses

36) the logical operator xor is used when One side or other must be
true but not both

a ) True
b) False
c ) Both true and false
d) none of these.

37) _________ is used to take decision .

a) if condition
b) while loop
c) for loop
d) wend

38) if condition is end by ____.


a) end if condition
b) next
c) stop
d) wend

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

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


a) end if condition
b) next
c) stop
d) nested

40) ________ 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

====================================================

1(a) 2(c) 3(d) 4(a) 5(c) 6(b) 7(d) 8(a) 9(a) 10(a)

11(b) 12(a) 13(a) 14(b) 15(a) 16(a) 17(c) 18(a) 19(b) 20(b)

21(b) 22(c) 23(a) 24(a) 25(a) 26(a) 27(a) 28(d) 29(d) 30(c)

31(a) 32(c) 33(a) 34(b) 35(b) 36(a) 37(a) 38(a) 39(d) 40(c)

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

Unit 2: Constants, Variables , Operators, Control Structure,


Looping & Array

Question Bank Multiple Choice Questions (MCQ)


------------------------------------------------------------------

1) __________structure can handle conditions with multiple outcomes in


an easier manner
a) select case control
b) next
c) if condition
d) nested

2) 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

3) in VB , The while loop is end by _____


a) stop
b) next
c) wend
d) nested

4) 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

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

5) 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

6) 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

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


a) msgbox()
b) inputbox()
c) print
d) nested

8) An _________ function will display a message box where the user can
enter a value.
a) msgbox()
b) inputbox()
c) print
d) nested

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

9) In VB , the______ is the function that computes the square root of a


number.
a) sqrt()
b) round()
c) abs()
d) Len()

10) 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()

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

a) sqrt()
b) round()
c) abs()
d) Len()

12) 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 ..

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

13) In VB, The _____function extracts a substring from the original


phrase or string

a) True

b) False

c) Both

d) None of these ..

14) In VB, The______ function converts all the characters of a string to


capital letters.

a) str()
b)Ucase()
c)val ()
d) Len()

15) In VB,The _____ is the function that converts a number to a string.

a) str()
b) Ucase()
c) val ()
d) Len()

15) In VB the _____function converts a string to a number.

a) str()
b) Ucase()
c) val ()
d) Len()

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

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

a) True

b) False

c) Both

d) None of these ..

17) 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

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

a) single dimension

b) double dimension

c) poly dimension

d) multi dimension

19) . ADO stands for ________

a) ActiveX data objects

b) ActiveX variable objects

c) Another data object

d) none of these.

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

20) ADO is ActiveX-based, it can work in different platforms and


different programming languages.

a) True

b) False

c) Both

d) None of these

21) ____ 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

22) To be able to access and manage a database, you need to connect the
ADO data control to a database file.

a)true

b ) false

c) Both

d) none of these

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

23)______file very necessary to connect to the access data base file by


ADO.

a) .mdb

b) .cls

c) .frm

d) .acca

24) 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.

25) 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.

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

26) The Visual Basic IDE is made up of a number of components but


following is not include it.

a) Menu Bar

b) Tool Bar

c)interpret

d) Properties window

27) _______ 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

28) The ________ contains a set of controls that are used to place on a
Form at design time thereby creating the user interface area. Additional
controls can be included in the toolbox by using the Components menu
item on the Project.

a)MDI

b)SDI

c) Menu bar

d) Toolbox

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

29) ________ 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

30) 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

31) The ________ is show under or below the Project Explorer window

a) Properties Window

b)Project Explorer

c) Menu bar

d) Toolbox

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

32) The ______ show the various characteristics of selected objects or


controls.

a) Properties Window

b)Project Explorer

c) Menu bar

d) Toolbox

33) _______ 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

34) 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

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

35) __________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

36) 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

37) All Code in Visual Basic is stored in the form of______

a) Properties Window

b)module

c) Object

d) Object Browser

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

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

a) Form Modules,

b) Standard Modules

c) Class Modules.

d) Basic Module.

39) The extension of class module is ______

a).cls

b) .frm

c) .Pvb

d) .mdb

40) The long form of SDI is _________

a) Multiple Document Interface

b)Single Document interface

c) Single data interface

d) system document interface

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

1(a) 2(d) 3(c) 4(a) 5(b) 6(a) 7(a) 8(b) 9(a) 10(b)

11(c) 12(a) 13(a) 14(b) 15(a) 16(a) 17(c) 18(b) 19(a) 20(a)

21(a) 22(a) 23(a) 24(a) 25(a) 26(c) 27(a) 28(d) 29(c) 30(b)

31(a) 32(a) 33(c) 34(d) 35(d) 36(a) 37(b) 38(d) 39(a) 40(b)

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

Unit 3:- Working with Controls


Question Bank Multiple Choice Questions (MCQ)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------

1) The long form of MDI is____________.

a) Multiple Document Interface

b)Single Document interface

c) Single data interface

d) system document interface

2)_______ 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

3) 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

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

4) 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

5) 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

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


return a value.

a)function procedure

b) procedure

c) MDI

d) SDI

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

7) A _________ is used to create and manipulate custom properties. It is


used to create read only properties for Forms

a)function procedure

b) procedure

c) MDI

d) SDI

8) 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

9) As per the syllabus we study version of VB is ___________

a) 6.0

b) 4.0

c) 6.22

d) 3.33

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

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

a) List box

b) radio

c) check box

d) none of these

11) ____________control which is a part of an option group allows the


user to select only one option even it displays multiple choices.

a) List box

b) radio

d) check box

d) none of these

12) __________Executes the timer events at specified intervals of time

a) List box

b) radio

c) check box

d) timer controls

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

13) ______ Use to store alphanumeric values. A variable length string can
store approximately 4 billion characters
a) String
b) Boolean
c) variant
d) date

14) _____________ is the default Visual Basic data type


a) String
b) Boolean
c) variant
d) date

15) . 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

16) 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

17)___________data types hold either a true or false value


a) String
b) Boolean
c) variant
d) date

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

18) 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

19) ______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

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


a) static
b) public
c) Local
d) general

21) when we declare the variable in a Particular control of vb then it is


_________ variable .
a) static
b) public
c) Local
d) general

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

22) 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

23) In _________: The size of the array can be changed at the run time-
size changes during the program execution.
a) if ... then ..else
b) do while
c) Dynamic array
d) array

24) 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

25) we set the property by __________


a) object browser
b) form layout
c) window state
d )property window

26) we set where to show the form by ______________this form property


a) object browser
b) form layout
c) window state
d ) none of these

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

27) extension of project of vb is ___


1).vbp
2) .frm
3) .bmp
4) .vb

28) extension of form of vb is ___


1).vbp
2) .frm
3) .bmp
4) .vb

29) we set the form property by maximize the window or minimize the
window by ____
a) window state property
b) view property
c) object browser
d) none of these

30). ---- is an activity that occurs during program execution such as mouse
click or keystroke.
a) event
b) module
c) code
d) property

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


a) module
b) form
c) .vbp
d) none of these

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

32) 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

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


a) tool bar
b) command button
c) menu bar
d) tool box

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


a) dynamic
b) fixed
c) single dimension
d) double dimension

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


a) debugging
b) error finding
c) processing
d) non of these

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


a) caption
b)text
c) list
d) background

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

37) VB is tool that allows you to develop application in ____

a)real time

b)GUI

c)character

d)none of these

38)___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

39)In vb variable name cannot be more than --- characters

a)255

b)300

c)355

d)4000

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

40)The function procedures are --- by default

1)public

2)private

3)protected

4)none of these

1(a) 2(a) 3(a) 4(a) 5(a) 6(b) 7(b) 8(d) 9(a) 10(a)

11(b) 12(d) 13(a) 14(c) 15(c) 16(d) 17(b) 18(a) 19(a) 20(b)

21(c) 22(a) 23(c) 24(d) 25(d) 26(b) 27(a) 28(b) 29(a) 30(a)

31(a) 32(a) 33(c) 34(a) 35(a) 36(a) 37(b) 38(c) 39(a) 40(a)

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

Unit 4 : Working with ActiveX Controls & Menus


Question Bank Multiple Choice Questions (MCQ)
-------------------------------------------------------------------------------------------------------

1) In vb ________ is the extension to represent project file.

a).frm

b).vbp

c).cls

d).vb

2)___is data type that can be used to declare a text of maximum 10


million.

a)date

b)long

c)numeric

d)string

3)The variable that does not change the value during execution of
program is______

a)numeric

b)string

c)constant

d)none

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

4).----is collection of files.

a)class

b)group

c)file

d)folder

5)The methods which loads the form into memory _______ it on screen.

a)load

b)show

c)display

d)all of above

6)The code in an application can be broken into logical component by ----


process

a)modular

b)procedural

c)partitioning

d)none of these

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

7)Vb allows programmers to define a data type before start the program
it is called ____

a) explicit

b)implicit

c) dim

d) none of these

8)VB allows programmers to without the declaring data type before start
the program it is called ____

a) explicit

b)implicit

c) dim

d) none of these

9)Variables are used to temporarily store data during execution of


application.

a) true

b) false

c) both

d) none of these

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

10)A variable is scoped to a global or local variable depending on how


it is declared.

a) true

b) false

c) both

d) none of these

11).--- is the process of putting two string together.

a) concatenation

b) grouping

c) remove

d) none of these

12)Which type of array requires two indexes to identify a particular


element.

(a)single dimensional array

(b)two dimensional array

(c)multidimensional array

(d)none of these

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

13) The size of array can be changed at run-time size changes during
program execution is called----.

(a)static array

(b)dynamic array

(c)both a and b

(d)none of these

14) .which symbol is used to concatenate two string?

(a)==

(b)&

(c)>=

(d)all of above

15) which of the following is not type of operator?

(a)arithmetic

(b)assignment

(c)concatenate

(d)control

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

16).----- is non-numeric data type.

(a)byte

(b)integer

(c)long

(d)date

17) The main Property of check box is _______ ___

a) check

b) value

c) stretch

d) load picture

18) The main Property of radio button box is ___ _______

a) check

b) value

c) stretch

d) load picture

19) ______ property is used set width and height of images .

a) check

b) value

c) stretch

d) load picture

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

20) Stretch property is used set_________of images .

a) width and height

b) border

c) color

d) load picture

21) What is the use of OLE

a) we can link to the other application

b) we can remove the other application

c) we can adjust the application

d) none of these

22) The main Property of label box is ___ _______

a) check

b) value

c) caption

d) load picture

23) The main Property of picture box is ___ _______

a) check

b) value

c) caption

d) picture

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

24) Progress bar is always work with _________control.

a) text box

b) Timer

c) menu

d) none of these.

25) To menu editor is available in ___________button of the mouse

a) left

b) right

c) got focus

d) none of these

26) To create the status bar the first we have to insert ____________

a) Picture box

2) Images box

3) Label box

4) none of these

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

27) ____________menu is open by right button of the mouse .

a) Short cut menu

b) Popup menu

c) Sub menu

d) none of these

28) To create menu on MDI form, we have to select _________

a) View code

b) menu editor

c) Images

d) Lock control

29) status bar is display at the _____of the mdi forms.

a) bottom

b) top

c) dim

d) frame

30) Toolbar is display at the __________ of the mdi form.

a) bottom

b) top

c) dim

d) frame

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

31)To declare the variable in vb _________-this key word is used

a) bottom

b) top

c) dim

d) frame

32)_______ is used to differentiate the one redio button group to another


radio button group.

a) bottom

b) top

c) dim

d) frame

33) in ______box & ____ can edit in run time

a) text box & combo box

b) list and combo

c) label and text

d) all of these.

34)Ms Access is used to ________

a) Store data

b) display data

c) create data

d) None of these

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

35) ADODC is used to ____________-

a) link to database

b) Create database

c) link with window

4) none of these

36)The data control s used to link _____________

a) oracle

b) ms-excel

c) Ms-access

d) none of these

37) Following properties is use full to link ms-access in ADODC.

a) Data source

b) Caption

c) text

d) list

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

38)VB is the example of____________software .

a) Backhand

b) front end

c) O.S

d) none of these.

39) The main property of ADODC control property is ___

a) data source

b)caption

c) text

d) none of these.

40) The IDE include all widow property, form, project ,form layout .

a) true

b) false

c) both

d) none of these

1(b) 2(d) 3(c) 4(d) 5(c) 6(b) 7(a) 8(b) 9(a) 10(a)

11(a) 12(b) 13(b) 14(b) 15(d) 16(d) 17(a) 18(b) 19(c) 20(a)

21(a) 22(c) 23(d) 24(b) 25(a) 26(b) 27(b) 28(b) 29(a) 30(b)

31(c) 32(d) 33(a) 34(a) 35(a) 36(c) 37(a) 38(b) 39(a) 40(a)

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

Unit 5: Working With Database

Question Bank Multiple Choice Questions (MCQ)


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

1) MS-access or oracle is the example of ___ _______software.

a) back end

b) front end

c)mathematical

d) none of these

2) The ____ include all widow property, form, project ,form layout .

a) IDE

b) ADODC

c) msaccess

d) none of these

3)_________ is used to link to the data base

a) ADODC

b) data base

c) MDI

4) none of these

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

4) In______box we can edit in run time

a) text box

b) list and combo

c) label and text

d) all of these.

5) _______is used to differentiate the one redio button group to another


radio button group.

a) frame

b) top

c) dim

d) list

6) Progress bar is always work with timer control.

a) true

b) false

c) both

d) none of these

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

7) What is the use of OLE

a) we can link to the other application

b) we can remove the other application

c) we can adjust the application

d) none of these

8) .which symbol is used to concatenate two string?

(a)==

(b)&

(c)>=

(d)all of above

9) .which of the following is type of operator?

(a)if condition

(b)loop

(c)select case

(d)Arithmetic

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

10).----- is non-numeric data type.

(a)byte

(b)integer

(c)long

(d)date

11) .the size of array can not be changed at run-time size changes
during program execution is called______

(a)static array

(b)dynamic array

(c)both a and b

(d)none

12).which type of array requires one indexes to identify a particular


element.

(a)single dimensional array

(b)two dimensional array

(c)multidimensional array

(d)none of these

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

13)_______is the process of finding & removing errors.


a) debugging
b) error finding
c) processing
d) none of these

14) VB is an ______________.
a) Object based programming language
b)Script language
c) mobile application
d) none of these

15) In _________ The size of the array can be changed at the run time- size
changes during the program execution.
a) if ... then ..else

b) do while

c) Dynamic array

d) array

16) The _______is show under or below the Project Explorer window

a) Properties Window

b)Project Explorer

c) Menu bar

d) Toolbox

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

17) 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

18) The Visual Basic IDE is made up of a number of components, which


one is not?

a) Menu Bar

b) compiler

c) Project Explorer

d) Properties window

19) ____________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

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

20) ADO is ActiveX-based, it can not work in different platforms and


different programming languages.

a) True

b) False

c) Both

d) None of these

21) in VB , ___ is used to enter the more then one value in a single
variable having different data types.

a) dim
b) structure
c) array
d) variable

22) In VB , array is divided into 3 types ., the second type is _____


a) single dimension

b) double dimension

c) poly dimension

d) multi dimension

23) in _________ we can edit in run time

a) text box

b) combo

c) label

d) all of these.

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

24) frame is used to differentiate the one radio button group to another
radio button group.

a) true

b) false

c) both a and b

d) none of these

25) which symbol is used for equal purpose ?

(a)==

(b)&

(c)>=

(d)all of above

26).----- is numeric data type.

(a)string

(b)Boolean

(c)long

(d)date

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

27).which type of array requires one indexes to identify a particular


element.

(a)single dimensional array

(b)two dimensional array

(c)multidimensional array

(d)none of these

28) vb is an ______________.
a) Object based programming language
b)Script language
c) mobile application
d) none of these

29) In_________The size of the array can be changed at the run time- size
changes during the program execution.
a) true

b) false

c) both

d) none of these

30) The_______ is show above the Properties Window

a) Properties Window

b)Project Explorer

c) Menu bar

d) Toolbox

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

31) Microsoft ActiveX Data Control 6 is insert from component , it is


used to load ADO control.

a) true

b) false

c) both

d) none of these

32) The Project Explorer is used to show quick reference to the various
elements of a project namely form, classes and modules

a) true

b) false

c) both

d) none of these

33)----- is date data type.

(a)string

(b)Boolean

(c)long

(d)date

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

34) single dimensional array requires one indexes to identify a


particular element.

a) true

b) false

c) both a and b

d) none of these

35) The most common event associated with the command button is
the Click event,

a) true

b) false

c)both a and b

d)none of these

36) The main property of Image Control is stretchable,


a) true

b) false

c)both a and b

d)none of these

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

37) The main property of ____, is LoadPicture and resize the picture .

a) picture

b) text

c) list

d) form

38 ) in Combo Box is we present a list of items where the user can


click and select the items from the __________

a)Drop down list

b)list

c) text box

d) label box

39) Following are not the arithmetic operator .

a) mod
b) <=
c) +
d) /

PROF. YOGESH P.DESHMUKH www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI,PUNE-45

40) Following are the not condition operator .


a) >
b) <
c) <>
d) mod

1(a) 2(a) 3(a) 4(a) 5(a) 6(a) 7(a) 8(b) 9(d) 10(d)

11(a) 12(a) 13(a) 14(a) 15(c) 16(a) 17(b) 18(b) 19(a) 20(b)

21(c) 22(c) 23(d) 24(a) 25(a) 26(c) 27(a) 28(a) 29(a) 30(b)

31(a) 32(a) 33(d) 34(a) 35(a) 36(a) 37(a) 38(a) 39(b) 40(d)

================////=END=///============================

PROF. YOGESH P.DESHMUKH www.dacc.edu.in

You might also like