These VB.NET multiple-choice questions and their answers will help you strengthen your grip on the subject of VB.NET. You can prepare for an upcoming exam or job interview with these 100+ VB.NET MCQs.
So scroll down and start answering.
A. Click
B. MultilineChanged
C. Tick
D. MouseMove
A. True
B. False
A. Attach to each SQLClient.SQLCommand
B. Attach to the SQLClient.SQLConnection
A. Activate( )
B. Show( )
C. ShowDialog( )
D. ShowModal()
E. LoadDialog()
A. Overrides
B. Shadows
C. Overloads
D. Implements
A. Dataset.SyncRequired
B. Dataset.IsDirty
C. Dataset.SaveRequired
D. Dataset.HasChanges
A. Instantiation
B. Assignment
C. Modification
D. Encapsulation
A. No
B. Yes
A. T-SQL
B. LINQ
C. WCF
D. PLINK
A. False
B. True
A. EndLoop
B. Do
C. End While
D. Next
A. system.object
B. system.base
C. assembly.root
D. net.base
A. CreateDirectory
B. FileLen( )
C. OpenFileDialog
D. System.IO.Directory
A. False
B. True
A. Push
B. Expel
C. Flush
D. Clear
A. Visible property to False
B. Visible property to True
C. ControlBox to True
D. ControlBox to False
A. Abstract classes
B. No other classes
C. Derived classes
A. custom design window
B. toolbox window
C. solutions explorer window
D. properties window
A. False
B. True
A. -1
B. 0
C. 1
D. Infinite
A. EndExecuteReader
B. ExecuteNonQuery
C. ExecuteScalar
D. ExecuteReader
A. C#
B. None of these
C. VB.NET
D. Both of them will run equally fast.
A. True
B. False
A. True
B. False
A. Sub
B. MyProcedure
C. Function
D. Call
A. False
B. True
A. ' apostrophe
B. / forward slash
C. { curly braces
D. $ dollar sign
A. the division operation of 7 / 2
B. the addition operation of 17 + 7
A. 4
B. 6
C. 1
D. -5
A. DataAdapter
B. DataConnection
C. SQLCommandBuilder
D. SQLDependency
A. layout toolbar
B. base toolbar
C. normal toolbar
D. project toolbar
A. DataGroup
B. Data.Set
C. System.Data
D. DataSet
A. milliseconds
B. seconds
C. nanoseconds
D. minutes
A. Windows Presentation Foundation
B. the Windows Forms Application
C. Console Application Template
D. Class Library Template
A. Light Interface Number Query
B. Linear Query
C. Language-Integrated Query
D. Lowest-Integrated Question
A. Kill
B. Exit Sub
C. Close Sub
D. End
E. End Sub
A. Static
B. Fixed
C. Private
D. Immutable
A. Generic
B. Fixed
C. Anonymous
D. Dynamic
A. If Not
B. GoTo
C. Else
D. End If
A. 4
B. 0
C. 3
A. exit
B. continue
C. exit Loop
D. exit For
A. False
B. True
A. Graphics object
B. Control Panel
C. Paint event
D. Pen Object
A. Option Strict On
B. Option Strict Off
C. Option Strict = 1
D. Options Strict True
A. Using both Get and Set
B. Using Only Set..EndSet with in property definition
C. Using Only Get..EndGet with in property definition
D. None of the above
A. - (hyphen)
B. & (ampersand)
C. $ (dollar sign)
D. # (hash)
A. System.Security.Permissions
B. Microsoft.Win32
C. System.Security.AccessControl
D. System.Security
A. Dataset.Copy
B. Dataset.Duplicate
C. Dataset.Clone
D. Dataset.Replicate
A. Integer
B. Object
C. Generic
D. String
A. Only methods in the same class
B. Anywhere in the same assembly
C. Anywhere in another assembly
D. Any derived class