Enter your search terms
Submit search form
Web
examineonline.googlepages.com
Online Exam
>>
Programming
>>
VB.NET
>>
Test 2
Menu
Programming
COMPTIA
GMAT
English
IQ
DataBase
OS
MCSE
CISCO
Finance
Management
Health
Soft Skills
Web Building
Multimedia
Test 2
1 . How do you create method which can be accessed without the use of objects reference ?
A.
Using FRIEND Keyword
B.
Using STATIC Keyword
C.
Using SHARED Keyword
D.
NONE
2 . How do you declare variables in VB.NET ?
A.
Using Dimension keyword
B.
Using Dim keyword
C.
Both A & B
D.
None
3 . How do you implement inheritance in VB.NET?
A.
Using Extends Keyword
B.
Using Imports Keyword
C.
Using Override keyword
D.
None
4 . Which keyword refers the parent of the current object ?
A.
Me
B.
Super
C.
Mybase
D.
This
5 . Which keyword refers the current instance of an object ?
A.
This
B.
Me
C.
Myclass
D.
Mymodule
6 . How do you trigger an event in VB.NET ?
A.
RaiseEvent keyword
B.
TriggerEvent keyword
C.
AddEvent Keyword
D.
None
7 . How do you preserve the contents of an array from being cleared when the array is redimensioned?
A.
Using Redim Keyword
B.
Using Preserve Keyword
C.
Using Reserve Keyword
8 . Which are the exceptions that VB.Net supports ,C# & other languages doesn't support ?
A.
When Clause
B.
Exit Try statement
C.
Both A & B
D.
None
9 . What is the corresponding datatype in VB.Net for variant in VB ?
A.
Array
B.
Object
C.
List
D.
String
10 . What is the operator that is used to cast up & down the inheritance hierarchy?
A.
Casting
B.
DirectCast
C.
InheritenceCast
D.
LevelCasting
11 . Which class is used to run the EXE application file in VB.NET?
A.
Process
B.
Application
C.
Exe
D.
Execute
12 . Which data type of VB has been removed in VB.NET?
A.
String
B.
Double
C.
Byte
D.
Currency
13 . How does VB.NET achieve polymorphism?
A.
Encapsulation
B.
Main function
C.
Abstract Class/Functions
D.
Using Implementation
14 . How do you declare abstract members in VB.NET?
A.
Abstract
B.
Override
C.
Mustoverride
D.
Implements
15 . How do you achieve interface implementation in VB.NET?
A.
Implements
B.
Uses
C.
Imports
D.
Overrides
16 . How do you join strings in VB.NET ?
A.
+
B.
&
C.
Both A & B
17 . In VB.NET Optional parameters must be
A.
First parameter in method signature
B.
Second parameter in method signature
C.
Last parameter in method signature
D.
None
18 . In VB.NET default value for Boolean variable?
A.
True
B.
False
C.
Nothing
D.
Null
19 . By default VB.NET delegate refers
A.
Shared Methods
B.
Instance Methods
C.
Both A & B
D.
None
20 . Select the keyword used to compare the object variable?
A.
And
B.
OR
C.
IS
D.
OF
21 . How are the parameters referenced by default in VB.NET?
A.
By Object
B.
By Val
C.
By Ref
D.
None
22 . How do you limit implicit type conversion in VB.NET?
A.
Options Strict True
B.
Option Strict=1
C.
Option Strict On
D.
Option Strict off
23 . Clone method can create which type of object in VB.NET?
A.
Shallow Copy
B.
Deep Copy
C.
Either A or B
D.
None
24 . What is the purpose of Invoke Method?
A.
Used to call any procedure
B.
Used to call the procedure through Delegate variable
C.
Both
D.
None
25 . Which type of procedure does a delegate point to ?
A.
Static procedure
B.
Instance Procedure
C.
Both
26 . Which statement shows Boxing?
A.
Dim O as object=I ( as i an integer)
B.
Dim I as integer=O
C.
Both
27 . OPTION exists in VB.NET
A.
True
B.
False
28 . Dataset is always disconnected
A.
True
B.
False
29 . What is the lower bound value of array in VB.NET?
A.
0
B.
1
C.
2
D.
3
30 . Select the keyword used to declare an event signature
A.
Signature
B.
Event
C.
Esig
D.
Eref
Test Name :
Test 2
Category :
VB.NET
Number of Question :
30
Pass Score :
80
Test Result
Your Score :
Passing Score :
80
Result :
Copyright by
VanTuMinh
© 2007