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

Posted Date:-2022-06-11 14:40:11


Question:
	
JIT stands for

1.Just In Type

2.Just In Time

3.Just In Thread

4.Just In Text

Posted Date:-2022-06-11 14:22:00


Question:
	
Language which is NOT supported by VB.Net

1.ASP

2.COBOL

3.Perl

4.C#

Posted Date:-2022-06-11 14:45:17


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

1.Windows Authentication

2.Web Authentication

3. Passport Authentication

4.Forms Authentication

Posted Date:-2022-06-11 14:32:30


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

1.Namespaces

2.inheritance

3.programs

4.objects

Posted Date:-2022-06-11 15:07:26


Question:
	
What is CLR?

1.Current LanguageRuntime

2.Common Language Runtime

3. Common LanguageRealtime

4.Current LanguageRealtime

Posted Date:-2022-06-11 14:33:38


Question:
	
What is CLS?

1.Current Language Specifics

2.Common Language Specification

3.Common Language Specialization

4.Current Language System

Posted Date:-2022-06-11 14:44:07


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

Posted Date:-2022-06-11 15:28:36


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

Posted Date:-2022-06-11 15:33:40


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

1.#Const

2.#ExternalSourc

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

4.#Region

Posted Date:-2022-06-11 15:23:52


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

1.#Const

2. #ExternalSource

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

4. #Region

Posted Date:-2022-06-11 15:21:47


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

Posted Date:-2022-06-11 15:26:51


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

Posted Date:-2022-06-11 14:51:29


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

Posted Date:-2022-06-11 15:32:30


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

Posted Date:-2022-06-11 15:24:52


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

1.destructor

2.constructor

3.function

4.private method

Posted Date:-2022-06-11 15:04:58


Question:
Assembly is ______grouping of all units

1.Arithmatical

2.Logical

3.Physical

4.Binary

Posted Date:-2022-06-11 14:28:09


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

Posted Date:-2022-06-11 15:01:50


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

1.12

2.23

3.10

4.100

Posted Date:-2022-06-11 14:50:24


Question:
Language which is NOT supported by .Net

1. Java

2.VB

3.Perl

4.COBOL

Posted Date:-2022-06-11 14:48:32


Question:
New keyword is used with the

1.Destructor

2.Constructor

3.Both

4.None

Posted Date:-2022-06-11 14:31:10


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

1.Local

2.Private

3.Public

4.None

Posted Date:-2022-06-11 14:24:48


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

1.System.Int16

2.System.Int32

3.System.Int64

4. None

Posted Date:-2022-06-11 14:58:14


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

Posted Date:-2022-06-11 14:59:12


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

1.COM+

2.DCOM

3.COM

4..Net

Posted Date:-2022-06-11 14:55:58


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

1.Today

2.Now

3.TimeOfDay

4.FromOADate

Posted Date:-2022-06-11 15:00:02


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)

Posted Date:-2022-06-11 15:10:23


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

Posted Date:-2022-06-11 15:12:00


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

1.Forms

2.Control

3.Windows

4.Application

Posted Date:-2022-06-11 15:09:41


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

1.Properties

2.Procedures

3.Variables

4.Functions

Posted Date:-2022-06-11 15:14:02


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

Posted Date:-2022-06-11 15:05:48


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

Posted Date:-2022-06-11 14:49:44


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

1.Type()

2.TypeDef()

3.Btype()

4.Ctype()

Posted Date:-2022-06-11 15:02:56


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

Posted Date:-2022-06-11 15:03:40


Question:
What is CTS?

1.Common Type Server

2.Control Type System

3.Common Type System

4.Control Type Server

Posted Date:-2022-06-11 14:43:06


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

1.BinaryWriter

2.DecimalWriter

3.OctalWriter

4. HexaWriter

Posted Date:-2022-06-11 14:47:43


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

1.Class

2.Object

3.Form

4.Property

Posted Date:-2022-06-11 15:08:16


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

Posted Date:-2022-06-11 15:29:23


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

Posted Date:-2022-06-11 15:19:00


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

Posted Date:-2022-06-11 15:18:06


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

Posted Date:-2022-06-11 15:17:07


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

Posted Date:-2022-06-11 15:25:54


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

Posted Date:-2022-06-11 15:34:33


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)

Posted Date:-2022-06-11 15:15:47


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)

Posted Date:-2022-06-11 15:36:55


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

Posted Date:-2022-06-11 15:31:21


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

1.Boolean

2.Byte

3.Char

4.All of the above

Posted Date:-2022-06-11 15:14:47


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

Posted Date:-2022-06-11 15:30:19


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

Posted Date:-2022-06-11 14:56:55


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

Posted Date:-2022-06-11 15:08:55


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
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website 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!