0
Alien head

VB (Visual Basic) .Net Quiz

Description: VB (Visual Basic) .Net Quiz
Number of Questions: 15
Created by:
Tags: .net vb

How many levels of compilation happens in .NET Framework

  1. One

  2. Two

  3. Three

Answer: 2

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

  1. True

  2. False

Answer: 1

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

  1. .config

  2. .vb

  3. .cs

Answer: 2

Every type supported by CTS is derived from

  1. System .Object

  2. System .Type

  3. System .Data

Answer: 1

Which of the following Types will have data of fixed size

  1. Value Type

  2. Reference Type

  3. None

Answer: 1

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

Answer: 1

Which of the following class does not belong to Collection namespace

  1. ArrayList

  2. Queue

  3. DictionaryList

  4. Stack

Answer: 3

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

  1. Private

  2. Protected

  3. Friend

  4. Global

Answer: 1

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

  1. Constructors

  2. Interrogative methods

  3. Imperative methods

Answer: 2

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

  1. Exit

  2. Close Sub

  3. Exit Sub

  4. Kill

Answer: 3

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

Answer: 1

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

  1. Class_Load

  2. Class_Terminate

  3. Class_Initialize

Answer: 3

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

  1. Idestructor

  2. Icleanup

  3. Idisposable

Answer: 2

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

Answer: 2

How do we implement private interfaces

  1. Using Inherits Keyword

  2. Private interfaces can not be implemented

  3. Using Implements Keyword

Answer: 2
+ View questions