VB .Net Online Test 2, Dot Net Question and Answers, .NET VB Quiz
Finish Quiz
0 of 20 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
Information
VB .Net Online Test 2, Dot Net Question and Answers, .NET VB Quiz. Practice Online FOR Dot Net Test and find out how much you score before you appear for your next Dot Net interview and written test. VB dot Net Online Test-2 Question and Answers. VB .Net online Test Quiz 2. VB .Net Test-2 Free Mock Test. VB .Net Online Test-2 Question and Answers in PDF. The VB .Net online mock test paper is free for all students. VB .Net Online Test is very useful for exam preparation and getting for Rank. VB .Net Online Test-2 Question and Answers in English. VB.Net Online Test for topic via String Handling Mode. Here we are providing VB.Net Online Test in English Now Test your self for “VB.Net Online Test in English” Exam by using below quiz…
This paper has 20 questions.
Time allowed is 25 minutes.
The VB.Net Online Test is Very helpful for all students. Now Scroll down below n click on “Start Quiz” or “Start Test” and Test yourself.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 20 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- Answered
- Review
-
Question 1 of 20
1. Question
Which of the following is an entry point method of VB.NET program?
Correct
Sub Main indicates the entry point of VB.Net program.
Incorrect
Sub Main indicates the entry point of VB.Net program.
-
Question 2 of 20
2. Question
Which of the following accesss modifier specifies that an attribute at the beginning of a source file applies to the entire assembly?
Correct
Assembly − Specifies that an attribute at the beginning of a source file applies to the entire assembly.
Incorrect
Assembly − Specifies that an attribute at the beginning of a source file applies to the entire assembly.
-
Question 3 of 20
3. Question
Which of the following accesss modifier specifies that Visual Basic should marshal strings according to .NET Framework rules?
Correct
Auto − The charset modifier part in the Declare statement supplies the character set information for marshaling strings during a call to the external procedure. It also affects how Visual Basic searches the external file for the external procedure name. The Auto modifier specifies that Visual Basic should marshal strings according to .NET Framework rules.
Incorrect
Auto − The charset modifier part in the Declare statement supplies the character set information for marshaling strings during a call to the external procedure. It also affects how Visual Basic searches the external file for the external procedure name. The Auto modifier specifies that Visual Basic should marshal strings according to .NET Framework rules.
-
Question 4 of 20
4. Question
Which of the following accesss modifier specifies that a property or procedure redeclares one or more existing properties or procedures with the same name?
Correct
Overloads − Specifies that a property or procedure redeclares one or more existing properties or procedures with the same name.
Incorrect
Overloads − Specifies that a property or procedure redeclares one or more existing properties or procedures with the same name.
-
Question 5 of 20
5. Question
Which of the following accesss modifier specifies that a variable or property can be read but not written?
Correct
ReadOnly − Specifies that a variable or property can be read but not written.
Incorrect
ReadOnly − Specifies that a variable or property can be read but not written.
-
Question 6 of 20
6. Question
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?
Correct
Structure − Declares the name of a structure and introduces the definition of the variables, properties, events, and procedures that the structure comprises.
Incorrect
Structure − Declares the name of a structure and introduces the definition of the variables, properties, events, and procedures that the structure comprises.
-
Question 7 of 20
7. Question
Which of the following statement is used to declare a delegate?
Correct
Delegate − Used to declare a delegate.
Incorrect
Delegate − Used to declare a delegate.
-
Question 8 of 20
8. Question
Which of the following directive helps in collapsing and hiding sections of code in Visual Basic files?
Correct
#Region − This directive helps in collapsing and hiding sections of code in Visual Basic files.
Incorrect
#Region − This directive helps in collapsing and hiding sections of code in Visual Basic files.
-
Question 9 of 20
9. Question
Which of the following Collection class of VB.NET uses a key as well as an index to access the items in a list?
Correct
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.
Incorrect
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.
-
Question 10 of 20
10. Question
User-defined exception classes are derived from the ApplicationException class in VB.NET?
Correct
User-defined exception classes are derived from the ApplicationException class.
Incorrect
User-defined exception classes are derived from the ApplicationException class.
-
Question 11 of 20
11. Question
Which of the following is a true about Object in VB.NET?
Correct
All of the above options are correct.
Incorrect
All of the above options are correct.
-
Question 12 of 20
12. Question
Which of the following accesss modifier specifies that an attribute at the beginning of a source file applies to the entire assembly?
Correct
Assembly − Specifies that an attribute at the beginning of a source file applies to the entire assembly.
Incorrect
Assembly − Specifies that an attribute at the beginning of a source file applies to the entire assembly.
-
Question 13 of 20
13. Question
Which of the following accesss modifier specifies that Visual Basic should marshal strings according to .NET Framework rules?
Correct
Auto − The charset modifier part in the Declare statement supplies the character set information for marshaling strings during a call to the external procedure. It also affects how Visual Basic searches the external file for the external procedure name. The Auto modifier specifies that Visual Basic should marshal strings according to .NET Framework rules.
Incorrect
Auto − The charset modifier part in the Declare statement supplies the character set information for marshaling strings during a call to the external procedure. It also affects how Visual Basic searches the external file for the external procedure name. The Auto modifier specifies that Visual Basic should marshal strings according to .NET Framework rules.
-
Question 14 of 20
14. Question
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?
Correct
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.
Incorrect
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.
-
Question 15 of 20
15. Question
Which of the following accesss modifier specifies that one or more declared programming elements are associated with a class or structure at large, and not with a specific instance of the class or structure?
Correct
Shared − Specifies that one or more declared programming elements are associated with a class or structure at large, and not with a specific instance of the class or structure.
Incorrect
Shared − Specifies that one or more declared programming elements are associated with a class or structure at large, and not with a specific instance of the class or structure.
-
Question 16 of 20
16. Question
Which of the following statement declares the name of a module and introduces the definition of the variables, properties, events, and procedures that the module comprises?
Correct
Module − Declares the name of a module and introduces the definition of the variables, properties, events, and procedures that the module comprises.
Incorrect
Module − Declares the name of a module and introduces the definition of the variables, properties, events, and procedures that the module comprises.
-
Question 17 of 20
17. Question
Which of the following statement declares the name of an interface and introduces the definitions of the members that the interface comprises?
Correct
Interface − Declares the name of an interface and introduces the definitions of the members that the interface comprises.
Incorrect
Interface − Declares the name of an interface and introduces the definitions of the members that the interface comprises.
-
Question 18 of 20
18. Question
Which of the following operator uses short-circuit evaluation to conditionally return one of two values?
Correct
If − It uses short-circuit evaluation to conditionally return one of two values. The If operator can be called with three arguments or with two arguments.
Incorrect
If − It uses short-circuit evaluation to conditionally return one of two values. The If operator can be called with three arguments or with two arguments.
-
Question 19 of 20
19. Question
Which of the following Collection class of VB.NET represents a last-in, first out collection of object?
Correct
Stack − It represents a last-in, first out collection of object. It is used when you need a last-in, first-out access of items. When you add an item in the list, it is called pushing the item, and when you remove it, it is called popping the item.
Incorrect
Stack − It represents a last-in, first out collection of object. It is used when you need a last-in, first-out access of items. When you add an item in the list, it is called pushing the item, and when you remove it, it is called popping the item.
-
Question 20 of 20
20. Question
The System.SystemException class is the base class for all predefined system exception in VB.NET?
Correct
The System.SystemException class is the base class for all predefined system exception.
Incorrect
The System.SystemException class is the base class for all predefined system exception.