Who developed Visual Basic?
Visual Basic MCQ Practice
Which of the following statement is used to define a class in visual basic?
Which of the following extension is used to represent the project file in Visual Basic?
If you keep a variable undeclared, it is automatically taken as to which of the following data type in Visual Basic?
Which of the following applications can be developed using Visual Basic tool?
In Visual Basic, which of the following is used for coding single-alternative and dual-alternative selection structures?
What will be the output of the following Visual Basic code, If the intnumber variable is 110? If intnumber<=100 Then Intnumber=intnumber*2; Else Intnumber=intnumber*3; EndIf
In the Visual Basic application, which of the following are listed in a properties window?
What will be the output of the following Visual Basic expression? Financial.Pmt (0.05, 3, 9000)
Which of the following is commonly used to perform an immediate action when clicked in Visual Studio?
In the following Visual Basic code, what will be in msg, if str contains “visual basic”? Dim str as String Dim msg as String If str.toUpper=”VISUAL BASIC” msg=”VB.Net” Else msg=”Not Visual Basic” EndIf
Which of the following displays the list of projects contained in the Visual Basic current solution?
Which of the following method is used to sort an array in visual basic?
Which of the following is the caption part for the following Visual Basic command? MessageBox.Show("Delete Visual Basic?","VB.Net",MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button2).
Which of the following instruction tells the computer to close the current form in Visual Basic?
Object respond to an event by writing __________
What output will be returned if the following Visual Basic code is executed? strVisualBasic = "Sanfoundry, VB.Net" intCharIndex = strVisualBasic.IndexOf("VB")
What will be the output of the following Visual Basic code? Dim intScores As Integer = {78, 83, 75, 90} Array.Reverse(intScores)
Which of the following is used to write a stream of characters in Visual Basic?
What is the value of len in the following Visual Basic code? Dim strVB() As String = {"Sanfoundry", "Visual Basic", "VB.Net", "Visual Studio"} Dim len As Integer len = strVB.Length()
Which of the following is the default name assigned to the label control in Visual Basic?
Which of the following toolbox is used to include an image on the Visual Basic form?
In visual basic language what are the rules of a programming language called?
What happens when both the minimize box and maximize box property are set to false in Visual Basic?
In Visual Basic, which of the following keyword tells the computer to pass the variable's address rather than its contents?
Which of the following forces a literal constant to assume a data type other than the one its form indicates?
Which of the following is used to display a message box in Visual Basic?
In Visual Basic, which of the following method converts a string to a number?
Which of the following is used to convert a number from one data type to another in visual studio?
Which of the following type of constant is ControlChars.NewLine constant?