Visual Basic Quiz On Windows Forms! Trivia

10 Questions | Total Attempts: 514

SettingsSettingsSettings
Please wait...
Visual Basic Quiz On Windows Forms! Trivia

.


Questions and Answers
  • 1. 
    How many forms are created by default when you create a windows application in Visual Basic 2005 or above?
    • A. 

      0

    • B. 

      1

    • C. 

      2

    • D. 

      3

    • E. 

      4

  • 2. 
    A splash screen is automatically created with each windows application in Visual Basic 2005 or above?
    • A. 

      True

    • B. 

      False

  • 3. 
    To display a form named Form1, you can use
    • A. 

      Form1.display()

    • B. 

      Form1.dispose()

    • C. 

      Form1.show()

    • D. 

      Form1.hide()

    • E. 

      Form1.visible=true

  • 4. 
    To add a form you
    • A. 

      Click on solution explorer

    • B. 

      Click on properties window

    • C. 

      Click on toolbox

    • D. 

      Click on Project from main menu

  • 5. 
    To add a button on a form you
    • A. 

      Use solution explorer

    • B. 

      Use property window

    • C. 

      Use solution explorer and/or toolbox

    • D. 

      Use toolbox

  • 6. 
    To add an image to the form, you use
    • A. 

      Radio button

    • B. 

      Label

    • C. 

      Textbox

    • D. 

      Picturebox

  • 7. 
    To change the title of a form, you change following property:
    • A. 

      Text

    • B. 

      Name

    • C. 

      Title

    • D. 

      AccessibleName

  • 8. 
    To close a form named Form1, you can use:
    • A. 

      Form1.hide()

    • B. 

      Form1.close()

    • C. 

      Me.close()

    • D. 

      Form.exit()

  • 9. 
    A button's display name on the form can be changed by changing following property:
    • A. 

      Name

    • B. 

      Text

    • C. 

      Label

    • D. 

      Accessible name

  • 10. 
    You can see the code associated with a form by :
    • A. 

      Double clicking on the form and then click on "view code"

    • B. 

      Double clicking on the solution explorer

    • C. 

      Right clicking on the Form in Solution explorer and then clicking on "view code"

    • D. 

      Left clicking on the Form in Solution explorer and then clicking on "view code"