Saturday, 24 December 2011

25. 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
Ans:B

24. Which NameSpace is used to access the metadata in an Assembly?


A. System.XML
B. System.Assembler
C. System.Reflection
D. System.IO
Ans:C

23. Which of the following is not correct about the value types and reference types in VB.NET?


A.  Dim statement is used to create a variable that represents a value type
B.  Data associated with a value type is allocated on the stack
C.  Reference types must be instantiated after declaration
D. Data associated with a reference type is allocated on the stack
Ans:D

22. Lower bound value of array in VB.NET?


A.  -1
B.  0
C.  2
D.  3
Ans:B

21. The smallest unit to which one can associate a version number in .NET is


A. CLR
B. Assembly
C.Namespace
D. None of the Above
Ans:B

20. Which of the following namespace provides support for obtaining information and dynamic creation of types at runtime?


A. System.IO
B. System.ComponentModel
C. System.Reflection
D. System.Data
Ans:D

19. which of the following is true about VB Generics?


A. VB Allows non-type template parameters
B. VB supports explicit specialization
C. VB allows the type parameters to be used as the base class for the generic type
D. VB allows a generic type parameter itself to to be a generic
E. VB enforces that all codes are valid for all types of parametrs
Ans: E