On This Page

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

Q1 | In vb variable name cannot be more than --- characters
  • 255
  • 300
  • 355
  • 4000
Q2 | In vb ________ is the extension to represent project file.
  • .frm
  • .vbp
  • .cls
  • .vb
Q3 | ___is data type that can be used to declare a text of maximum 10million.
  • date
  • long
  • numeric
  • string
Q4 | The variable that does not change the value during execution ofprogram is______
  • numeric
  • string
  • constant
  • none
Q5 | none of these36)The data control s used to link _____________
  • oracle
  • ms-excel
  • ms-access
  • none of these
Q6 | The methods which loads the form into memory _______ it on screen.
  • load
  • show
  • display
  • all of above
Q7 | The code in an application can be broken into logical component by ----process
  • modular
  • procedural
  • partitioning
  • none of these
Q8 | Vb allows programmers to define a data type before start the programit is called ____
  • explicit
  • implicit
  • dim
  • none of these
Q9 | VB allows programmers to without the declaring data type before startthe program it is called ____
  • explicit
  • implicit
  • dim
  • none of these
Q10 | Variables are used to temporarily store data during execution ofapplication.
  • true
  • false
  • both
  • none of these
Q11 | A variable is scoped to a global or local variable depending on howit is declared.
  • true
  • false
  • both
  • none of these
Q12 | .--- is the process of putting two string together.
  • concatenation
  • grouping
  • remove
  • none of these
Q13 | The main Property of check box is _______ ___
  • check
  • value
  • stretch
  • load picture
Q14 | The main Property of radio button box is ___ _______
  • check
  • value
  • stretch
  • load picture
Q15 | ______ property is used set width and height of images .
  • check
  • value
  • stretch
  • load picture
Q16 | Stretch property is used set_________of images .
  • width and height
  • border
  • color
  • load picture
Q17 | The main Property of picture box is ___ _______
  • check
  • value
  • caption
  • picture
Q18 | Progress bar is always work with _________control.
  • text box
  • timer
  • menu
  • none of these.
Q19 | To menu editor is available in ___________button of the mouse
  • left
  • right
  • got focus
  • none of these
Q20 | ____________menu is open by right button of the mouse .
  • short cut menu
  • popup menu
  • sub menu
  • none of these
Q21 | To create menu on MDI form, we have to select _________
  • view code
  • menu editor
  • images
  • lock control
Q22 | status bar is display at the _____of the mdi forms.
  • bottom
  • top
  • dim
  • frame
Q23 | Toolbar is display at the __________ of the mdi form.
  • bottom
  • top
  • dim
  • frame
Q24 | To declare the variable in vb _________-this key word is used
  • bottom
  • top
  • dim
  • frame
Q25 | What is the use of OLE
  • we can link to the other application
  • we can remove the other application
  • we can adjust the application
  • none of these