- VB.Net Basic Tutorial
- 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 Advanced Tutorial
- 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 SByte data type in VB.NET?
Answer : B
Explanation
CSByte(expression) − Converts the expression to SByte data type.
Q 3 - Which of the following accesss modifier specifies that a function or Get accessor is an iterator?
Answer : B
Explanation
Iterator − Specifies that a function or Get accessor is an iterator. An iterator performs a custom iteration over a collection.
Q 4 - Which of the following accesss modifier specifies that a property or procedure can be overridden by an identically named property or procedure in a derived class?
Answer : A
Explanation
Overridable − Specifies that a property or procedure can be overridden by an identically named property or procedure in a derived class.
Q 5 - Which of the following accesss modifier indicates that a class or structure declaration is a partial definition of the class or structure?
Answer : D
Explanation
Partial − Indicates that a class or structure declaration is a partial definition of the class or structure.
Q 6 - Which of the following statement declares an enumeration and defines the values of its members?
Answer : C
Explanation
Enum − Declares an enumeration and defines the values of its members.
Q 7 - Which of the following statement declares a user-defined event?
Answer : A
Explanation
Event − Declares a user-defined event.
Q 8 - Which of the following operator is applied to an operand in an asynchronous method or lambda expression to suspend execution of the method until the awaited task completes?
Answer : B
Explanation
Await − It is applied to an operand in an asynchronous method or lambda expression to suspend execution of the method until the awaited task completes.
Q 9 - Which of the following property of Array class in VB.NET checks whether the Array has a fixed size?
Answer : A
Explanation
IsFixedSize gets a value indicating whether the Array has a fixed size.
Q 10 - The System.SystemException class is the base class for all predefined system exception in VB.NET?
Answer : A
Explanation
The System.SystemException class is the base class for all predefined system exception.
To Continue Learning Please Login
Login with Google