visual-basic-mcqs - Set (3)

Correct Answer: Orange && Worng Answer: Red

1. The _____ is used for both the input and output.

  • (A). Label
  • (B). Text Box
  • (C). Combo Box
  • (D). Command Button
  • View Answer

    Explanation: Not Avilable

    2. In visual basic the declaration of variables is done by _____ keyword.

  • (A). Int
  • (B). Dim
  • (C). Static
  • (D). Declare
  • View Answer

    Explanation: Not Avilable

    3. _____ is a field in a table which contains unique data.

  • (A). Foreign
  • (B). Primary
  • (C). Both (a) and (b)
  • (D). None of these
  • View Answer

    Explanation: Not Avilable

    4. Which is not a main component of the visual studio IDE?

  • (A). Solution Explorer
  • (B). Tool Box
  • (C). Start Menu
  • (D). Designer Window
  • View Answer

    Explanation: Not Avilable

    5. _____ cannot be declared in a form or class module.

  • (A). Static constants
  • (B). Private constants
  • (C). Public constants
  • (D). None of these
  • View Answer

    Explanation: Not Avilable

    6. The _____ allows direct exit from a For loop, Do loop, sub procedure, or function procedure.

  • (A). Break
  • (B). Exit
  • (C). Exit for
  • (D). Exit do
  • View Answer

    Explanation: Not Avilable

    7. Which of the following arithmetic operations has the higest level of precedence?

  • (A). + –
  • (B). * /
  • (C). ^ exponentiation
  • (D). ()
  • View Answer

    Explanation: Not Avilable

    8. _____ is property which is used to hide the content in text box with some symbols.

  • (A). Name
  • (B). Caption
  • (C). Hidden
  • (D). Password char
  • View Answer

    Explanation: Not Avilable

    9. _____ method is used to retrieve the stored text from the clipboard.

  • (A). Input
  • (B). Gettext
  • (C). Addtext
  • (D). Settext
  • View Answer

    Explanation: Not Avilable

    10. Which of the following is not part of VB IDE?

  • (A). Code Editor Window
  • (B). Properties Window
  • (C). Intermediate Window
  • (D). Form Layout Window
  • View Answer

    Explanation: Not Avilable

    11. ______ is one of the common properties of control.

  • (A). Autosize
  • (B). Value
  • (C). Appearance
  • (D). Max length
  • View Answer

    Explanation: Not Avilable

    12. The reserved Visual Basic word Dim is short for Dimension, which mean?

  • (A). Declaration
  • (B). Size
  • (C). Storage location
  • (D). None of these
  • View Answer

    Explanation: Not Avilable

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

  • (A). Fixed
  • (B). Preserve
  • (C). Dynamic array
  • (D). Multidimensional
  • View Answer

    Explanation: Not Avilable

    14. _____ indicates whether a particular condition is on or off.

  • (A). Text box
  • (B). Check box
  • (C). List box
  • (D). Combo box
  • View Answer

    Explanation: Not Avilable

    15. From moused-down() procedure is executed when any mouse button is clicked in a free area of _____

  • (A). From
  • (B). Window
  • (C). Screen
  • (D). None of these
  • View Answer

    Explanation: Not Avilable