Enter your search terms
Submit search form
Web
examineonline.googlepages.com
Online Exam
>>
Programming
>>
VB.NET
>>
Test 5
Menu
Programming
COMPTIA
GMAT
English
IQ
DataBase
OS
MCSE
CISCO
Finance
Management
Health
Soft Skills
Web Building
Multimedia
Test 5
1 . How many levels of compilation happens in .NET Framework
A.
One Level
B.
Two Level
C.
Three Level
2 . Much of the underlying integration of .NET is accomplished with XML
A.
True
B.
False
3 . Only few of the .NET framework's classes are available to VB.NET
A.
True
B.
False
4 . In VB.NET we have 2 different File extension for class Module files and for Forms
A.
True
B.
False
5 . An Assemblyinfo file in a VB.NET project will have _______ as file extesion.
A.
.config
B.
.vb
C.
.cs
6 . By default VB.NET compiler will create an assembly that is composed of 2 modules
A.
True
B.
False
7 . In VB.NET cross language integration is possible through
A.
Common type System
B.
Common Translation System
C.
Reflection
8 . It is not possible to derive a class in VB.Net from a class written in C#
A.
True
B.
False
9 . Every type supported by CTS is derived from
A.
System .Object
B.
System .Type
C.
System .Data
10 . All the attributes associated with VB.NET components are represented in 1 format and consolidated with in the files that make up the assembly
A.
True
B.
False
11 . Which of these tools is used to display the IL contained with in a module
A.
ATL Trace tool
B.
Spy ++
C.
Disassembler
12 . The VB code files will have the extension
A.
.vb
B.
.mod
C.
.config
13 . Value types represent simple data storage located on
A.
Stack
B.
Heap
C.
Managed Heap
14 . Reference Types are located on
A.
Stack
B.
Heap
C.
Managed Heap
15 . VB.Net has only 2 major variable types
A.
True
B.
False
16 . Which of the following Types will have data of fixed size
A.
Value Type
B.
Reference Type
C.
None
17 . Which of the following is not a value type in VB.NET
A.
Boolean
B.
Int16
C.
Byte
D.
String
18 . What is the operation that you can not do with primitive types
A.
Assign a value to primitive type using a literal
B.
Declare primitive types to be constant using the Const keyword
C.
Create a new instance of primitive type with New keyword
19 . Which of the following type has been introduced in VB.Net compare with VB
A.
Single
B.
Double
C.
Decimal
20 . What is the significance of Option Explicit statement when it is set to On
A.
Specifies that any variable name is declared (with type) before use
B.
Specifies whether strings should be compared as binary
C.
Specifies that variables should be initialized before use
21 . What is the significance of Option Compare statement when it is set to On
A.
Specifies that any variable name is declared (with type) before use
B.
Specifies whether strings should be compared as binary
C.
Specifies that variables should be initialized before use
22 . Which of the following are not a member of String Type
A.
Concat
B.
Copy
C.
Join
23 . Option base statement which was introduced in VB6 is till valid in VB.NET
A.
True
B.
False
24 . It is possible to specify the base of the array Other than 0
A.
True
B.
False
25 . Which of the following class does not belong to Collection namespace
A.
ArrayList
B.
Queue
C.
Stack
D.
DictionaryList
26 . The methods declared with the following modifier are not accessible outside the class
A.
Protected
B.
Friend
C.
Private
27 . The methods declared with the following modifiers are not accessible out side the current VB.NET project
A.
Public
B.
Protected
C.
Friend
28 . Which of the following methods still in use to access the COM objects in VB.NET but not used to access VB.NET objects
A.
New
B.
GetObject
C.
CreateObject
29 . Every statement in VB.NET must end with " ; "
A.
True
B.
False
30 . Class type in VB.NET is a value type
A.
True
B.
False
31 . The implementation code in a VB.Net method is enclosed between
A.
{ }
B.
( )
C.
Sub .. EndSub
32 . By default Main Method in VB.NET take command line arguments
A.
True
B.
False
33 . Every Class definition in VB.NET must end with
A.
End Sub
B.
End Class
C.
End
34 . When you a create a console application in VB.NET which of the following files are added by default to the project
A.
Assembly info file and a Class file
B.
Assembly info file and a Module file
C.
Class file and a Module file
35 . Every class should have the one of the following method so that an object can be constructed
A.
Sub New( )
B.
Sub Main ( )
C.
Sub Create( )
36 . Which method in VB.NET is called right before the object is destroyed
A.
Sealed
B.
Finalize
C.
Finally
37 . The concept where the compiler knows the object type before the compile time is
A.
Late Binding
B.
Early Binding
C.
None of binding
38 . How do we implement Late Binding in VB.NET
A.
Through the use of "Object" data type
B.
Through Inheritance
C.
Through abstraction
39 . It is not possible to put multiple classes in side a single .vb file
A.
True
B.
False
40 . The methods which return the values back to the calling code are called as
A.
Interrogative methods
B.
Imperative methods
C.
Constructors
41 . How do you implement interrogative methods in VB.NET
A.
Using Sub keyword
B.
Using Function Keyword
C.
Using New Keyword
42 . How do you terminate code execute with in a VB.NET method
A.
Exit Sub
B.
Exit
C.
Close
43 . How do you create a Read only Property in VB.NET
A.
Using Only Get..EndGet with in property definition
B.
Using Only Set..EndSet with in property definition
C.
Using both Get & Set
44 . VB.NET does not allow Parameterized properties
A.
True
B.
False
45 . Which keyword is used in the method declaration to handle an Event
A.
Event
B.
Handles
C.
Raise
46 . The constructors in VB.Net is similar to which event in previous versions of VB
A.
Class_Initialize
B.
Class_Load
C.
Class_Terminate
47 . How do you terminate an object in VB.NET
A.
By setting the object to Nothing
B.
By setting the object to Null
C.
By setting the object to Close
48 . Which interface allows to implement the Dispose method to do cleanup work
A.
Icleanup
B.
Idisposable
C.
Idestructor
49 . VB.NET allows to extend your own classes from base class library
A.
True
B.
False
50 . Shared method can be invoked directly from the class itself
A.
True
B.
False
Test Name :
Test 5
Category :
VB.NET
Number of Question :
50
Pass Score :
80
Test Result
Your Score :
Passing Score :
80
Result :
Copyright by
VanTuMinh
© 2007