VB.Net Online Quiz - Tutorialspoint
Có thể bạn quan tâm
- 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
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- AI Based Resume Builder
- Personal AI Study Assistant
- Generate Coding Logic
- HR Interview Questions
- Computer Glossary
- Who is Who
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 a basic data type in VB.NET?
A - Boolean
B - Byte
C - Char
D - All of the above.
Answer : D
Explanation
All of the above are basic data types.
Show AnswerQ 2 - Which of the following converts the expression to SByte data type in VB.NET?
A - CObj(expression)
B - CSByte(expression)
C - CShort(expression)
D - CSng(expression)
Answer : B
Explanation
CSByte(expression) − Converts the expression to SByte data type.
Show AnswerQ 3 - Which of the following accesss modifier specifies that one or more declared programming elements are accessible from within the assembly that contains their declaration, not only by the component that declares them?
A - ByRef
B - ByVal
C - Default
D - Friend
Answer : D
Explanation
Friend − Specifies that one or more declared programming elements are accessible from within the assembly that contains their declaration, not only by the component that declares them.
Show AnswerQ 4 - Which of the following accesss modifier specifies that a property or procedure is not implemented in this class and must be overridden in a derived class before it can be used?
A - MustInherit
B - MustOverride
C - Narrowing
D - NotInheritable
Answer : B
Explanation
MustOverride − Specifies that a property or procedure is not implemented in this class and must be overridden in a derived class before it can be used.
Show AnswerQ 5 - Which of the following accesss modifier specifies that one or more declared local variables are to continue to exist and retain their latest values after termination of the procedure in which they are declared?
A - Shadows
B - Shared
C - Static
D - Unicode
Answer : C
Explanation
Static − Specifies that one or more declared local variables are to continue to exist and retain their latest values after termination of the procedure in which they are declared.
Show AnswerQ 6 - Which of the following statement declares the name of a structure and introduces the definition of the variables, properties, events, and procedures that the structure comprises?
A - Structure
B - Module
C - Interface
D - Function
Answer : A
Explanation
Structure − Declares the name of a structure and introduces the definition of the variables, properties, events, and procedures that the structure comprises.
Show AnswerQ 7 - Which of the following statement is used to declare a delegate?
A - Event
B - Delegate
C - Operator
D - Property
Answer : B
Explanation
Delegate − Used to declare a delegate.
Show AnswerQ 8 - Which of the following statement causes the loop to skip the remainder of its body and immediately retest its condition prior to reiterating?
A - Exit
B - Continue
C - GoTo
D - None of the above.
Answer : B
Explanation
Continue − Causes the loop to skip the remainder of its body and immediately retest its condition prior to reiterating.
Show AnswerQ 9 - Which of the following Collection class of VB.NET uses a key as well as an index to access the items in a list?
A - ArrayList
B - Hashtable
C - SortedList
D - Stack
Answer : C
Explanation
SortedList − It uses a key as well as an index to access the items in a list. A sorted list is a combination of an array and a hash table. It contains a list of items that can be accessed using a key or an index. If you access items using an index, it is an ArrayList, and if you access items using a key, it is a Hashtable. The collection of items is always sorted by the key value.
Show AnswerQ 10 - Which of the following is true about exceptions in VB.NET?
A - The exception classes in VB.NET are mainly directly or indirectly derived from the System.Exception class.
B - VB.NET exceptions are represented by classes.
C - Both of the above.
D - None of the above.
Answer : C
Explanation
Both of the above options are correct.
Show Answer vb.net_questions_answers.htm New Quiz AdvertisementsTừ khóa » Visual Basic Dot Net Mcq Pdf
-
Visual Basic .NET MCQ Question With Answer | PDF Download | 2022
-
1000 VB.NET MCQ (Multiple Choice Questions) - Sanfoundry
-
MCQ Of Visual Basic Dot Net (VB.Net) With Answer Set-2 - Gfgg
-
Visual Basic .NET MCQ Questions And Answers - JobsCaptain
-
Visual Basic (VB) MCQ Questions And Answers | Gkseries | Page-2
-
VB Net Multiple Choice Questions And Answers PDF - Scribd
-
Programming With Visual Basic Net Mcq Pdf
-
[PDF] B.Sc_.-Computer-Science_SF_16UCS517-DOT-NET-Programming ...
-
100+ VB NET MCQ | Visual Basic Multiple-Choice Questions
-
.NET Programming Solved MCQ's With PDF Download [set-2]
-
Visual Basic MCQs With Answers Pdf Sample Papers Download
-
VB.Net Part – 1 (in English)
-
Programming In Visual Basic Solved MCQ's With PDF Download [set-5]
-
VB.NET MCQ Questions With Answers ~ Garbage Collection.pdf