VB (Visual Basic) .Net Quiz

VB (Visual Basic) .Net Quiz

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

How many levels of compilation happens in .NET Framework

  1. One
  2. Two
  3. Three
Question 2 Multiple Choice (Single Answer)

Most of the underlying integration of .NET is done through XML

  1. True
  2. False
Question 3 Multiple Choice (Single Answer)

An Assemblyinfo file in a VB.NET project will have blank as file extesion.

  1. .config
  2. .vb
  3. .cs
Question 4 Multiple Choice (Single Answer)

Every type supported by CTS is derived from

  1. System .Object
  2. System .Type
  3. System .Data
Question 5 Multiple Choice (Single Answer)

Which of the following Types will have data of fixed size

  1. Value Type
  2. Reference Type
  3. None
Question 6 Multiple Choice (Single Answer)

What is the significance of Option Explicit statement when it is set to On

  1. Specifies that any variable name is declared (with type) before use
  2. Specifies whether strings should be compared as binary
  3. Specifies that variables should be initialized before use
Question 7 Multiple Choice (Single Answer)

Which of the following class does not belong to Collection namespace

  1. ArrayList
  2. Queue
  3. DictionaryList
  4. Stack
Question 8 Multiple Choice (Single Answer)

Methods declared with the following modifier are not accessible outside the class

  1. Private
  2. Protected
  3. Friend
  4. Global
Question 9 Multiple Choice (Single Answer)

The methods which return the values back to the calling code are called as

  1. Constructors
  2. Interrogative methods
  3. Imperative methods
Question 10 Multiple Choice (Single Answer)

How do you terminate code execute with in a VB.NET method

  1. Exit
  2. Close Sub
  3. Exit Sub
  4. Kill
Question 11 Multiple Choice (Single Answer)

How do you create a Read only Property in VB.NET

  1. Using Only Get..EndGet with in property definition
  2. Using Only Set..EndSet with in property definition
  3. Using both Get and Set
Question 12 Multiple Choice (Single Answer)

The constructors in VB.Net is similar to which event in previous versions of VB

  1. Class_Load
  2. Class_Terminate
  3. Class_Initialize
Question 13 Multiple Choice (Single Answer)

Which interface allows to implement the Dispose method to do cleanup work

  1. Idestructor
  2. Icleanup
  3. Idisposable
Question 14 Multiple Choice (Single Answer)

How do you call non shared methods of a class

  1. Directly invoking the method name
  2. Invoking the method through the instance of that class
  3. None of the above
Question 15 Multiple Choice (Single Answer)

How do we implement private interfaces

  1. Using Inherits Keyword
  2. Private interfaces can not be implemented
  3. Using Implements Keyword