0
Alien head

VB (Visual Basic) .Net Quiz

Description: VB (Visual Basic) .Net Quiz
Number of Questions: 15
Created by:
Tags: .net vb
Attempted 0/15 Correct 0 Score 0

How many levels of compilation happens in .NET Framework

  1. One

  2. Two

  3. Three


Correct Option: B

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

  1. True

  2. False


Correct Option: A

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

  1. .config

  2. .vb

  3. .cs


Correct Option: B

Every type supported by CTS is derived from

  1. System .Object

  2. System .Type

  3. System .Data


Correct Option: A

Which of the following Types will have data of fixed size

  1. Value Type

  2. Reference Type

  3. None


Correct Option: A

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


Correct Option: A

Which of the following class does not belong to Collection namespace

  1. ArrayList

  2. Queue

  3. DictionaryList

  4. Stack


Correct Option: C

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

  1. Private

  2. Protected

  3. Friend

  4. Global


Correct Option: A

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

  1. Constructors

  2. Interrogative methods

  3. Imperative methods


Correct Option: B

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

  1. Exit

  2. Close Sub

  3. Exit Sub

  4. Kill


Correct Option: C

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


Correct Option: A

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

  1. Class_Load

  2. Class_Terminate

  3. Class_Initialize


Correct Option: C

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

  1. Idestructor

  2. Icleanup

  3. Idisposable


Correct Option: B

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


Correct Option: B

How do we implement private interfaces

  1. Using Inherits Keyword

  2. Private interfaces can not be implemented

  3. Using Implements Keyword


Correct Option: B
+ View questions