What happens when both the minimize box and maximize box property are set to false in Visual Basic?
a) Both are removed from the title bar
b) Both are disabled
c) This situation shows an exception
d) This situation shows an error
Explanation: When both the minimize box property and maximize box property are set to false, the buttons are not disabled that is they are not grayed out, instead they are removed from the title bar.
In Visual Basic, which of the following keyword tells the computer to pass the variable’s address rather than its contents?
a) ByAdd
b) ByPoint
c) ByRef
d) ByVal
Which of the following forces a literal constant to assume a data type other than the one its form indicates?
a) Any literal
b) Keyword
c) Literal type constant
d) Literal type variable
Which of the following is used to display a message box in Visual Basic?
a) MessageBox.Show
b) MessageBox.show
c) MessageBox
d) AlertBox.View
In Visual Basic, which of the following method converts a string to a number?
a) Convert
b) Tryparse
c) Extern
d) Parse
Which of the following is used to convert a number from one data type to another in visual studio?
a) Literal constant
b) Object
c) Convert class
d) Parser