Unit 1:-: Question Bank Multiple Choice Questions (MCQ)
Unit 1:-: Question Bank Multiple Choice Questions (MCQ)
Class:-SYBBA(CA) -Semester IV
a) image
b) combo
c) shape
d)text
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
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
a) background
b) caption
c) Label
d)text
a) background
b) caption
c) Label
d)text
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
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
b) False
c) Both
d) none of these.
b) Load picture
c) combo
d)text
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
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
b)check
c) value
d)text
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.
a) shape
b) combo
c) picture box
d) images
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) <
b) >=
c) mod
d) >
a) OR
b) and
c) >
d) <=>
a) +
b) or
c)/
d) ?
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.
a) if condition
b) while loop
c) for loop
d) wend
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)
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
8) An _________ function will display a message box where the user can
enter a value.
a) msgbox()
b) inputbox()
c) print
d) nested
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 ..
a) True
b) False
c) Both
d) None of these ..
a) str()
b)Ucase()
c)val ()
d) Len()
a) str()
b) Ucase()
c) val ()
d) Len()
a) str()
b) Ucase()
c) val ()
d) Len()
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
a) single dimension
b) double dimension
c) poly dimension
d) multi dimension
d) none of these.
a) True
b) False
c) Both
d) None of these
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
a) .mdb
b) .cls
c) .frm
d) .acca
a)IDE
b) tool bar
c) menu bar
d) none of these.
a)IDE
b) tool bar
c) menu bar
d) none of these.
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
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
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
a) Properties Window
b)Project Explorer
c) Object
d) Object Browser
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
a) Properties Window
b)module
c) Object
d) Object Browser
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.
a).cls
b) .frm
c) .Pvb
d) .mdb
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)
2)_______ is used to work as parents, its main property is mdi child , all
the forms are open within MDI
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
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
a)function procedure
b) sub procedure
c) MDI
d) SDI
a)function procedure
b) procedure
c) MDI
d) SDI
a)function procedure
b) procedure
c) MDI
d) SDI
a) 6.0
b) 4.0
c) 6.22
d) 3.33
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
a) List box
b) radio
d) check box
d) none of these
a) List box
b) radio
c) check box
d) timer controls
13) ______ Use to store alphanumeric values. A variable length string can
store approximately 4 billion characters
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
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.
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.
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
32) vb is an ----in which one can develop , run, test & debug
applications.
a)real time
b)GUI
c)character
d)none of these
38)___object browser is used for finding out about object, properties &
methods.
c)object browser
d)none of these
a)255
b)300
c)355
d)4000
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)
a).frm
b).vbp
c).cls
d).vb
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
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
a)modular
b)procedural
c)partitioning
d)none of these
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
a) true
b) false
c) both
d) none of these
a) true
b) false
c) both
d) none of these
a) concatenation
b) grouping
c) remove
d) none of these
(c)multidimensional array
(d)none of these
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
(a)==
(b)&
(c)>=
(d)all of above
(a)arithmetic
(b)assignment
(c)concatenate
(d)control
(a)byte
(b)integer
(c)long
(d)date
a) check
b) value
c) stretch
d) load picture
a) check
b) value
c) stretch
d) load picture
a) check
b) value
c) stretch
d) load picture
b) border
c) color
d) load picture
d) none of these
a) check
b) value
c) caption
d) load picture
a) check
b) value
c) caption
d) picture
a) text box
b) Timer
c) menu
d) none of these.
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
b) Popup menu
c) Sub menu
d) none of these
a) View code
b) menu editor
c) Images
d) Lock control
a) bottom
b) top
c) dim
d) frame
a) bottom
b) top
c) dim
d) frame
a) bottom
b) top
c) dim
d) frame
a) bottom
b) top
c) dim
d) frame
d) all of these.
a) Store data
b) display data
c) create data
d) None of these
a) link to database
b) Create database
4) none of these
a) oracle
b) ms-excel
c) Ms-access
d) none of these
a) Data source
b) Caption
c) text
d) list
a) Backhand
b) front end
c) O.S
d) none of these.
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)
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
a) ADODC
b) data base
c) MDI
4) none of these
a) text box
d) all of these.
a) frame
b) top
c) dim
d) list
a) true
b) false
c) both
d) none of these
d) none of these
(a)==
(b)&
(c)>=
(d)all of above
(a)if condition
(b)loop
(c)select case
(d)Arithmetic
(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
(c)multidimensional array
(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
a)MDI
b)Project Explorer
c) Menu bar
d) Toolbox
a) Menu Bar
b) compiler
c) Project Explorer
d) Properties window
d) None of these
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
b) double dimension
c) poly dimension
d) multi dimension
a) text box
b) combo
c) label
d) all of these.
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
(a)==
(b)&
(c)>=
(d)all of above
(a)string
(b)Boolean
(c)long
(d)date
(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
a) Properties Window
b)Project Explorer
c) Menu bar
d) Toolbox
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
(a)string
(b)Boolean
(c)long
(d)date
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
b) false
c)both a and b
d)none of these
37) The main property of ____, is LoadPicture and resize the picture .
a) picture
b) text
c) list
d) form
b)list
c) text box
d) label box
a) mod
b) <=
c) +
d) /
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=///============================