
- VB.Net - Home
- VB.Net - Overview
- VB.Net - Environment Setup
- VB.Net - Program Structure
- VB.Net - Basic Syntax
- VB.Net - Data Types
- VB.Net - Variables
- VB.Net - Constants
- VB.Net - Modifiers
- VB.Net - Statements
- VB.Net - Directives
- VB.Net - Operators
- VB.Net - Decision Making
- VB.Net - Loops
- VB.Net - Strings
- VB.Net - Date & Time
- VB.Net - Arrays
- VB.Net - Collections
- VB.Net - Functions
- VB.Net - Subs
- VB.Net - Classes & Objects
- VB.Net - Exception Handling
- VB.Net - File Handling
- VB.Net - Basic Controls
- VB.Net - Dialog Boxes
- VB.Net - Advanced Forms
- VB.Net - Event Handling
- VB.Net - Regular Expressions
- VB.Net - Database Access
- VB.Net - Excel Sheet
- VB.Net - Send Email
- VB.Net - XML Processing
- VB.Net - Web Programming
- VB.Net Useful Resources
- VB.Net - Quick Guide
- VB.Net - Useful Resources
- VB.Net - Discussion
VB.Net Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to VB.Net. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Q 1 - Which of the following is correct about VB.NET?
Answer : C
Explanation
None of the above options are correct.
Q 2 - Which of the following converts the expression to Single data type in VB.NET?
Answer : D
Explanation
CSng(expression) − Converts the expression to Single data type.
Q 3 - Which of the following accesss modifier is used in generic interfaces and delegates?
Answer : A
Explanation
In − It is used in generic interfaces and delegates.
Q 4 - Which of the following accesss modifier specifies that the type is covariant?
Answer : C
Explanation
Out − For generic type parameters, the Out keyword specifies that the type is covariant.
Q 5 - Which of the following accesss modifier specifies that one or more declared programming elements are accessible only from within their own class or from a derived class?
Answer : B
Explanation
Protected − Specifies that one or more declared programming elements are accessible only from within their own class or from a derived class.
Q 6 - Which of the following accesss modifier specifies that one or more declared member variables refer to an instance of a class that can raise events?
Answer : B
Explanation
WithEvents − Specifies that one or more declared member variables refer to an instance of a class that can raise events.
Q 7 - Which of the following statement declares the name, parameters, and code that define a Sub procedure?
Answer : A
Explanation
Sub − Declares the name, parameters, and code that define a Sub procedure.
Q 8 - Which of the following statement terminates the loop or select case statement and transfers execution to the statement immediately following the loop or select case?
Answer : A
Explanation
Exit − Terminates the loop or select case statement and transfers execution to the statement immediately following the loop or select case.
Q 9 - Which of the following property of Array class in VB.NET gets a 32-bit integer, the total number of elements in all the dimensions of the Array?
Answer : C
Explanation
Length gets a 32-bit integer that represents the total number of elements in all the dimensions of the Array.
Q 10 - Which of the following is true about System.ApplicationException class in VB.NET?
A - The System.ApplicationException class supports exceptions generated by application programs.
B - Exceptions defined by the programmers should derive from this class.
Answer : C
Explanation
Both of the above options are correct.