76
82.1k
Chapter:

30+ Working with Controls Solved MCQs

in Programming in Visual Basic

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: Working with Controls
1.

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
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
Answer» A. multiple 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
Answer» A. parents
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
Answer» A. mdi child
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
Answer» A. function procedure
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
Answer» B. procedure
7.

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

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
9.

__________ 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
10.

__________Executes the timer events at specified intervals of time

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

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

_____________ is the default Visual Basic data type

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

. 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
14.

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

___________data types hold either a true or false value

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

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

______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
18.

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

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

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

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
21.

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

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

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

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

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

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

____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
27.

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

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

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

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

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

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

VB is tool that allows you to develop application in ____

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

___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
32.

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

A. 255
B. 300
C. 355
D. 4000
Answer» A. 255

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.