VB .Net Online Test 1, Dot Net Question and Answers, .NET VB Quiz
VB .Net Online Test 1, 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 1, 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-1 Question and Answers. VB .Net online Test Quiz 1. VB .Net Test-1 Free Mock Test. VB .Net Online Test-1 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-1 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 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 2 of 20
2. 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 3 of 20
3. Question
Which of the following directive conditionally compiles selected blocks of Visual Basic code?
Correct
#If…Then…#Else − This directive conditionally compiles selected blocks of Visual Basic code.
Incorrect
#If…Then…#Else − This directive conditionally compiles selected blocks of Visual Basic code.
-
Question 4 of 20
4. Question
Which of the following accesss modifier specifies that an argument is passed in such a way that the called procedure or property cannot change the value of a variable underlying the argument in the calling code?
Correct
ByVal − Specifies that an argument is passed in such a way that the called procedure or property cannot change the value of a variable underlying the argument in the calling code.
Incorrect
ByVal − Specifies that an argument is passed in such a way that the called procedure or property cannot change the value of a variable underlying the argument in the calling code.
-
Question 5 of 20
5. Question
Which of the following accesss modifier specifies that a function or Get accessor is an iterator?
Correct
Iterator − Specifies that a function or Get accessor is an iterator. An iterator performs a custom iteration over a collection.
Incorrect
Iterator − Specifies that a function or Get accessor is an iterator. An iterator performs a custom iteration over a collection.
-
Question 6 of 20
6. 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 7 of 20
7. Question
Which of the following statement declares and allocates storage space for one or more variables?
Correct
Dim − Declares and allocates storage space for one or more variables.
Incorrect
Dim − Declares and allocates storage space for one or more variables.
-
Question 8 of 20
8. 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 9 of 20
9. 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 10 of 20
10. Question
Which of the following converts the expression to Object data type in VB.NET?
Correct
CObj(expression) − Converts the expression to Object data type.
Incorrect
CObj(expression) − Converts the expression to Object data type.
-
Question 11 of 20
11. Question
Which of the following statement declares the name, parameters, and code that define a Sub procedure?
Correct
Sub − Declares the name, parameters, and code that define a Sub procedure.
Incorrect
Sub − Declares the name, parameters, and code that define a Sub procedure.
-
Question 12 of 20
12. Question
Which of the following converts the expression to Char data type in VB.NET?
Correct
CChar(expression) − Converts the expression to Char data type.
Incorrect
CChar(expression) − Converts the expression to Char data type.
-
Question 13 of 20
13. Question
Which of the following statement declares the name of a class and introduces the definition of the variables, properties, events, and procedures that the class comprises?
Correct
Class − Declares the name of a class and introduces the definition of the variables, properties, events, and procedures that the class comprises.
Incorrect
Class − Declares the name of a class and introduces the definition of the variables, properties, events, and procedures that the class comprises.
-
Question 14 of 20
14. Question
Which of the following statement declares the operator symbol, operands, and code that define an operator procedure on a class or structure?
Correct
Operator − Declares the operator symbol, operands, and code that define an operator procedure on a class or structure.
Incorrect
Operator − Declares the operator symbol, operands, and code that define an operator procedure on a class or structure.
-
Question 15 of 20
15. Question
Which of the following accesss modifier identifies a property as the default property of its class, structure, or interface?
Correct
Default − Identifies a property as the default property of its class, structure, or interface.
Incorrect
Default − Identifies a property as the default property of its class, structure, or interface.
-
Question 16 of 20
16. Question
Which of the following Collection class of VB.NET represents ordered collection of an object that can be indexed individually?
Correct
ArrayList − It represents ordered collection of an object that can be indexed individually. It is basically an alternative to an array. However, unlike array, you can add and remove items from a list at a specified position using an index and the array resizes itself automatically. It also allows dynamic memory allocation, add, search and sort items in the list.
Incorrect
ArrayList − It represents ordered collection of an object that can be indexed individually. It is basically an alternative to an array. However, unlike array, you can add and remove items from a list at a specified position using an index and the array resizes itself automatically. It also allows dynamic memory allocation, add, search and sort items in the list.
-
Question 17 of 20
17. 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 18 of 20
18. Question
Which of the following converts the expression to Decimal data type in VB.NET?
Correct
CDec(expression) − Converts the expression to Decimal data type.
Incorrect
CDec(expression) − Converts the expression to Decimal data type.
-
Question 19 of 20
19. Question
Which of the following accesss modifier specifies that an argument is passed by reference?
Correct
ByRef − Specifies that an argument is passed by reference, i.e., the called procedure can change the value of a variable underlying the argument in the calling code.
Incorrect
ByRef − Specifies that an argument is passed by reference, i.e., the called procedure can change the value of a variable underlying the argument in the calling code.
-
Question 20 of 20
20. Question
Which of the following operator returns the address of a procedure?
Correct
AddressOf − Returns the address of a procedure.
Incorrect
AddressOf − Returns the address of a procedure.