VB.Net/VB NET MCQ SET 2 Sample Test,Sample questions

Question:
	
IL stands for

1.Internal Language

2.Internet Language

3.Intermediate Language

4.Interpreted Language


Question:
	
JIT stands for

1.Just In Type

2.Just In Time

3.Just In Thread

4.Just In Text


Question:
	
Language which is NOT supported by VB.Net

1.ASP

2.COBOL

3.Perl

4.C#


Question:
	
Out of following,which is NOT a type of Authentication?

1.Windows Authentication

2.Web Authentication

3. Passport Authentication

4.Forms Authentication


Question:
	
The ______________________ group classes according to their common services.

1.Namespaces

2.inheritance

3.programs

4.objects


Question:
	
What is CLR?

1.Current LanguageRuntime

2.Common Language Runtime

3. Common LanguageRealtime

4.Current LanguageRealtime


Question:
	
What is CLS?

1.Current Language Specifics

2.Common Language Specification

3.Common Language Specialization

4.Current Language System


Question:
	
Which of the following accesss modifier specifies that a procedure argument can be omitted when the procedure is called?

1.NotOverridable

2.Optional

3.Out

4. Overloads


Question:
	
Which of the following Collection class of VB.NET represents ordered collection of an object that can be indexed individually?

1.ArrayList

2.Hashtable

3.SortedList

4.Stack


Question:
	
Which of the following directive conditionally compiles selected blocks of Visual Basic code?

1.#Const

2.#ExternalSourc

3.#If...Then...#Else

4.#Region


Question:
	
Which of the following directive defines conditional compiler constants?

1.#Const

2. #ExternalSource

3.#If...Then...#Else

4. #Region


Question:
	
Which of the following is correct about VB.NET?

1.VB.NET has complete support for object-oriented concepts. VB.NET has complete support for object-oriented concepts.

2.Everything in VB.NET is an object, including all of the primitive types (Short, Integer, Long, String, Boolean, etc.) and user-defined types, events, and even assemblies.

3.All objects inherits from the base class Object.

4.All of the above


Question:
	
Which of the following Loop structure does not supported by VB.Net?

1.Do ................ Loop

2.For ................... Next

3.Do ................ While

4.For Each ............ While


Question:
	
Which of the following operator declares the parameters and code that define a function lambda expression?

1.AddressOf b. c. d.

2.Await

3.GetType

4.Function Expression


Question:
	
Which of the following property of Array class in VB.NET checks whether the Array has a fixed size?

1. IsFixedSize

2.IsStatic

3.Length

4. None of the above


Question:
A ___________ performs invisible tasks even if you write no code.

1.destructor

2.constructor

3.function

4.private method


Question:
Assembly is ______grouping of all units

1.Arithmatical

2.Logical

3.Physical

4.Binary


Question:
Every optional argument in the procedure definition must specify a _________ value which must be a constant expression.

1.integer

2.constant

3.default

4.character


Question:
In VB.NET language, Which one is not the integer value?

1.12

2.23

3.10

4.100


Question:
Language which is NOT supported by .Net

1. Java

2.VB

3.Perl

4.COBOL


Question:
New keyword is used with the

1.Destructor

2.Constructor

3.Both

4.None


Question:
Out of following which is NOT type of assembly?

1.Local

2.Private

3.Public

4.None


Question:
The corresponding .Net FCL type for Short is ___________.

1.System.Int16

2.System.Int32

3.System.Int64

4. None


Question:
The member "clear" of the Array class that sets a range of array elements to zero, false or null reference is a _____________ method.

1.Method

2.Class

3.Shared

4.Object


Question:
The _____ model does not offer a model for source code reuse.

1.COM+

2.DCOM

3.COM

4..Net


Question:
The ___________ method converts an OLE automation date value to a DateTime Instance.

1.Today

2.Now

3.TimeOfDay

4.FromOADate


Question:
The ___________is a systematic class framework used for the development of system tools and utilities.

1..Net tools

2. Visual Basic 6

3.Visual Basic 2005

4.Net Framework Class Library (FCL)


Question:
The ______________ method converts the value of this instance to a double representing the OLE automation date.

