Dear Readers, Welcome to VB.Net Objective Questions have been designed specially to get you acquainted with the nature of questions you may encounter during your Job interview for the subject of VB.Net. These objective type VB.Net questions are very important for campus placement test and job interviews. As per my experience good interviewers hardly plan to ask any particular question during your Job interview and these model questions are asked in the online technical test and interview of many IT companies.
A. Files
B. Identity
C. Security Permissions
D. All of the above
Ans:D
A. True
B. False
Ans:A
A. Data Set
B. Typed Data Set
C. DataReader
Ans:C
A. Role-based security
B. Code-based security
Ans:B
A. Assert( )
B. Flush( )
C. Open( )
Ans:C
A. Step Out
B. Step Over
C. Step Into
D. Run to Cursor
E. Set Next Statement
Ans:C
A. System.Runtime.Interopservices
B. System.XML
C. System. Data
Ans:A
A. Public
B. Protected
C. Friend
Ans:C
A. True
B. False
Ans:A
A. Option Strict On
B. Option Strict=1
C. Options Strict True
D. Option Strict off
Ans:A
A. Yes
B. No
Ans:B
A. A delegate is a strongly type function pointer
B. It is a type-safe function pointer
C. Delegates are used to create associations between events and event handlers in VB.NET
D. All of the above statements are correct for a delegate
Ans:D
A. BitArray
B. Enum
C. Queue
D. Stack
Ans:B
A. GroupBox
B. TabPage
C. Panel
D. All of the above
Ans:D
A. Command
B. Connection
C. DataReader
Ans:A
A. PictureBox
B. LablControl
C. ListBox
D. TabControl control
Ans:A
A. Shared members belong to the type but not to any instance of a type
B. They can be accessed without creating an instance of the type.
C. They can be accessed using the type name
D. They are accessed using instance name
Ans:D
A. Public
B. Private
C. Friend
D. Protected
Ans:A
A. System.NET.DNS
B. System.Diagnostics.Process
C. System.Data.Common
D. None of the Above
Ans:A
A. System.IO
B. System.ComponentModel
C. System.Reflection
D. System.Data
Ans:D
A. CLR
B. Assembly
C. Namespace
D. None of the Above
Ans:B
A. -1
B. 0
C. 2
D. 3
Ans:B
A. Dim statement is used to create a variable that represents a value type
B. Data associated with a value type is allocated on the stack
C. Reference types must be instantiated after declaration
D. Data associated with a reference type is allocated on the stack
Ans:D
A. System.XML
B. System.Assembler
C. System.Reflection
D. System.IO
Ans:C
A. Used to call any procedure
B. Used to call the procedure through Delegate variable
C. Both
D. None
Ans:B
A. True
B. False
Ans:A
A. Trace
B. Debug
C. Listeners
D. None
Ans:C
A. IsDdNull( )
B. IsEmpty( )
C. ISNull( )
Ans:A
A. Public
B. Private
C. Friend
D. Protected
E. Protected Friend
Ans:C
A. By setting the object to Null
B. By setting the object to Nothing
C. With Close keyword
D. None of the above
Ans:B
A. One
B. Two
C. Three
Ans:B
A. True
B. False
Ans: A
A. .config
B. .vb
C. .cs
Ans:B
A. System .Object
B. System .Type
C. System .Data
Ans: A
A. Value Type
B. Reference Type
C. None
Ans:A
A. Specifies that any variable name is declared (with type) before use
B. Specifies whether strings should be compared as binary
C. Specifies that variables should be initialized before use
Ans: A
A. ArrayList
B. Queue
C. DictionaryList
D. Stack
Ans: C
A. Private
B. Protected
C. Friend
D. Global
Ans: A
A. Constructors
B. Interrogative methods
C. Imperative methods
Ans: B
A. Exit
B. Close Sub
C. Exit Sub
D. Kill
Ans: C
A. Using Only Get..EndGet with in property definition
B. Using Only Set..EndSet with in property definition
C. Using both Get and Set
Ans: A
A. Class_Load
B. Class_Terminate
C. Class_Initialize
Ans: C
A. Idestructor
B. Icleanup
C. Idisposable
Ans: B
A. Directly invoking the method name
B. Invoking the method through the instance of that class
C. None of the above
Ans: B
A. Using Inherits Keyword
B. Private interfaces can not be implemented
C. Using Implements Keyword
Ans: B
A. System.Runtime.Interopservices
B. System.XML
C. System. Data
Ans: A
A. Loadxml ( )
B. Load( )
C. Save ( )
Ans: A
A. DataReader
B. Dataset
C. DataAdapter
Ans: B
A. Data Set
B. Typed Data Set
C. DataReader
Ans: C
A. Connection
B. Command
C. DataReader
Ans: B
A. Showdialog( )
B. Activate ( )
C. Loaddialog()
D. Show( )
Ans: A
A. Regsvr32
B. Regasm
C. ILDASM
D. Regedit
Ans: B
A. Add keyword to Method signature
B. Add [WebMethod] on top of the Method Signature
C. Add {WebMethod} on top of the Method Signature
Ans: A
A. Me
B. This
C. Super
Ans: A
A. Parent
B. MyBase
C. Super
Ans: B
A. True
B. False
Ans: A
A. Assert( )
B. Open()
C. Flush( )
Ans: B
A. True
B. False
Ans: A
A. .NET Compact Framework
B. .NET Small Framework
C. .NET Smartclient Framwork
Ans:A
A. Process
B. Application
C. Exe
D. Execute
Ans:A
A. Schedule meetings with end users to see what features they want to add to the app.
B. Open the Visual Basic Upgrade Wizard, get a cup of coffee and watch it run.
C. Assess the VB 6 application; find out what controls it uses, what projects are in there and so on.
D. Cancel all social plans for the next couple months and start rewriting the app in .NET.
ANS:C
A. DHTML pages
B. ADO to ADO via Interop
C. ActiveX documents
D. OLE controls
ANS:B
A. False
B. True
C. Not always
D. Can't say
ANS:A
A. Modular programming
B. Aspect-oriented programming
C. Reflective programming
D. Object-oriented programming
ANS:D
A. Only Toolbar control
B. ImageList and Toolbar control
C. Both 1 and 2
D. All the above
ANS:B
A. No, a toolbar can only display images
B. No, a toolbar can only display text
C. Yes, a toolbar can display text, images, or both.
D. None of these
ANS:C
A. IL Code
B. Native code
C. Byte Code
D. None of these
ANS:A
A. ildasm
B. clr
C. ilasm
D. All the above
ANS:C
A. VB.NET
B. C#
C. Both of them will run equally fast.
D. None of these
ANS:B
A. A field always has Get and Set Methods
B. A property always has Get and Set Methods
C. Both 1 and 2
D. None of the above
ANS:B
A. System.FileObjects
B. System.FileSystem
C. System.IO
D. System.Input/Output
ANS:C
A. AssemblyInfo
B. manifest
C. AssemblyData
D. None of these
ANS:B
A. Applog.Log
B. Application.Log
C. assemblyname.log
D. None of these
ANS:C
A. My.Computer.CurrentFolder
B. My.Application.CurrentFolder
C. My.System.CurrentFolder
D. All the above
ANS:B
A. Using
B. Package
C. Imports
D. None of the above
ANS:C
A. Using NEW keyword
B. Using CREATEOBJECT keyword
C. Using GETOBJECT keyword
D. Both A & B
ANS:A
A. By setting the object to Null
B. With Close keyword
C. By setting the object to Nothing
D. None of the above
ANS:C
A. Create a method and name it with the same name as class name
B. Create a method and which is named as New
C. Create a method and which is named as Initialize
D. None of the above
ANS:B
A. With OPTION STRICT ON keyword
B. With OPTION EXPICIT Keyword
C. With OPTION STRICT OFF keyword
D. All the above
ANS:A
A. Yes
B. No
C. Not always
D. None of these
ANS:A