VB(Visual Basic) .Net Quiz

VB(Visual Basic) .Net Quiz

13 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Where do you find COMException class

  1. System.Runtime.Interopservices
  2. System.XML
  3. System. Data
Question 2 Multiple Choice (Single Answer)

Which method of the XMLdocument class takes xml as string while loading

  1. Loadxml ( )
  2. Load( )
  3. Save ( )
Question 3 Multiple Choice (Single Answer)

Which is the base class for TypedDataset

  1. DataReader
  2. Dataset
  3. DataAdapter
Question 4 Multiple Choice (Single Answer)

Which is the best to retrieve Read-Only, Forward-only stream of data from database

  1. Data Set
  2. Typed Data Set
  3. DataReader
Question 5 Multiple Choice (Single Answer)

The DataAdapter uses which of the following object to retrieve the data from database

  1. Connection
  2. Command
  3. DataReader
Question 6 Multiple Choice (Single Answer)

Which of the method is used to display the form as modal

  1. Showdialog( )
  2. Activate ( )
  3. Loaddialog()
  4. Show( )
Question 7 Multiple Choice (Single Answer)

The tool provided with .Net framework to register assemblies for use by COM is

  1. Regsvr32
  2. Regasm
  3. ILDASM
  4. Regedit
Question 8 Multiple Choice (Single Answer)

How do you add Web Methods in VB.Net

  1. Add keyword to Method signature
  2. Add [WebMethod] on top of the Method Signature
  3. Add {WebMethod} on top of the Method Signature
Question 9 Multiple Choice (Single Answer)

How do you refer the current class in VB.Net

  1. Me
  2. This
  3. Super
Question 10 Multiple Choice (Single Answer)

How you refer the parent class in VB.Net

  1. Parent
  2. MyBase
  3. Super
Question 11 Multiple Choice (Single Answer)

The serialization of an Object means that it is written out to a stream

  1. True
  2. False
Question 12 Multiple Choice (Single Answer)

Which of the following is not a method of Debug class

  1. Assert( )
  2. Open()
  3. Flush( )
Question 13 Multiple Choice (Single Answer)

Vb.Net classes can be derived in C#

  1. True
  2. False