Q.1
Which language is not a true object-oriented programming language?
  • Java
  • C++
  • VB 6
  • VB.NET
Q.2
IDE acronym stands for Integrated Developers Environment.
  • True
  • False
Q.3
. The ____ statement checks in the module for usage of any undeclared variables and reports an error to the user.
  • looping.
  • iteration
  • dim
  • external
Q.4
.__________ cannot be declared in a form or class module.
  • a. Public constants
  • b. Private constants
  • c. Static constants
  • d. None of these.
Q.5
Which window displays a list of all forms and modules making up your application.
  • Project window
  • Properties window
  • Form layout Window
  • All of the above.
Q.6
Which property determines whether a control is displayed to the user?
  • Show
  • Visible
  • Enabled
  • Hide
Q.7
Keywords in Visual Basic are words that
  • should be used when naming variables.
  • are used to name controls, such as TextBox1, Command2, etc.
  • have special meaning and should not be used when naming variables.
  • are used as prefixes for control names (such as txt, btn, lbl, and lst).
Q.8
Statement A : Objects are actions usually triggered by system; Statement B : Collection of data types and data members are called class.
  • a. Statement A is True and B is False
  • b. Statement B is True and A is False
  • c. Both the statements are True
  • d. Both the statements are False
Q.9
Statement A : Decimal is not a DataType Statement B: Properties window is used to change program.
  • a. Statement A is True and B is False
  • b. Statement B is True and A is False
  • c. Both the statements are True
  • d. Both the statements are False
Q.10
Statement A :TextBox property is maxLength Statement B: Label property is Caption
  • a. Statement A is True and B is False
  • b. Statement B is True and A is False
  • c. Both the statements are True
  • d. Both the statements are False
Q.11
Statement A : Suffix for Long data type is & Statement A : Suffix for Currency data type is #
  • a. Statement A is True and B is False
  • b. Statement B is True and A is False
  • c. Both the statements are True
  • d. Both the statements are False
Q.12
This symbol (<) means more than?
  • True
  • False
Q.13
Statement A: Boolean means true or false Statement B: Actions triggered by the system are called object
  • a. Statement A is True and B is False
  • b. Statement  B is True and A is False
  • c. Both the statements are True
  • d. Both the statements are False
Q.14
What is wrong with the following Do loop? Dim index As Integer = 1 Do While index <> MsgBox("Hello")index =index+ 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
Q.15
Private Sub disp () Dim num as Double = 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
Q.16
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.
Q.17
Statement A: Label is not used to edit the name Statement B: TextBox is not used to take input;
  • a. Statement A is True and B is False
  • b. Statement B is True and A is False
  • c. Both the statements are True
  • d. Both the statements are False
Q.18
The form module has file extension ______
  • a. .frm
  • b. .frb
  • c. .fru
  • d. .fra
Q.19
What data type would you use for a whole number?
  • String
  • Integer
  • Decimal
  • Boolean
Q.20
A………. displays a list of items from which user can select one or more items
  • A. Combo box
  • B. List box
  • C. Check box
  • D.  Scroll bar
0 h : 0 m : 1 s