Monday, 14 September 2015

VB Multiple Choice Questions And Answers

21. The smallest unit to which one can associate a version number in .NET is
B. Assembly
C. Namespace
D. None of the Above

22. Lower bound value of array in VB.NET
A. -1
B. 0
C. 2
D. 3

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

24. Which NameSpace is used to access the metadata in an Assembly?
A. System.XML
B. System.Assembler
C. System.Reflection
D. System.IO

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

26. In VB.NET, the finalizer must use the Overrides keyword
A. True
B. False

27. Which one of the following collections receives output from Trace and Debug classes?
A. Trace
B. Debug
C. Listeners
D. None

28. Using ___________ we can determine if a variable is initialized in VB.NET
A. IsDdNull( )
B. IsEmpty( )
C. ISNull( )

29. _________ can be accessed from all types within the assembly, but not from outside the assembly.
A. Public
B. Private
C. Friend
D. Protected
E. Protected Friend

30. How to dereference an object in VB.NET?
A. By setting the object to Null
B. By setting the object to Nothing
C. With Close keyword
D. None of the above

More Questions & Answers:-
Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8

No comments:

Post a Comment