• 1. 
    What data type would you use for a whole number?

  • String
  • Integer
  • Decimal
  • Boolean
  • 2. 
    How would you declare a variable for someone's age?

  • Dim age as string
  • Dim Number as decimal
  • Dim Number as integer
  • Dim Age as integer
  • 3. 
    What is wrong with the following Do loop? Dim index As Integer = 1 Do While index <> 9 MsgBox("Hello")index =index+1 Loop

  • (a)The test variable should not be changed inside a Do loop.
  • (b) The test condition will never be true.
  • (c) This is an infinite loop.
  • (d) Nothing
  • 4. 
    Which language is not a true object-oriented programming language?

  • Java
  • C++
  • VB 6
  • VB.NET
  • 5. 
    What is an IF statement also known as?

  • Options
  • Selection
  • Declaring
  • Choosing
  • 6. 
    If Francis wants to edit the BackColor, foreColor and visibility of the label, he must proceed to the _______________.

  • Toolbox
  • Property
  • Windows explorer
  • Solution explorer
  • 7. 
    Kuya Ruver is about to put all the objects on the form such as textbox and checkbox, what essential part of Visual Studio does he imply?

  • Property
  • Windows explorer
  • Toolbox
  • Solution explorer
  • 8. 
    All tools on your form should be named appropriately?

  • True
  • False
  • 9. 
    What data type would you use to return a value of true or false?

  • String
  • Integer
  • Real
  • Boolean
  • 10. 
    Private Sub disp () Dim num as Double = 10 Do While num > 1 MsgBox(num) num = num - 3Loop End Sub. What numbers will be displayed in the list box when the button is clicked?

  • (a) 10, 7, and 4
  • (b)  10, 7, 4, and 1
  • (c)10, 7, 4, 1, and -2
  • (d) no output
  • 11. 
    The variable that does not change the value during execution of program is…………..

  • A.  Numeric
  • B. Constant
  • C. String
  • D. All of the above
  • 12. 
    The first line of the code declares a class with the name of the form window

  • True
  • False
  • 13. 
    This symbol (<) means more than?

  • True
  • False
  • 14. 
    Which property determines whether a control is displayed to the user?

  • Show
  • Visible
  • Enabled
  • Hide
  • 15. 
    What data type would this information be?

  • Decimal
  • Currency
  • Integer
  • Number
  • 16. 
    Radio button are used when the user can choose more than one option

  • True
  • False
  • 17. 
    Varieties of Do Loop can not be used in Visual Basic

  • Do While_Loop
  • Do_Loop Until
  • Do_Loop while
  • Do while_Wend
  • 18. 
    If the loop is to be executed at least once, the condition should be checked at the __________.

  • (A)  top of the loop
  • (B)  middle of the loop
  • (C)  bottom of the loop
  • (D) Nothing should be checked.
  • 19. 
    Which of the following is a relational operator that means “Less than or Equal to”?

  • <=
  • >=
  • <>
  • =<
  • 20. 
    User can choose multiple choices or nothing in the control check box

  • True
  • False
  • 21. 
    MDI stands for

  • Manipulated Document Interface
  • Menu Design Interface
  • Multiple Design Interface
  • Multiple Document Interface
  • 22. 
    Variables are named storage locations in memory, the value of which does not change during program

  • execution
  • design
  • debug
  • none of the above
  • 23. 
    Which of these names would be most appropriate for a button that allows the user to submit the answer?

  • Answer
  • Button1
  • SubmitBttn
  • Button1.text
  • 24. 
    To start run the application press F5 on the key board

  • True
  • False
  • 25. 
    ……………… window we can write code

  • A.  Immediate window
  • B.     Locals window
  • C.  Code editor window
  • D.     None of these
  • 26. 
    What would be the best name for this control?

  • Textbox1.text
  • Textbox
  • Name
  • NameTxtbox
Report Question
warning
access_time
  Time