1.Now

2.Today

3.TO OA Date

4. From OA Date


Question:
The _______________ class provides static methods to start, stop, or filter Windows messages in an application.

1.Forms

2.Control

3.Windows

4.Application


Question:
The _________________ enable us to pass data between a program and a class.

1.Properties

2.Procedures

3.Variables

4.Functions


Question:
The ___________________________________ does not describe inherited member functions, inherited operators, and overridden virtual member functions.

1.Library

2.Objects

3.Classes

4.Class Library Reference


Question:
To declare an integer variable in VB.NET language, which one of the following statements is true?

1.Dim x As Integer

2.x As Integer

3.Dim x As Single

4.None of These


Question:
Type casting in VB.Net is implemented by means of ____________ statement.

1.Type()

2.TypeDef()

3.Btype()

4.Ctype()


Question:
Using a ________ variable does not enable us to create read-only properties that are often required by a class.

1.private

2.public

3.friend

4.protected


Question:
What is CTS?

1.Common Type Server

2.Control Type System

3.Common Type System

4.Control Type Server


Question:
What is used to store decimal data in .NET?

1.BinaryWriter

2.DecimalWriter

3.OctalWriter

4. HexaWriter


Question:
Whenever an application is created, a ______ is added.

1.Class

2.Object

3.Form

4.Property


Question:
Which of the following accesss modifier specifies that a declared programming element redeclares and hides an identically named element, or set of overloaded elements, in a base class?

1.Shadows

2.Shared

3.Static

4.Unicode


Question:
Which of the following accesss modifier specifies that a property can be written but not read?

1.Widening

2.WithEvents

3.WriteOnly

4.ReadOnly


Question:
Which of the following accesss modifier specifies that a property or procedure overrides an identically named property or procedure inherited from a base class?

1.Overrides

2.Overridable

3.ParamArray

4.Partial


Question:
Which of the following accesss modifier specifies that an attribute at the beginning of a source file applies to the current assembly module?

1.Key

2.Module

3.Iterator

4.In


Question:
Which of the following block of VB.NET identifies a block of code for which particular exceptions will be activated?

1.Try

2.Catch

3.Finally

4.Throw


Question:
Which of the following block of VB.NET is used to execute a given set of statements, whether an exception is thrown or not thrown?

1.Try

2.Catch

3.Finally

4.Throw


Question:
Which of the following converts the expression to Object data type in VB.NET?

1.CSng(expression)

2.CShort(expression)

3.CObj(expression)

4.CSByte(expression)


Question:
Which of the following converts the expression to String data type in VB.NET?

1.CStr(expression)

2.CSByte(expression)

3.CShort(expression)

4.CSng(expression)


Question:
Which of the following directive is used for indicating a mapping between specific lines of source code and text external to the source?

1. #Const

2.#ExternalSource

3. #If...Then...#Else

4. #Region


Question:
Which of the following is a basic data type in VB.NET?

1.Boolean

2.Byte

3.Char

4.All of the above


Question:
Which of the following statement declares the name of a class and introduces the definition of the variables, properties, events, and procedures that the class comprises?

1.Dim

2.Const

3.Enum

4.Class


Question:
____ allow custom items of information about a program element to be stored with an assembly's metadata.

1.Properties

2.Attributes

3.Methods

4.Classes


Question:
_____ are interactive objects that you place in dialog boxes or other windows to carry out user actions.

1.Forms

2.Controls

3.Classes

4.Objects


More MCQS

  1. VB.Net Mcq Question Set 1
  2. VB.Net Mcq Question Set 2
  3. VB.Net Mcq Question Set 3
  4. VB.Net Mcq Question Set 4
  5. VB.Net Mcq Question Set 5
  6. VB.Net Mcq Question Set 6
  7. VB.Net Mcq Question Set 7
  8. VB.Net Mcq Question Set 8
  9. VB.Net Mcq Question Set 9
  10. VB.Net Mcq Question Set 10
  11. VB.Net Mcq Question Set 11
  12. VB NET MCQ SET 1
  13. VB NET MCQ SET 2
  14. VB NET MCQ SET 3
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!