On This Page

This set of Programming in Visual Basic Multiple Choice Questions & Answers (MCQs) focuses on Working with Controls Set 1

Q1 | In VB, Standard modules and Class modules. provides three kind ofproperty procedures but following not include in this
  • property let procedure
  • property get procedure
  • property set procedure
  • property post procedure
Q2 | As per the syllabus we study version of VB is ___________
  • 6.0
  • 4.0
  • 6.22
  • 3.33
Q3 | __________ Displays a list of items from which a user can select one.
  • list box
  • radio
  • check box
  • none of these
Q4 | __________Executes the timer events at specified intervals of time
  • list box
  • radio
  • check box
  • timer controls
Q5 | ______ Use to store alphanumeric values. A variable length string canstore approximately 4 billion characters
  • string
  • boolean
  • variant
  • date
Q6 | _____________ is the default Visual Basic data type
  • string
  • boolean
  • variant
  • date
Q7 | . In Visual Basic if we declare a variable without any data type by__________this the data type is assigned as default..
  • string
  • boolean
  • variant
  • date
Q8 | A variable declared as __________ type can store both values and itcan store date values 01/01/0100 up to 12/31/9999
  • string
  • boolean
  • variant
  • date
Q9 | ___________data types hold either a true or false value
  • string
  • boolean
  • variant
  • date
Q10 | when we Declaring a variable before programming start it is calledas __________it tells Visual Basic to reserve space in memory.
  • explicit declaring
  • implicit declaring
  • public declaring
  • local declaring
Q11 | ______variables are not reinitialized each time Visual Invokes aprocedure and therefore retains or preserves value even when aprocedure ends
  • static
  • public
  • local
  • general
Q12 | when we declare the variable in _____ of VB then it is public variable
  • static
  • public
  • local
  • general
Q13 | when we declare the variable in a Particular control of vb then it is_________ variable .
  • static
  • public
  • local
  • general
Q14 | The ______ selection structure allows the programmer to specify thata different action is to be performed when the condition is True thanwhen the condition is False.
  • if ... then ..else
  • do while
  • dynamic array
  • array
Q15 | In _________: The size of the array can be changed at the run timesize changes during the program execution.
  • if ... then ..else
  • do while
  • dynamic array
  • array
Q16 | In ________ : The size of array always remains the same-size doesn'tchange during the program execution.
  • if ... then ..else
  • do while
  • dynamic array
  • fixed array
Q17 | . ---- is an activity that occurs during program execution such as mouseclick or keystroke.
  • event
  • module
  • code
  • property
Q18 | code in vb is stored in the form of ----
  • module
  • form
  • .vbp
  • none of these
Q19 | vb is an ----in which one can develop , run, test & debugapplications.
  • object based programming language
  • script language
  • mobile application
  • none of these
Q20 | ____are collections of small iconic button that resides in a Menu- bar
  • tool bar
  • command button
  • menu bar
  • tool box
Q21 | .---- array size can be changed at run time .
  • dynamic
  • fixed
  • single dimension
  • double dimension
Q22 | .----is the process of finding & removing errors.
  • debugging
  • error finding
  • processing
  • non of these
Q23 | The default property for a command control is ----
  • caption
  • text
  • list
  • background
Q24 | VB is tool that allows you to develop application in ____
  • real time
  • gui
  • character
  • none of these
Q25 | ___object browser is used for finding out about object, properties &methods.
  • form layout window
  • code editor window
  • object browser
  • none of these